tags:

views:

42

answers:

2

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

+1  A: 

You can use ContentResolver

Vinay
ContentResolver has nothing directly to do with SQLite.
CommonsWare
A: 

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.

CommonsWare
Hi thanks for reply and sample project.
Santhosh