BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How to set title in the Addreess book (http://www.blackberryforums.com/developer-forum/201543-how-set-title-addreess-book.html)

praveens 08-20-2009 12:40 AM

How to set title in the Addreess book
 
While i am trying set title in new Contact it goes to job title.How to set title please any one know tell me..

my code is below one.Its setting job title instead of title

BlackBerryContactList contactList=null;
try {
contactList=(BlackBerryContactList)PIM.getInstance ().openPIMList(PIM.CONTACT_LIST,PIM.READ_WRITE);

} catch (PIMException e1) {

e1.printStackTrace();
}
if(contactList.isSupportedField(Contact.TITLE)){
contact.addString(Contact.TITLE,PIMItem.STRING,"Sk idives");
}

praveens 08-20-2009 02:28 AM

Using name prefix i have fixed the issue
 
Contact.Name_prefix i fixed the issue


All times are GMT -5. The time now is 12:00 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.