View Single Post
Old 08-20-2009, 12:40 AM   #1 (permalink)
praveens
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   Reply With Quote