why no accessing contacts.db by ContactsProvider directly? If any changed , using ContentObserver to receive changes.
On 8月11日, 下午1時13分, Acchao <[email protected]> wrote: > What's the most convenient way to share adatabaseacross > applications? > For example, I want my application's dbadapter to query theandroid's > native contactdatabaseso when a contact on the phone is deleted, > similarly that contact is removed from my application. > > Should i use anattachstatement toattachthe table? Or would the > better/more secure approach be to create a custom contentprovider > query onCreate of my app to verify all contacts in my application > still reside on the Contacts.db ? > > Any help or suggestions would be appreciated. Thanks in advance. > > Best, > Acchao --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

