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
Highlighted
New Developer
Posts: 3
Registered: ‎09-04-2008
My Device: Not Specified

importContact problem

[ Edited ]

Hi,

 

I'm testing the export and import Contact in the Development Guide.

It works great for most part, however, I have 2 problems:

 

- 1st: missing fields such as: categories and birthday. I thought vCard is supporting these fields so why importing a contact would not import these fields ?

 

- 2nd: Null Pointer Exception. For testing purposes, I created a Contact with only First name and User1 + User2 fields. Exporting is fine but when importing the contact back, it throws me the NullPointerException. Removing the User1 + User2 fields then the exception is gone.


I'm testing on the Curve 8310, OS 4.5, also on the 8320 Simulator, OS 4.5.

 

Thank.

Message Edited by tdao on 05-18-2009 12:43 AM