BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-27-2010, 09:42 AM   #1 (permalink)
New Member
 
Join Date: Oct 2010
Model: 9700
PIN: N/A
Carrier: -
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blank Simulator, with one event(alarm-event), cannot get the event

Please Login to Remove!

Hi @all,

I am developing with eclipse galileo and BB plugin 5.

I have a clean simulator(9700), where I put a new Alarm in calendar application(standard BlackBerry).

Well it is not an normal event with an alarm associated!

It is an alarm-event. I generated it in starting the calendar, pressing the BlackBerry button and click new alarm. I just set the summary line and leave all other things as they are.

The code, I'm using, is the following:

PIM mypim = PIM.getInstance();
EventList events = (EventList) mypim.openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE);

Enumeration matches = events.items();

while (matches.hasMoreElements()) {
.
. // my code
.
}

This code should read all event, as I know.

Well as told above, I have a Calendar database with one entry, which is my alarm.

Running the code above: I never get into the inner point of the while loop.
It is really frustrating.

If I initiate a standard event with alarm, this is working fine, but within an alarm event isn't.

Perhaps the alarms are placed in a different place!?

I should be pleased receiving any help.


cu
michael
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.