Using Intents to Modify Contacts
Intents are very useful when it comes to modifying contact data even though it
does not directly access the Contacts Provider. It starts the contacts application,
which runs the necessary Activity.
You can use an Intent to upgrade or insert a contact. This will allow you to save
time and energy in developing a code and a user interface. It will also let you
avoid errors that have been caused by certain modifications that do not abide by
the rules of the Contacts Providers.
Furthermore, it will allow you to reduce the amount of permissions that you need
to make requests. Your applications will no longer need any permission to
contact the Contacts Provider.
Do'stlaringiz bilan baham: |