BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-27-2010, 08: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

OEM RIBBON for IBM 463 BLACK # 1 299 463
$5.0
OEM RIBBON for IBM 463  BLACK # 1 299 463 pictureNew OEM Genuine IBM 75P6877 Laser Infoprint 1585 Toner Cartridge
$85.0
New OEM Genuine IBM 75P6877 Laser Infoprint 1585 Toner Cartridge pictureNEW IBM SELECTRIC III TYPEWRITER PART, RED MARGIN POINTER OEM NOS
$4.99
NEW IBM SELECTRIC III TYPEWRITER PART, RED MARGIN POINTER OEM NOS  picture(30) IBM 87F5078 IR G2123HEX RARE IC INTERNATIONAL RECTIFIER NEW SALE OEM $59
$59.0
(30) IBM 87F5078 IR G2123HEX RARE IC  INTERNATIONAL RECTIFIER  NEW SALE OEM  $59 pictureGENUINE OEM IBM EASYSTRIKE LIFT OFF TAPE CASSETTES #1337765 LOT of 7 d18
$39.99
GENUINE OEM IBM  EASYSTRIKE  LIFT OFF TAPE CASSETTES #1337765 LOT of 7 d18 picture






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