Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

extract work2 & Home2 numbers from a contact in address book

Quote from previous forum:


Guest
extract work2 & Home2 numbers from a contact in address book
Posted: Jun 2, 2008 9:59 AM
Reply
Hi,

Can anyone tell me how to extract work2 & Home2 numbers from a contact in address book.

Thanx in advance

mins

 


Jennifer Emery

Posts: 1,581
Registered: Jul, 2005

Re: extract work2 & Home2 numbers from a contact in address book
Posted: Jun 4, 2008 9:21 AM
Reply
Obtaining the WORK2 and HOME2 fields is possible in BlackBerry JDE version 4.3. Please see the net.rim.blackberry.api.pdap.BlackBerryContact interface for further details.

Jennifer Emery
BlackBerry Developer Journal
www.blackberrydeveloperjournal.com

 

Guest: Serge
Re: extract work2 & Home2 numbers from a contact in address book
Posted: Jul 13, 2008 2:38 PM
Reply
Hi Jennifer,

Could you please confirm a bug in BlackberryContact.
When you retrieve all the using contact.getString(Contact.TEL, i) where i can be a number from 0 to contact.countValues(Contact.TEL)

It will populate the HOME and WORK values twice and there is no way to access WORK2 or HOME2 even in JDE version 4.3.

Regards,

Serge

I haven't been able to reproduce this behaviour.  What BlackBerry model and handheld software version are you testing with?  This can be found under Options, About on the BlackBerry.

 

Are you seeing the same results when using version 4.5 of the BlackBerry JDE and included simulator?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.