Adding or reading some of the contact fields in sybian using j2me

Posted by learn on Stack Overflow See other posts from Stack Overflow or by learn
Published on 2010-04-23T12:30:15Z Indexed on 2010/04/23 12:33 UTC
Read the original article Hit count: 220

Filed under:
|

I want to add or read the fields of cotact like i am getting the telephone home no

ContactList clist; Contact con; String no;

if(cList.isSupportedAttribute(Contact.TEL, Contact.ATTR_HOME)) {

            con.addString(Contact.TEL, Contact.ATTR_HOME, no);

        }

and mobile no

if(cList.isSupportedAttribute(Contact.TEL, Contact.ATTR_MOBILE)) {

            con.addString(Contact.TEL, Contact.ATTR_MOBILE, mb);
        }

now i want to get the fields internet telephone, push to talk, mobile(home), mobile(business), dtmf, shareview, sip, children, spouse and some more fields

please help me..

Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about j2me