Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

contacts sync with my own application like skype or whatsapp

Tags:

java

android

sync

Iam making an android application similar to skype what i want to know is how to synchronize android contacts with my application so that the numbers which are registered with my application and are also in my android contacts got a symbol. For example in your contact list you see a skype icon or whatsapp icon with those contacts who are registered with skype or whats app.Anyone can guide me what to do.thanks!

like image 292
Muhammad Tahir Ashraf Avatar asked Jul 24 '12 01:07

Muhammad Tahir Ashraf


People also ask

How do I get all my contacts in one place?

If you're using an Android-based device, you can just tap and hold on a contact to enter selection mode. From there, you can select as many contacts as you want, then press the Delete button to remove them all at once.


1 Answers

Please refer to the android.provider.ContactsContract class. Since it is very broad, I recommend you to first take a look at the SDK description of ContactsContract.RawContact. There you will find description with code snippets for basic operation on Contacts.

Also, take a look at the Android SDK code examples:

Android Sample - ContactOperations

like image 194
Yash Avatar answered Oct 05 '22 23:10

Yash