Hello everybody

    In application there is Service running in background, and appl
having private database, When appl runs in back ground with service. I
want to retrieve Cursor for query on appl database.
   For content provider having the solution, i.e. getting cursor for
Service too [
     ContentResolver  cr = getContentResolver();
    Cursor cursor = cr. query(Uri uri, String[] projection, String
selection,
                                              String[] selectionArgs,
String sortOrder) ;
  ]


But, I don't want to keep app DB public(ContentProvider) ,

  IS THERE SOLUTION TO GET CURSOR FOR "SERVICE COMPONENT" FOR PRIVATE
APPL DB?

Thanks
Jagtap

--~--~---------~--~----~------------~-------~--~----~
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