如何使用,并在模拟器中测试了Android 4.0日历的API? [英] How to use and test the Android 4.0 Calendar API in the emulator?

查看:324
本文介绍了如何使用,并在模拟器中测试了Android 4.0日历的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

做最真实的使用手机来测试谷歌帐户的具体Android功能?例如,我想开发/测试冰淇淋三明治日历API和模拟器,我可以添加一个谷歌的Gmail帐户操作系统,但日历似乎从来没有同步。

Do most use real phones to test Google Account specific Android features? For example, I want to develop/test the Ice Cream Sandwich calendar api and in the emulator I can add a Google Gmail account to the operating system, but the calendars never seem to sync.

下面是一个相关的帖子:

Here's a related post:

<一个href="http://stackoverflow.com/questions/7859005/how-to-read-and-edit-android-calendar-events-using-the-new-android-4-0-ice-cream">How采用全新Android 4.0冰淇淋三明治API来读取和修改Android的日历事件?

我的问题是你怎么测试呢?我想升级我的Nexus S手机和银河10.1平板电脑,但我也希望确保升级将是安全的。这将是很好,如果仿真器可以支持有限的正在同步等。

My question is how do you test it? I'd like to upgrade my nexus s phones and the galaxy 10.1 tablet but I'd also like to make sure the upgrade will be safe. It would be nice if the emulator could support limited sync'ing, etc.

感谢。

推荐答案

一个解决办法是增加你谷歌帐户作为Exchange帐户 - 请参阅<一href="http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636&topic=14299">http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636&topic=14299了解详情。

One work around is to add you Google account as an Exchange account -- see http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636&topic=14299 for info.

基本上,输入您的Gmail地址,但它连接到服务器更改为m.google.com和启用SSL。

Basically, enter your gmail address, but change the server it connects to to m.google.com and enable SSL.

这篇关于如何使用,并在模拟器中测试了Android 4.0日历的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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