I am trying to get the Events of today and later dates from the
Provider using the below code, but not getting the desired result.
It returns some events in the Calendar but doesnt list all the events
Secondly doesnt satisfy the where clause of today and later dated
events. It returns events at random.
Intent intent = getIntent();
Uri mUri = Uri.parse("content://calendar/events");
ContentResolver cr = getContentResolver();
Cursor mEventCursor = managedQuery(mUri, null, "dtStart >=" +
System.currentTimeMillis(), null,"dtStart");
Please let me know if I'm wrong in the above code.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---