Monday, June 21, 2010

Re: [android-developers] Events in Android Calendar

On Mon, Jun 21, 2010 at 1:21 PM, NishantKumar <nishant.cse07@gmail.com> wrote:
> Just like google calendar, Is there any Calendar in Android that
> stores event?  I cannot find it in my emulator.

The Calendar is not part of the Android SDK (though you will see a
couple of permissions for it still floating around from 2+ years ago).
Please use the Google Calendar GData API for manipulating the user's
Calendar data.

> I have come across various links that states Content Provider of
> Callendar as:
> Uri calendars = Uri.parse("content://calendar/calendars");

This is not part of the SDK and will break, such as when it broke with
Android 2.2. It will also break if device manufacturers replace the
Calendar application with one that does not respond to this content
provider Uri. Please use the Google Calendar GData API for
manipulating the Calendar.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment