Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Dec 2007

    Retrieving the contacts into 6210 Navigator


    Everyone we have developed an application. In which we are retrieving the contacts into our application. But in this[6210 Navigator, 6220classic,N78 ]. Handset it is not retrieving the contacts into our application. The same application worked fine in E66.

    Any link are article which helps to resolve the problem do sent.

    Deepu G

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2005

    Re: Retrieving the contacts into 6210 Navigator

    You must be getting some exception from the PIM API methods. Can you give us more information?

    This usually happens when you are trying to access a vcard field which is not supported in this particular model.


  3. #3
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: Retrieving the contacts into 6210 Navigator

    Are the contacts on SIM card, as there is no SIM card contact access in Java ME on S60 (like I have mentioned in some other answers to you lately)
    Or if you have problems in accessing some fields, see here for supported fields for contact book


  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007

    Re: Retrieving the contacts into 6210 Navigator

    Hello Deepu G,

    for retrieving missing contacts info, you could try using getFields() as follows

    StringBuffer pr;
    Enumeration enum;
    Contact c;
    StringItem si;
    if (enum.hasMoreElements()) {

    c = (Contact) enum.nextElement();

    int[] f = c.getFields();

    for(int i = 0; i < f.length; i++) {

    int fieldIndex = f[i];
    String s = Integer.toString(f[i]);
    String l = c.getPIMList().getFieldLabel(f[i]);

    pr.append(s +" "+ l);

    si = new StringItem("Contacts info etc.", pr.toString());
    Last edited by r2j7; 2008-08-31 at 23:08.
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. Web access in 6210 Navigator
    By deepu28 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-08-29, 16:24
  2. 6210 navigator
    By gleembru in forum General Development Questions
    Replies: 2
    Last Post: 2008-06-19, 17:26
  3. Retrieving Contacts Listing
    By stuj in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-05-13, 15:52
  4. Synchronising Nokia 6210 contacts with Compaq iPAQ?
    By Nokia_Archive in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-05-28, 14:34

Posting Permissions

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