I've tried to search, but I even can't ask the question in short form.
- I have
SQLite
table with id/username/mobile/email. - I've created
ContentProvider
for it. - I've created Account through AccountManager(AccountAuthenticator)
All of it working and I can create contacts using my function Sqlite2Contacts
. I.e. each of SQLite
record I provide to ContactsContract
with my Account name and type. All contacts visible through standard application and when I remove account all contacts also removed.
All working fine, but... I think I've missed something. I suppose that should be some framework for It.
I.e. I bind my ContentProvider to... something using some sort of adapter without manual contacts synchronization.
I need the only answer can I do it or no, not implementation. And if I can... what class/framework/adapter should I use.