On 23 February 2011 15:21, KT <[email protected]> wrote:
> [Moderator, please try to shorten your "lag". I am trying to post this
> message since 20th Feb]

You posted it 4 times already.

> I got problems dealing with Calendar Provider. If I try to count  number of
> events at given day, the value I get is incorrect.

Take a look at the Agenda view code of stock Calendar:
http://android.git.kernel.org/?p=platform/packages/apps/Calendar.git;a=blob;f=src/com/android/calendar/AgendaActivity.java;h=f6ee7ca51bcb0783e83805022fe85dd4f3135b9a;hb=HEAD

> Calendar car = Calendar.getInstance();

It looks you are working with your local timezone while I believe
stock calendar keeps all the timestamps in UTC

-- 
Regards,
Marcin

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