Quote from previous forum:
| extract work2 & Home2 numbers from a contact in address book
| | Posted: Jun 2, 2008 9:59 AM |
| |
Hi,
Can anyone tell me how to extract work2 & Home2 numbers from a contact in address book.
Thanx in advance
mins
|
| Re: extract work2 & Home2 numbers from a contact in address book
| | Posted: Jun 4, 2008 9:21 AM |
| | 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
|
|
| Re: extract work2 & Home2 numbers from a contact in address book
| | Posted: Jul 13, 2008 2:38 PM |
| | 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?