A sample application that demonstrates how to manually query the system contacts provider using the new ContactsContract API, as well as manually insert contacts into a specific account. This example was part of Android SDK resources, but i'm adding some refactors and making more easy to understand.
Contact-Manager is hosted in the following web site
https://github.com/nRike/Contact-Manager
If you think the Android project Contact-Manager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Contact-Manager.
Item | Value |
---|---|
Java File Count | 4 |
Target SDK Version | 5 |
Minimum SDK Version | 5 |
Activity Count | 2 |
Required Permissions | android.permission.GET_ACCOUNTS android.permission.READ_CONTACTS android.permission.WRITE_CONTACTS |
Contact-Manager has the following Java source files.
com.example.android.contactmanager.AccountAdapter.java com.example.android.contactmanager.ContactAdder.java com.example.android.contactmanager.ContactManager.java com.example.android.contactmanager.ContextApplication.java