3

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.

2 Answers 2

1

You will need to use a CursorAdapter.

Sign up to request clarification or add additional context in comments.

Comments

1
  1. You need SQLiteOpenHelper for works (create, delete) with DB.

  2. You need ContentProvider for get data from DB and return it to adapter.

  3. You need CursorAdapter or SimpleCursorAdapter for fill cells of GridView.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.