BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-20-2009, 01: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, 03: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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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