sqlite - Content provider in android -



sqlite - Content provider in android -

this question has reply here:

usage cursorloader without contentprovider 4 answers

my app loads cursor info , display in listview, info around 500 1000 entries

actually, android documentation says, in next scenarios can utilize content providers,

you want offer complex info or files other applications. want allow users re-create complex info app other apps. want provide custom search suggestions using search framework.

you don't need provider utilize sqlite database if utilize exclusively within own application.

but i'm planning show info via loader, thread safe & don't need refresh list if content changed.

loaders not work without content providers, alternative me ?

they work without content providers. i´ve got couchdb embeded in android application , load info using loaders. can whatever want in there. see illustration android docs http://developer.android.com/reference/android/content/asynctaskloader.html

android sqlite

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -