Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User cooltroops's Avatar
    Join Date
    Dec 2010
    Posts
    11
    Hi
    i wanted to know that how to get calendar memos and anniversary .i m currently trying to make a backup for calendar but i m not able to get this both items in to my eventlist.

    pls help me...
    thank u

  2. #2
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    i don't understand what you are trying to do here. are you coding a calendar java me application?

  3. #3
    Registered User cooltroops's Avatar
    Join Date
    Dec 2010
    Posts
    11
    ya i am coding calendar backup java me application. but when i do so, i m only getting meetings and todo but i m not getting memos and anniversary. that's what i actually meant.

  4. #4
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    can you post the part of the code where you load the mettings and todos?

  5. #5
    Registered User cooltroops's Avatar
    Join Date
    Dec 2010
    Posts
    11
    while(eventEnum.hasMoreElements()== true)
    {
    event = (Event)eventEnum.nextElement();
    PIM.getInstance().toSerialFormat(event,outStream, "UTF-8",str);
    }
    this code is used to retrive meetings.

  6. #6
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    how about how you obtain this eventEnum?
    something like that:
    events = (EventList) PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE);
    events.items()
    ?
    did you listed the available lists? did you tried to open all of these?

  7. #7
    Registered User cooltroops's Avatar
    Join Date
    Dec 2010
    Posts
    11
    ya i have done all this stuff .
    this given code works properly for meetings only..
    what about memos and anniversary.?????

  8. #8
    Nokia Developer Champion njzk2's Avatar
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814
    according to this :
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html
    4.2.2 Event list database
    The calendar has several different types of entries. There is no explicit field for the entry type in the PIM API; instead there must be a separate list for each type of calendar entry. Both Series 40 and S60 devices support several events list databases whose names are localized, representing different categories of events. However, in an abstract way the following lists are returned by listPIMLists:
    • Series 40: {"Meeting", "Call", "Birthday", "Memo", "Reminder"}
    • S60: {"Appointment", "Event", "Anniversary"}
    The order of these lists is preserved when calling listPIMLists, so although the first entry can have a localized name of "Meeting" in a Series 40 device, the logical meaning of the first entry is the same.
    For the supported fields and attributes, see PIM API Implementation notes at http://www.forum.nokia.com/ main/resources/technologies/java/documentation/Java_ME_developers_library.htm.

  9. #9
    Registered User cooltroops's Avatar
    Join Date
    Dec 2010
    Posts
    11
    Thank u for ur help..

Similar Threads

  1. Add Anniversary in calendar
    By Anamika in forum Mobile Java General
    Replies: 9
    Last Post: 2010-12-21, 10:11
  2. Extending Calendar Anniversary Features
    By vinaykk in forum Symbian C++
    Replies: 2
    Last Post: 2008-05-21, 10:18
  3. Anniversary Sound
    By anoopd in forum Symbian C++
    Replies: 7
    Last Post: 2007-05-04, 08:36
  4. Replies: 0
    Last Post: 2006-04-01, 13:28
  5. vCalendar and anniversary
    By richard_slade_1 in forum General Messaging
    Replies: 1
    Last Post: 2003-12-03, 10:52

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