BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-13-2009, 09:38 AM   #1
bugman09
New Member
 
Join Date: May 2009
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 2
Thumbs down PIM Address Book Update Issues

Please Login to Remove!

I'm building an app that updates data in the native address book. I'm testing my app on OS 4.5 and 4.6 and seeing some very strange results. When I have a contact that has all fields filled out in my native address book and I use the APIs to get the number of telephone numbers, for instance, I see duplicates of each value (Contact.countValues(Contact.TEL) = 16 instead of 8). I see this same problem for addresses - two work addresses and two home addresses.

Now, beyond the issue of duplicates, when I go to do an update on a particular index, it updates both, I don't seem to have the ability to update one individually using setString(). This makes updating the address book very messy and prone to error. So, I'm removing what's there, using addString() instead which seems very backwards to me.

I have a similar problem with emails. There are three email fields but I can't update them individually. One setString() call updates all three.

Does anyone have any insight on why this happens and the best way to build this update capability?

Thank you,

Stephen
Offline  
Old 05-13-2009, 09:54 AM   #2
djm2
BlackBerry Master
 
djm2's Avatar
 
Join Date: Jul 2007
Model: 9780
PIN: N/A
Carrier: T-Mobile
Posts: 4,659
Default

Welcome.

My only suggestion is that you might get some better input from the Developers sub-forum.
Offline  
Old 05-13-2009, 09:56 AM   #3
Jadey
BBF War Game Mod
 
Jadey's Avatar
 
Join Date: Oct 2006
Location: Denver CO
Model: Z10
OS: 10010614
PIN: SEEKRIT innit
Carrier: AT&T
Posts: 4,294
Default

Thread moved
__________________
Jadey : Infrastructure Architect, Denver CO
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Mitsubishi Control Board DM00N649.  SM76A127G02 . Ductless unit 47-0910KR (C64) picture

Mitsubishi Control Board DM00N649. SM76A127G02 . Ductless unit 47-0910KR (C64)

$120.00



Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC picture

Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC

$49.00



POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4 picture

POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4

$178.04



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$2911.95



Mahlo K 1313 /w Base Terminal 2263036 SKBI 64/C64 Gepruft PLC K1313 Dual P/I picture

Mahlo K 1313 /w Base Terminal 2263036 SKBI 64/C64 Gepruft PLC K1313 Dual P/I

$650.00







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