[android-developers] Re: Jelly Bean Edit Calendar Event Intent
On Saturday, 27 October 2012 11:05:48 UTC+1, Mike Summerton wrote:
I have some code in my app which uses an intent to bring up the built in Calendar editor to edit the event. It works fine pre ICS, but on Jelly Bean it only allows me to edit the event's alarms and timezone. The code used is taken straight from the Calendar Provider documentation:long eventID = ...; Uri uri = ContentUris.withAppendedId(Events .CONTENT_URI, eventID); Intent intent = new Intent(Intent.ACTION_EDIT).setData (uri); startActivity(intent);I presume there are fields in the new CalendarContract Calendars and Events classes which control this but I cannot for the
life of me figure out what combination of values should allow me to call the intent to edit all fields (except the id).Can anyone help me out?
Please!!
-- 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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home