Can someone help in writing a Custom Content Provider for Multiple tables. I can write for a single table but for multiple table I did not find any good example.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A near duplicate of an existing answer. Compare this question and answer, discussing use of LEFT JOIN inside your ContentProvider.
Note that, all in all, the expected use of ContentProviders is to use single tables for each path in your Content URI. It’s still seen as something out of the norm to use join or index multiple tables in one call. Not to say it’s bad, just that there aren’t many people thinking in those terms.