Hi. I have to know .. How to get data from SQLite which contains some data. How to place it(the data) in the listview.
Thanks
Hi. I have to know .. How to get data from SQLite which contains some data. How to place it(the data) in the listview.
Thanks
Perform a query() or rawQuery() to get a Cursor. Put the Cursor in a CursorAdapter, perhaps a SimpleCursorAdapter. Put the adapter in the ListView via setAdapter(). Here is a sample project that demonstrates this technique.