×
Namespaces

Variants
Actions

Talk:Exporting phonebook contact in vCard format in Java ME

From Nokia Developer Wiki
Jump to: navigation, search

i've tried to retype this code's snippet. i found no error, but when i run this code and tried to select the "export first contact" option, nothing happened and the application was still running. then, i checked the output box and i found this statements: TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class java.lang.NullPointerException: 0

       at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46
       at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74
       at com.sun.midp.chameleon.layers.SoftButtonLayer.soft2(), bci=173
       at com.sun.midp.chameleon.layers.SoftButtonLayer.softPress(), bci=36
       at com.sun.midp.chameleon.layers.SoftButtonLayer.pointerInput(), bci=142
       at com.sun.midp.chameleon.CWindow.pointerInput(), bci=76
       at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handlePointerEvent(), bci=19
       at com.sun.midp.lcdui.DisplayEventListener.process(), bci=296
       at com.sun.midp.events.EventQueue.run(), bci=179
       at java.lang.Thread.run(Thread.java:619)

javacall_lifecycle_state_changed() lifecycle: event is JAVACALL_LIFECYCLE_MIDLET_SHUTDOWNstatus is JAVACALL_OK

i even tried to install on my cellphone, but the same thing happen. so, what should i do??

Jamalpp786 - Export all contacts

How modify this code to export all the contacts into a single .vcf file?

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×