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. Hide Partitions From My Computer

http://softsami.blogspot.com/2010/09/hide-partitions-from-my-computer.html

-- 

2. Camera Surface not getting destroyed when mobile lock

Hi All,

Im facing an issue with the camera Preview. The things that i have
done are

1) forcing the preview Activity to Portrait in Manifest.xml
2) Rotate the camera Preview by an angle 90 degrees using
Camera.setDisplayOrientation(90).
3) Rotate the captured image by 90 degrees using
params.set("rotation", 90)

If i do this normally, it is working fine. I can able to capture the
image.

But when i lock the screen while showing the preview ,and after unlock
the screen , the surface will not be destroyed before locking the
screen. The camera is released properly in Activity onPause().
Because of not surface destroying the camera should not able to show
the preview in the surface.

I didn't figured out any issue when the activity in "landscape"(In
manifest.xml)  mode..

My requirement is to show the preview in "portrait" mode only..

Is there any issue in my code or is it already present in Android??

Thanks in advance for valuable replies..

Thanks & Regards
Uday Kiran Pichika

-- 

3. Needed help for working with Proximity alerts in android

4. the work flow to contact with google for CTS certification

5. MediaRecorder Output Padded - How to Fix?

6. parallel port driver of linux x86

7. how to release Paid upgrade for Free app?