Reputation: 137
Hello everyone, I am using content provider and create a database with multiple tables. I already get , insert , update and delete the values of tables. Now I want to get data from multiple tables in a single query. I wounder how can I do it by content provider and cursor. Kindly help me on this. Thanks
Upvotes: 2
Views: 1148
Reputation: 23344
You can join multiple tables using a ContentProvider.
Look at android-contentprovider-database-query-multiple-tables.
So the source code is also available at GitHub,
Upvotes: 1