Using the Google APIs with OAuth 2.0 in Android

橙三吉。 提交于 2019-12-01 12:37:26

问题


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



来源:https://stackoverflow.com/questions/6080862/using-the-google-apis-with-oauth-2-0-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!