See details in the docs under <SDK_DIR>/docs/guide/topics/data/data- storage.html and I think you'll find the answer
You should implement SQLiteDatabase.CursorFactory interface, and create an SQLiteDatabase instance by calling the static method SQLiteDatabase.openOrCreateDatabase. Details info of SQLiteDatabase.CursorFactory is in <SDK_DIR>/docs/ reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html On Nov 18, 2:06 pm, naveenballa <[email protected]> wrote: > i have a class like > class Mydata{ > String name; > int data; > Location[] locarray; > > } > > List<Mydata> = new ArrayList<Mydata>( ); > > can anyone tell me how to add the object of Mydata class to Sqlite > Database column > > Thanks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

