Thanx for your answer of course i know how i can query for data and do the standart operations. i read the whole article on how to access ContentProviders in the Docs. But as i mentioned, i would like to call the instance of MY ContentProvider as i want to call methods that are included in MY ContentProvider and not in the Interface. I simply want to have an instance of the class, which i wrote. is that possible? how is it meant to work?
On 30 Mai, 16:10, Mark Murphy <[EMAIL PROTECTED]> wrote: > simon wrote: > > The Problem is, that i can't get my SelfWrittenContentProvider out of the > > Context. > > Use managedQuery() in your Activity or other Context to retrieve data, e.g.: > > toursCursor=managedQuery(getIntent().getData(), PROJECTION, null, null, > null); > > Use insert(), update(), delete(), and kin on ContentResolver (from > getContentResolver()) for data manipulation, e.g.: > > Uri url=getContentResolver().insert(Provider.Tours.CONTENT_URI, values); > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android Training on the Ranch in September!http://www.bignerdranch.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

