hi..i am using sync adapter in my application with one provider now..can i 
make another provider?can i sync two provider at a time?..plz help me..all 
example is using only one provider for sync operation can i possible to use 
two provider for sync?

On Tuesday, August 26, 2008 12:34:21 AM UTC+5:30, Lonzo1968 wrote:
>
> 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 [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

Reply via email to