How to get synced Google contact group programmatically ?

by Goutom » Thu, 19 May 2011 14:55:37 GMT


Sponsored Links
 Hi All

We know android phone can sync google contact group dynamically if we add
account.Now I want to get the file where the groups information  are saved.I
need code to get groups information and need to show in my activity.

Can any one help ?

Cheers
Goutom
WebRep
Overall rating

-- 



Re: How to get synced Google contact group programmatically ?

by Jens » Fri, 20 May 2011 06:32:10 GMT


 I assume you mean :

 http://developer.android.com/reference/android/provider/ContactsContract.Groups.html 
 http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership.html 

Groups & group membership information is in the same ContentProvider
that stores the actual contacts synced with Google.




-- 


Sponsored Links


Other Threads

1. Since Android 2.0 the phone number in the emulator became null - how to set it?

It the earlier versions of Android SDK the emulator had the set phone
number. Visible in the phone settings and accessible to applications
through the TelephonyManager.getLine1Number method. In Android SDK 2.0
it is not set. How to set it?

-- 

2. app widget sizes for WVGA and FWVGA

what are the 4x1 app widget sizes for WVGA and FWVGA in both portrait
and landscape?

-- 

3. what about the Android 3d module file type ".gles"

4. Could developers be liable for charges for using Google APIs?

5. IMPORTANT - display.getOrientation() does not work on all devices

6. Youtube

7. IMPORTANT - display.getOrientation() does not work on all devices