There's a android.database.CursorJoiner class to join 2 cursors On Fri, Oct 24, 2008 at 5:44 PM, zero <[EMAIL PROTECTED]> wrote:
> > it depends on what you're up to. > if you just want to join accross tables, > in a contentprovider, you can do that > with the querybuilder object. > also, from the "outside", afaik it's > possible to use sql syntax in the > selectstring. > if you want to join data *across* > different contentproviders, > (meaning across different databases), > thats going to be hard. > easiest way i found to do that is > creating another provider which > effectively doubles the data and syncing > that every time the app starts. > > On Oct 24, 9:05 am, Anm <[EMAIL PROTECTED]> wrote: > > I'm struggling to understand how to do a join, if its possible, with > > the decomposed SQL arguments of the ContentProvider APIs. Is there an > > example out there? > > > > Or if not, could some code up a quick example, say joining People with > > GroupMembership? > > > --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

