Wednesday, July 20, 2011

[android-developers] Use CursorLoader for SQLiteDatabase?

Hi,

The CursorLoader documentation describes itself as:
"A loader that queries the ContentResolver and returns a Cursor."

Does anyone know if it's possible to use a CursorLoader for an application's SQLiteDatabase?

Do I have to make the database a Content Provider so I can provide a Uri?

If I do, can a Content Provider be private to the application (ie. not accessible to other applications on the device)?

The documentation for ContentProvider says:
"Content providers store and retrieve data and make it accessible to all applications."

Thanks for any help!

Regards,
Julius.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment