> Since the ContentProvider interface has a > single insert, update, query, delete methods, and as far as I can see, > you can only include one ContentProvider in your application.
ContentProviders are managed by their MIME type/URI patterns. An application should be able to have several providers, or a single provider that handles several sorts of data. If you want a single ContentProvider to handle multiple URI patterns, use a UriMatcher: http://code.google.com/android/reference/android/content/UriMatcher.html -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.1 Published! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---