Android: Sqlite saving string array?
<p>I need to save string array to the database but it wont let me this is what i have:</p>

<pre><code> public long createEntry(String startTime, String endTime, String[] states) {
         ContentValues initialValues = new ContentValues();
         initialValues.put(START_KEY_TIME , startTime);
         initialValues.put(END_KEY_TIME , endTime);
         initialValues.put(KEY_STATE, states );
             return databaseConnect.insert(DATABASE_TABLE, null, initialValues);
        }
</code></pre>

<p>but if i put string[] states in it says that cotentvalues is not able to take an argument. how do i get around that. I was think i have 7 things in states could i like have 7 sepearte string and store stuff in each and then after put all strings back into an string array or would that be bad practice? </p>
