×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    40

    Contact entry - needs to add More than one value

    Hi All,

    I need to add/retrieve more than one value for the same field in the contact entry.

    Could anyone help me in this issue?

    I am using Contact model API.




    regds,
    Pratheeja

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Contact entry - needs to add More than one value

    What is Contact model API, are you not using JSR-75 PIM API's.

    If you want to add mutiple phone no's to a contact, you can go ahead and add mutiple contact.addString(Contact.TEL,opt. attrib,"12334") and they will be added if the platform allows it.

    Same can be retrive from Contact.Tel array.

    Other way around can be is to make a VCARD format and insert in PIM database and retrive, this can have mutiple xml tags for the same field.

    thanks,
    ~Amitabh

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    40

    Re: Contact entry - needs to add More than one value

    Quote Originally Posted by im2amit View Post
    What is Contact model API, are you not using JSR-75 PIM API's.

    If you want to add mutiple phone no's to a contact, you can go ahead and add mutiple contact.addString(Contact.TEL,opt. attrib,"12334") and they will be added if the platform allows it.

    Same can be retrive from Contact.Tel array.

    Other way around can be is to make a VCARD format and insert in PIM database and retrive, this can have mutiple xml tags for the same field.

    thanks,
    ~Amitabh

    Sorry.. I have posted in the wrong place.

    Sorry for the trouble.

Similar Threads

  1. Add Photo to Contact using PIM
    By mtawil in forum Mobile Java General
    Replies: 0
    Last Post: 2009-12-30, 15:25
  2. add contact from default phonebook error
    By gopikishan in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2009-05-11, 13:08
  3. How to add menu-item to phone's contact menu
    By shroukkhan in forum Mobile Java General
    Replies: 1
    Last Post: 2009-02-03, 13:11
  4. How Add Contact to the PhoneBook Database?
    By kangtk in forum Symbian
    Replies: 7
    Last Post: 2003-03-30, 07:07
  5. How Add Contact to the PhoneBook Database?
    By kangtk in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-03-28, 16:17

Posting Permissions

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