Is there somewhere where we can see when it's scheduled for release?

Several people have told me that they don't like the Calendar widget
since it only displays the next upcoming event. It would be far better
if it could be configured to display the X next upcoming events within
a given horizon. E.g display maximum 5 events, but only if they are
within the next 2 weeks.

I thought it sounded pretty easy to create a widget that did that, but
it's kind of disappointing that it isn't possible right now :(



On 18 Juni, 21:14, Dianne Hackborn <[email protected]> wrote:
> No.  Like I said, this API is not yet public.
>
>
>
>
>
> On Thu, Jun 18, 2009 at 2:04 AM, Kaj Bjurman <[email protected]> wrote:
>
> > Is there a public api for reading the Calendar?
>
> > On 18 Juni, 10:30, Dianne Hackborn <[email protected]> wrote:
> > > This is not a public API, please don't use it.
>
> > > On Thu, Jun 18, 2009 at 1:24 AM, Karima <[email protected]> wrote:
>
> > > > Found :http://caustiq.esoteriq.org/nb/
>
> > > > Uri uri = Uri.parse("content://calendar/events");
> > > > ContentResolver cr = context.getContentResolver();
>
> > > > ContentValues values = new ContentValues();
> > > > values.put("eventTimezone", "EST");
> > > > values.put("calendar_id", 1); // query content://calendar/calendars
> > > > for more
> > > > values.put("title", "Party over thurr");
> > > > values.put("allDay", 0);
> > > > values.put("dtstart", dtstart); // long (start date in ms)
> > > > values.put("dtend", dtend);     // long (end date in ms)
> > > > values.put("description", "Bring computers and alcohol");
> > > > values.put("eventLocation", "ZA WARULDO");
> > > > values.put("transparency", 0);
> > > > values.put("visibility", 0);
> > > > values.put("hasAlarm", 0);
>
> > > > cr.insert(uri, values);
>
> > > > With :
>
> > > >    ...
> > > >    <uses-permission android:name="android.permission.WRITE_CALENDAR" /
>
> > > >    <uses-permission android:name="android.permission.READ_CALENDAR" /
>
> > > > </manifest>
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to