充分利用Android中日历和Gmail信息 [英] Getting Information from Calendar and GMail in Android

查看:122
本文介绍了充分利用Android中日历和Gmail信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有远无论是通过在Android网页或Gmail应用程序,或者日历应用访问Gmail中的日历吗?首先,我只是想看看这是可能的。我试图做出实践日历应用程序。

Is there away to access your calendar in Gmail either through the web or the gmail app, or maybe the calendar app on the android? First i'm just trying to find out if this is possible. I'm trying to make a calendar app for practice.

推荐答案

您最好的选择是使用的谷歌API的Java的客户端API 直接从网络服务中提取数据。它可以通过手机上的内容提供商来访问日历,但因为它不是Android SDK的一部分,也不能保证它会在所有设备上运行(或者说,它会在平台的未来版本)。

Your best bet is to use the google-api-java-client API to pull the data directly from the web services. It is possible to access the calendar through the content provider on the phone, but since it's not part of the Android SDK, there's no guarantee that it will work on all devices (or that it will work on future versions of the platform).

这篇关于充分利用Android中日历和Gmail信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆