BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-20-2009, 12:40 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Location: india
Model: 8700
PIN: 12345
Carrier: Airtel
Posts: 62
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down How to set title in the Addreess book

Please Login to Remove!

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");
}
Offline  
Old 08-20-2009, 02:28 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Location: india
Model: 8700
PIN: 12345
Carrier: Airtel
Posts: 62
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Using name prefix i have fixed the issue

Contact.Name_prefix i fixed the issue
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.