And I'd like to fulfill his second one: what you're doing is asking
for trouble.

Sad, but true. One could also argue that releasing a calendar a
supported API was asking for trouble.

As for the nice error message -- you want to change one or the other -
either set allDay to false, or set the all time fields to zero. The
time fields don't make sense if allDay is true, and if you're setting
them to non-zero, you may be losing information you intended to keep.

With nice error checking and messages like this, I really don't
understand why they didn't make the API public to begin with. I can
think of supported APIs that aren't nearly as nice about this sort of
thing!

On Aug 9, 7:38 am, Pent <[email protected]> wrote:
> I'd like to Triple Star both TreKing's comments :)
>
> Pent

-- 
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