×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    11

    Calendar Backup (Memos and anniversary)

    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
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Calendar Backup (Memos and anniversary)

    i don't understand what you are trying to do here. are you coding a calendar java me application?

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    11

    Re: Calendar Backup (Memos and anniversary)

    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
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Calendar Backup (Memos and anniversary)

    can you post the part of the code where you load the mettings and todos?

  5. #5
    Registered User
    Join Date
    Dec 2010
    Posts
    11

    Re: Calendar Backup (Memos and anniversary)

    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
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Calendar Backup (Memos and anniversary)

    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
    Join Date
    Dec 2010
    Posts
    11

    Re: Calendar Backup (Memos and anniversary)

    ya i have done all this stuff .
    this given code works properly for meetings only..
    what about memos and anniversary.?????

  8. #8
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Calendar Backup (Memos and anniversary)

    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
    Join Date
    Dec 2010
    Posts
    11

    Re: Calendar Backup (Memos and anniversary)

    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
    Replies: 2
    Last Post: 2008-05-21, 10:18
  3. Anniversary Sound
    By anoopd in forum Symbian
    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
  •  
×