BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-17-2010, 01:35 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 9500
PIN: N/A
Carrier: NA
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how can the category of a contct be retrieved.

Please Login to Remove!

Hi All,

While retrieving the contacts I am stuck at a place where I need to retrieve the category(Business/Personal) of the contact which is saved in the phone contacts.

I am able to retrieve the name, phone number emails etc. but not able to retrieve the category.

Is there anyway to do this.

Thanks in advance!
Offline  
Old 03-18-2010, 05:57 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

try this link.
Blackberry - How to get Category of BlackBerryContact?
__________________
blog.vimviv.com
Offline  
Old 03-19-2010, 12:48 AM   #3 (permalink)
New Member
 
Join Date: Feb 2010
Model: 9500
PIN: N/A
Carrier: NA
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks!

I am able to do it by using getCategories() method of Contact class.
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.