BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-15-2005, 05:18 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2004
Posts: 24
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Help Home address and Work address

Please Login to Remove!

Hi,

I use BB 7280 device.
For each contact is available Home address and Work address.

I read address by
String[] addr = contact.getStringArray(Contact.ADDR, 0);

If my contact has only Work address addr is Work address
If my contact has only Home address addr is Home address

After I read address by
String[] addr = contact.getStringArray(Contact.ADDR, 0);
How I verify addr is Work or Home address?

Thanks for any suggestion
fabio
Offline  
Old 09-26-2006, 04:11 AM   #2 (permalink)
New Member
 
Join Date: Sep 2006
Model: 3670
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile Ok

Quote:
Originally Posted by fabius
Hi,

I use BB 7280 device.
For each contact is available Home address and Work address.

I read address by
String[] addr = contact.getStringArray(Contact.ADDR, 0);

If my contact has only Work address addr is Work address
If my contact has only Home address addr is Home address

After I read address by
String[] addr = contact.getStringArray(Contact.ADDR, 0);
How I verify addr is Work or Home address?

Thanks for any suggestion
fabio
Wait answer
Offline  
Old 09-26-2006, 05:52 AM   #3 (permalink)
Knows Where the Search Button Is
 
csivaraj's Avatar
 
Join Date: Sep 2006
Model: 7290
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post

hai fabius,


You can find it by the category of contact. refer the PIMItem Interface.
Offline  




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