×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Location
    Delhi
    Posts
    77

    Accessing SIM contacts using PIM API (JSR 75)

    HI all,

    In my application , using PIM API, I can retrieve my phone contacts. But I am unable access SIM contacts. I am using NOKIA 6630. Is it possible to access sim card contacts?

    Thanx in advance

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Accessing SIM contacts using PIM API (JSR 75)

    hi,

    from java developers library (FN Doc):
    Contact list database
    At least one contacts database is available in Nokia devices, but it is common to have two databases - one for the contact list in the main memory and another for contacts in the SIM card. More databases might be available, depending on the device. These databases can be selected by name with the openPIMList(int pimListType, int mode, String name) method. The names used to identify the database correspond to the localized name used by the device, and it is possible in certain cases that they could even be user defined. Therefore, the name should not be hard coded in the application; instead, it should be obtained with the listPIMLists method. The order of the database names returned by the listPIMLists method is also the preferred order in the device. Commonly, there are two databases that may be used. The first is the "in-memory" database, which is used by default, and the second is the list in the SIM card. The approach to open the default database is to either call openPIMList(int pimListType, int mode) or pick the first entry from listPIMLists and call openPIMList(int pimListType, int mode, String name)
    nokia docs also mentionds explicitely SIM fields for Contact databases. I don't remember if there is possible to distinct between SIM and memory pims,

    have you listed available pims lists?

    regards,
    peter

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Location
    Delhi
    Posts
    77

    Re: Accessing SIM contacts using PIM API (JSR 75)

    Sorry for late response.

    Ya. I tried to list down available Contact lists.
    In Series 40 SDK 3rd Edition, it is Phone & SIM.
    In Series 60 SDK 3rd Edition, it is Contacts

    i.e. It is possible to access SIM contacts in Series 40 devices.

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Re: Accessing SIM contacts using PIM API (JSR 75)

    i have doubts from your querys. so send it code. After i will send correct result

  5. #5
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Accessing SIM contacts using PIM API (JSR 75)

    Accessing the contacts on the SIM card is not possible on S60 phones (6630 is a S60 2nd Edition FP2 phone). Unfortunately.

    Hartti

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 30
    Last Post: 2014-07-15, 05:44
  2. Accessing Contacts without using PIM API
    By kamalinfo2k2@yahoo.com in forum Mobile Java General
    Replies: 2
    Last Post: 2006-08-10, 14:18
  3. Replies: 3
    Last Post: 2006-07-18, 11:09
  4. Accessing SIM contacts
    By micmen in forum Symbian
    Replies: 0
    Last Post: 2004-07-22, 07:49
  5. Accessing contacts in the SIM
    By chili_fi in forum PersonalJava
    Replies: 0
    Last Post: 2003-07-14, 11:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×