如何在模拟器中使用和测试Android 4.0 Calendar API? [英] How to use and test the Android 4.0 Calendar API in the emulator?

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

问题描述

大多数人使用真机来测试 Google 帐户特定的 Android 功能吗?例如,我想开发/测试 Ice Cream Sandwich 日历 api,在模拟器中我可以将 Google 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.

这是一个相关的帖子:

如何使用新的 Android 4.0 Ice Cream Sandwich API 读取和编辑 Android 日历事件?

我的问题是你如何测试它?我想升级我的 nexus 手机和 Galaxy 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.

谢谢.

推荐答案

一种解决方法是将您的 Google 帐户添加为 Exchange 帐户——请参阅 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 Calendar API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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