I have made a GUI application in Android, to which I would like to sync with Google Calendar. How could this be done?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Google has well-documented APIs for its services. You can find the Calendar API here:
http://code.google.com/apis/calendar/data/2.0/developers_guide.html
You might want to also take a look at OAuth as the authentication mechanism, since most users don't like giving out their passwords to apps. Here's a summary I wrote about OAuth on Android:
http://nilvec.com/implementing-client-side-oauth-on-android.html
Happy hacking!