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. Maps behind proxy in 1.5

Hi,

I was not able to access maps behind proxy with SDK 1.0.(inspite of adding
proxy to system database or give command line option of -http -proxy)
Does the problem still persist with SDK1.5 or is there a work around?

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~

2. Emulator - android 1.5

Hi to everybody


Yesterday I got the source code ($ repo init, $repo sync) and I did a
$ make.
Now I would like to "see" what I build.

how can I launch an emulator? how does it work?

Thanks
--~--~---------~--~----~------------~-------~--~----~

3. problem when simulating GPS on SDK1.5

4. Obtaining/calculating process CPU usage.

5. -http-proxy can't work in emulator with 1.5 sdk

6. Samsung i7500 skin now available for Android Emulator!

7. Task activity stack always reset when launched from Home