Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User gracy's Avatar
    Join Date
    Nov 2010
    Posts
    43
    I want to make alarm when an event occur.
    What is the third parameter (600) of that addInt() method?
    Event new_event = null;
    if (el.isSupportedField(Event.ALARM))
    new_event.addInt(Event.ALARM, PIMItem.ATTR_NONE, 600);

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    According to PIMItem documentation (!), addInt "Adds an integer value to a field in the item. The value is appended as the last data value in the field's array, similar to Vector.addElement. PIMList.isSupportedField(int) should be used to verify the field validity for this item prior to invoking this method.", and the field Event.ALARM is described as :
    "Field specifying a relative time for an Alarm for this Event. (...) The alarm is expressed in seconds".
    Also, "For example, if this field has a value of 600, then the alarm first occurs 600 seconds before the date/time value specified by Event.START.", which means that the Event has a Start attribute, and that the alarm is triggered to inform you of the incoming event.

Similar Threads

  1. alarm event capture..
    By raj_s in forum Symbian C++
    Replies: 1
    Last Post: 2008-10-06, 19:37
  2. handle list box event in Carbide .
    By ankushbabrekar in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-04-10, 06:43
  3. Send a key event to Alarm Clock
    By bernie31 in forum Symbian C++
    Replies: 1
    Last Post: 2006-05-23, 10:06
  4. event.alarm
    By rifman59 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-03-08, 21:49
  5. Alarm event
    By bernie31 in forum Symbian C++
    Replies: 2
    Last Post: 2005-10-06, 10:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved