There is no Calendar in the Emulator

我是研究僧i 提交于 2019-12-10 15:36:07

问题


I am building an application that accesses the Facebook account and gets the events then add them to Android Calendar.

There is no calendar in the emulator.

We tried to setup the Calendar.apk but it did not work.

Any idea?

I want to add events to the calendar through code directly. Is it possible or I have to add them to the online google calendar?

Any API?!?


回答1:


I believe Calendar is a part of Google Apps. And there's no GApps on emulator by default. You can try this solution. They're trying to get Android Market on their emulator, but I believe there's a Calendar and Mail and all other GApps all included in their OS image.




回答2:


I also needed calendar on adnroid emulator. The solution was next:

  1. download Calendar.apk (native android calendar)

  2. install it wia adb (http://developer.android.com/guide/developing/tools/adb.html) with the command

    adb -e install Calendar.apk



来源:https://stackoverflow.com/questions/2927495/there-is-no-calendar-in-the-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!