How to test Calendar Event on emulator?
Posted
by Pranav
on Stack Overflow
See other posts from Stack Overflow
or by Pranav
Published on 2010-03-23T14:56:46Z
Indexed on
2010/03/24
6:23 UTC
Read the original article
Hit count: 305
Hi everybody,
I am developing an application which requires to add Calendar event. I have written the code for inserting event to the calendar. But whenever i run my application, everytime i get error that "Fail to find provider info for Calendar" and it also throws me NullPointerException error. So, what it means and i found that emulator doesn't provide Calendar application in-built.
I think if the Android Emulator doesn't have Calender API, so, naturally, it will not have any database URI in the emulator whereas the Contact has URI --"content://contacts/people". I also found the URI for Calendar as "content://calendar/calendars" but it doesn't work and it means that it gives me error cause of missing Calendar application.
Can anybody clarify me, with suggestions regarding Calendar Event?
Which is the way to test my application with Calendar Event?
I really need your help. Please needful for the same. Thanks.
Regards,
Pranav
© Stack Overflow or respective owner