×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Iran - Tabriz
    Posts
    111

    edit phone contact list

    is it possible edit phone contact list with j2me app ???

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: edit phone contact list

    Hello mahdi68,

    you might want to check out this in Forum Nokia Java Developer's Library:

    Java Developer's Library 3.5 > Developer's Guides > Data handling > PIM event handling > Using the PIM API > PIMList databases > Contact list database

    Regards,
    r2j7
    [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]

  3. #3
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Iran - Tabriz
    Posts
    111

    Re: edit phone contact list

    i use this code to add to phone contact list but it`s not work !!!
    Code:
            pimIns = PIM.getInstance();
            try {
                clist = (ContactList) pimIns.openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
            } catch (PIMException ex) {
                ex.printStackTrace();
            }
            c = clist.createContact();
            c.addString(Contact.TEL, Contact.ATTR_HOME,"04114789331");
            try {
                c.commit();
            } catch (PIMException ex) {
                ex.printStackTrace();
            }
    i fond similar code on oracle site .
    what`s wrong ???
    thanks

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: edit phone contact list

    i use this code to add to phone contact list but it`s not work !!!
    What happened? Did you test this with some phone or SDK emulator?

    You might want to check this code example for reference:CS001183 - Adding a contact to Phonebook in Java ME

    Regards,
    r2j7
    [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]

  5. #5
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Iran - Tabriz
    Posts
    111

    Re: edit phone contact list

    Quote Originally Posted by r2j7 View Post
    What happened? Did you test this with some phone or SDK emulator?

    You might want to check this code example for reference:CS001183 - Adding a contact to Phonebook in Java ME

    Regards,
    r2j7
    how can access to sim contact list ???

Similar Threads

  1. Replies: 4
    Last Post: 2010-01-04, 07:49
  2. How to remove contact from contact list
    By swapnil_mahajan in forum Symbian
    Replies: 2
    Last Post: 2009-08-24, 06:50
  3. PIM - Get mobile phone from contact
    By ronald29 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-12-16, 03:56

Posting Permissions

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