谷歌日历:如何访问它在Android [英] Google calendar: how to access it on android
问题描述
什么是现在就存取权限Android上的谷歌日历的最佳方法?
What would be the best way to acces the google calendar on android right now?
我发现了以下几种方式:
I found the following ways:
<一个href=\"http://samples.google-api-java-client.google$c$c.com/hg/calendar-v2-atom-android-sample/instructions.html?r=default\"相对=nofollow>谷歌API的Java的客户端 - 这只是一个字母。认证,获得日历列表中工作,但在样本更新日历崩溃。 +没有文件和坏的样本codeS呢。
google-api-java-client - It's only an alpha. Authenticating, getting calendar list works, but updating calendar crashes in sample. +no documentation and bad sample codes anyway.
hackity黑客扭转engeneering 一> - 听起来很糟糕,另外,(propably)不面向未来
hackity hack reverse engeneering - Sounds bad, also, (propably) not futureproof.
谷歌数据API - 据我所知,它不支持/工作在Android
Google data api - As far as I know, it does not support/work on android.
有没有我错过了其它方法吗?是否有任何工作的例子在那里?
Are there any alternatives that I have missed? Are there any working examples out there?
推荐答案
我最近使用的路标了解这一点。它处理的OAuth,你可以用它来签上你的HTTP请求来获得或交的数据到你的日历。我有麻烦谷歌的Java API,因为我觉得它依赖于Java的API,这些API不一定是Android的present与Android合作。
I recently used SignPost for this. It handles OAuth, and you can use it to sign your HTTP requests to get or post data to your calendars. I had trouble getting Google's Java API to work with Android since I think it relies on Java APIs that are not necessarily present in Android.
为使您的要求,您可以参考这个网页:的 HTTP://$c$c.google.com/apis/calendar/data/2.0/developers_guide_protocol.html
To make your requests, you can refer to this page: http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html
这篇关于谷歌日历:如何访问它在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!