Reputation: 31
Does anyone know how to put the database entries into a gridview in android? Or is there a tutorial out there which explains how to do that.plz help me by giving complete example.
Upvotes: 3
Views: 1451
Reputation: 1199
You need SQLiteOpenHelper for works (create, delete) with DB.
You need ContentProvider for get data from DB and return it to adapter.
You need CursorAdapter or SimpleCursorAdapter for fill cells of GridView.
Upvotes: 1