androidandroid-emulatorcalendarandroid-3.1-honeycomb

Adding calendar application to emulator in Android 3.1 (Honeycomb)


I would like to use Calendar by programming in honeycomb emulator. However, there is no calendar in the emulator. Therefore, I cannot write a program which uses Calendar to add or edit an event. I synchronized a gmail account and the emulator got synchronized with my contacts and e-mail but not my calendar. Also, I tried to add a Calendar.apk which I found somewhere to the emulator but I did not make it. Question is that how can I use Calendar in an emulator in Andorid 3.1?

Thanks in advance.


Solution

  • There is no documented and supported API for working with the Calendar in Android 3.1. Such an API was added in Android 4.0. I expect that most Android devices running Android 3.1 will be upgraded to Android 4.x. Hence, I suggest that you simply use the new supported API with an Android 4.0 emulator.

    For more on the change in status in the Calendar API, please read this blog post.