The code is for registering a application to android system contacts and synchronizing friends list. Then it can show presence and use the function of this application from system contacts. And most of these codes are copied from android SDK sample project "SampleSyncAdapter"..
Test0012_SynContacts is hosted in the following web site
https://github.com/habzy/Test0012_SynContacts
If you think the Android project Test0012_SynContacts 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 Test0012_SynContacts.
Item | Value |
---|---|
Java File Count | 12 |
Minimum SDK Version | 10 |
Activity Count | 2 |
Required Permissions | android.permission.AUTHENTICATE_ACCOUNTS android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.MANAGE_ACCOUNTS android.permission.READ_CONTACTS android.permission.READ_SYNC_SETTINGS android.permission.READ_SYNC_STATS android.permission.USE_CREDENTIALS android.permission.WRITE_CONTACTS android.permission.WRITE_SECURE_SETTINGS android.permission.WRITE_SETTINGS android.permission.WRITE_SYNC_SETTINGS |
Test0012_SynContacts has the following Java source files.
com.habzy.syncontacts.AuthService.java com.habzy.syncontacts.Constants.java com.habzy.syncontacts.LoginActivity.java com.habzy.syncontacts.WatchActivity.java com.habzy.syncontacts.platform.BatchOperation.java com.habzy.syncontacts.platform.ContactManager.java com.habzy.syncontacts.platform.ContactOperations.java com.habzy.syncontacts.platform.SyncAdapterColumns.java com.habzy.syncontacts.platform.User.java com.habzy.syncontacts.sync.SyncAdapter.java com.habzy.syncontacts.sync.SyncronizedService.java