BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 01-17-2009, 01:07 AM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 8300
PIN: N/A
Carrier: CMCC
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Error when importing vcard stream

Please Login to Remove!

If the encoding and charset type were specified in the vcard string, while import a vcard by method fromSerialFormat, there would be a NULLPONITER exception thrown,

another wierd thing , when the charset for the X- fields were specified, the information imported couldn't be find in Address Book, after the import completed.

i 'm not sure whether any of you guys has ecounterd this kind of issues or not,
any advise, if i want to specify the encoding and charset type for these fields?
Offline  
Old 01-17-2009, 01:09 AM   #2 (permalink)
New Member
 
Join Date: Jan 2009
Model: 8300
PIN: N/A
Carrier: CMCC
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i.e.
if the formatted string likes this
EMAIL;TYPE=INTERNET:asd@adsf.com
this would be no errors while import the vcard,
but however if like:
EMAIL;TYPE=INTERNET;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:asd@adsf.com

nullpointer exception would araise.
Offline  
Old 02-04-2009, 05:15 PM   #3 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8700
PIN: N/A
Carrier: Rogers
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a guess - try "CHARSET=UTF8" instead of "UTF-8"...
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

Portwell Single Board Computer B9300324AB18820820 A11 Dual Intel Xeon 2.8GHz SBC
$379.0
Portwell Single Board Computer B9300324AB18820820 A11 Dual Intel Xeon 2.8GHz SBC picture LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$975.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureHUBBELL KILLARK NVSMR Nvsmr Red Lens For Xeon Lamp G3216510
$54.72
HUBBELL KILLARK NVSMR Nvsmr Red Lens For Xeon Lamp G3216510 pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$26.99
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureDell 24TB SERVER PowerEdge model R720xd, 2 x Intel Xeon chips, accessories
$2600.0
Dell 24TB SERVER PowerEdge model R720xd, 2 x Intel Xeon chips, accessories picture






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