09-28-2004, 07:17 PM
|
#1 (permalink)
|
| Knows Where the Search Button Is
Join Date: Sep 2004
Posts: 24
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Help - PIMListListener for Events Please Login to Remove! Has anyone this problem?
============
"I'm trying to write an application that interacts with User's calendar. I want to get notified when an event is deleted. I have added PIMListListener for EVENT_LIST as given in the example. When an event is deleted, I'm getting notified through itemRemoved() callback. However I am not able to get the UID of the object. Query for UID "((Event)item).getString(Event.UID)" results in ArrayOutOfBoundsException. I could retrieve rest of the fields of the item (Start,End, Alarm etc.) without any problem."
==============
Query for UID "((Contact)item).getString(Contact.UID)" works fine.
Thanks for any suggestions.
fabius |
| Offline
| |