I want to use a database in my application, that was created in advance and then use a cursor loader to present the data from the db.
First I copy the database from the assets folder according to this tutorial [http://goo.gl/1XS84] and then I want to use CursorLoader with CursorAdapter.
The CursorLoader though needs some query Uri of the database and I don´t know what URI I should specify.
Any help?
Here is an excerpt how you can use your database from assets in a content provider.
Note: I would recommend doing I/O operations in a separate thread.