I recently found a very interesting service from Google which provides to access to Google APIs for various Google Services like Buzz, Places, Latitude etc. I could set up a project there and create API access for web applications (via OAuth2.0) and native applications. I wanted to use the native API for my Android app. It API gives me Client ID, Client Secret and redirect URL. How do I use these in my Android Application, say to access Buzz? Any sample apps, snippets available?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try this page: Google APIs Client Library for Java
You can see a lot of samples here: http://code.google.com/p/google-api-java-client/source/browse/?repo=samples