Does anyone have an example of creating a custom ContentProvider that
accesses multiple tables? 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.

What if I have 2 tables Employee and Department for example.. do I
handle the different inserts, etc.. with a Case statement in the
method and a URI? Seems to me this lend itself to some code that could
get unruley.

Thanks,

LA

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

Reply via email to