update: looking at \"vnd.android.cursor.dir/vnd.google.note\"
and \"vnd.android.cursor.item/vnd.google.note\"
it seemed to me as thoug
Excuse me, but I don't understand your question.
ContentProvider is designed (a one of it's aims)to wrap access to your tabels. Design of database schema is up to you.
Generally, you need to:
Update
For JOIN operations SQLiteQueryBuilder
is usually used. In setTables()
you need to write names of tables with JOIN clause, e.g.
.setTables(NoteColumns.TABLENAME +
" LEFT OUTER JOIN " + TopicColumns.TABLENAME + " ON " +
NoteColumns.ID + " = " + TopicColumns.ID);