安卓模拟器上的谷歌日历

3

我正在使用最新版本的Android Studio 2.0和模拟器。然而,我仍然无法使用模拟器测试日历事件调度(例如:content://com.android.calendar/... 或 content://calendar/... 对于较旧的SDK)。

目前,我最好的选择是将一些测试从物理设备移至开发工作站吗?


尝试使用Genymotion软件来测试Google日历。 - Jigar
@DarjiJigar: https://www.genymotion.com/pricing-and-licensing/ :( - Maroloccio
尝试使用Bluestack和Duos软件。 - Jigar
http://getintopc.com/softwares/emulators/genymotion-android-emulator-free-download/ - Jigar
同样的问题。模拟器2.0无法加载我的联系人和日历。Genymotion可以正常工作。 - deviant
3个回答

0

从模拟器中安装CalDAV适配器的APK,并针对任何CalDAV服务器(包括谷歌)进行设置。


0

使用Outlook帐户添加电子邮件.. 它是Exchange帐户.. 这意味着会有日历同步.. 并且日历将与您一起工作。


-1

要在模拟器中测试与日历相关的代码,您首先需要有一个日历。尝试与自己的Google日历同步。

查看http://www.grokkingandroid.com/using-a-google-account-in-the-emulator/

【已编辑】此方法仅适用于付费的Google应用用户。解决方法是使用第三方帐户(例如samuelhaddad.com/2015/06/16/add-a-calendar-on-android-emulator)。

最好的解决方案是直接向日历添加数据进行测试。


我没有看到内置的日历应用程序使用Google日历集成... 你有吗?你能让它工作吗? - Maroloccio
实际上,它仅适用于付费的Google Apps用户。解决方法是使用第三方帐户(例如http://samuelhaddad.com/2015/06/16/add-a-calendar-on-android-emulator/) - Maxim G

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接