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. the Trackball and MotionEvents

I notice that TrackballEvents are different that MotionEvents, and it
makes me wonder what happens on a device that does not support a touch
screen.

Suppose I have an Etch-a-Sketch application, that allows me to do
crude drawings on my screen.  With the G1 phone, I just watch for
MotionEvents and draw them.

Can anyone confirm (or deny) that, on a device that doesn't have a
touch screen, my application will not work?  Or, possibly, might
trackball events appear as MotionEvents, on such a device.

-blake
--~--~---------~--~----~------------~-------~--~----~

2. How to make Ethernet work on EeePC

I can run the live-USB image on my EeePC, but the Ethernet seem not
work. Is there anyone has make it work?

Thanks
Wing
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. how to bind objects to their xml graphic

4. Display problem.

5. Capture clicks on map

6. Accessing email

7. Multiple alarms - Intent aims at the same service but different values - Not possible?