mardi 26 avril 2016

Need a URI to be used in CursorLoader with SQLite database

The constructor for a CursorLoader needs a URI but I don't know how to use it. From what I read I need a ContentProvider. But all I want to do is access my SQLite database. Can someone show me how to build a URI with a ContentProvider for this purpose? The documentation seems very complicated and show examples not related to a sqlite database.

Aucun commentaire:

Enregistrer un commentaire