How about:

Take the source for AsyncQueryHandler

http://developer.android.com/reference/android/content/AsyncQueryHandler.html

... and make modifications to work directly with a SQLiteDatabase object?

You could also look at AsyncTaskLoader, specifically, this example which doesn't use a ContentProvider, and adapt it to using a database:

http://developer.android.com/reference/android/content/AsyncTaskLoader.html

-- Kostya

01.08.2011 13:13, Julius Spencer пишет:
Hi,

I can't figure out how to use this if I am using a SQLiteDatabase which isn't 
set up as a ContentProvider.  From what I remember there won't be source for 
Honeycomb released anytime soon so I'm not sure how I could use the Loader 
framework to make it work.

Regards,
Julius.

--
Kostya Vasilyev

--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to