Hello, Android usually automatically sync a user's Google Contacts with the phone address book (though this is a user setting). There's already an API to get access to those contacts: http://developer.android.com/resources/articles/contacts.html
If you want to access the Contacts API using Android, I would suggest to follow the Google Docs examples<http://code.google.com/p/google-api-java-client/source/browse/docs-cmdline-sample/src/main/java/com/google/api/services/samples/docs/cmdline/DocsSample.java?repo=samples>available on the google-api-java-client project. Best, Alain On Tue, Nov 15, 2011 at 9:32 PM, Chinni Krishna Reddy <[email protected]>wrote: > Hi, > > I'm planning to develop an Android Application which should be able to > access a Google Contacts of a user. I've read that current "Contacts Data > API" does not fully support Android Platform. I gave a try - downloaded > both "Google Data API" and "Google API Java Client" libraries and added > then to my Android Project's Build Path in Eclipse. But I got many 'Class > Not Found' errors at runtime, when tried on AVD with Android SDK. > > Is there a way I can accomplish this? > My requirement is to distribute an app to a bunch of friends which can > access the Google Contacts of one dummy user I would setup. The dummy > user's contacts would contain all the contact info which I will update > periodically so that users get a fresh contact info when they query through > the app. Idea is to maintain a centrally updated contacts list. > > Thanks > Chinni Krishna > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh | Developer Programs Engineer -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
