manage to contacts address book

I create application, wchih have to adding, deleting and editing contacts to address book. Everything is fine, but problem is, when application is unistalled. I cannot keep contacts in address book. I have to deleted all contacts wchih was added by my application. Is the any way to do this?

I know that is no way to decect when application is unistalling. Thx

The contents of the Contacts database is under the control of the user, as is removal of the application. There is currently no way to do what you're looking for.

Thank You for information. It's not good for me...

Are you in a position where you could store the contacts on a server? If so you could consider having a server which provides a CardDav account which the user could then have the contacts in their Contacts, but you can control the contents server side. That's certainly a non-trivial undertaking but could potentially be one approach if this is a strong enough requirement.

"Are you in a position where you could store the contacts on a server? " - Yes, can You explain how exactly it works? Synchronize witch serwer cause acces to contact when app exist? What when user turn off acces to AddressBook?

manage to contacts address book
 
 
Q