xref: /aosp_15_r20/development/samples/ContactManager/_index.html (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker<p>A sample application that demonstrates how to manually query the system contacts provider using
2*90c8c64dSAndroid Build Coastguard Workerthe new <code><a
3*90c8c64dSAndroid Build Coastguard Workerhref="../../../reference/android/provider/ContactsContract.html">ContactsContract</a></code> API, as
4*90c8c64dSAndroid Build Coastguard Workerwell as manually insert contacts into a specific account.</p>
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>In most cases, you will want to ask the existing Contacts activity to handle these tasks for you,
7*90c8c64dSAndroid Build Coastguard Workerresulting in a more consistent user experience.</p>
8*90c8c64dSAndroid Build Coastguard Worker
9*90c8c64dSAndroid Build Coastguard Worker<img alt="Screenshot 1" src="../images/ContactManager1.png" />
10*90c8c64dSAndroid Build Coastguard Worker<img alt="Screenshot 2" src="../images/ContactManager2.png" />