Skip to main content

converting image to byte[] in cldc, midp2.0 devices

No replies
scientist_rahul
Offline
Joined: 2007-07-14
Points: 0

Hello Friends,

I need to convert a image to byte[] for sending an image to server. can anyone suggest me any solution. I am developing on MOTOROKR E 6 handset.

i have already searched whole net & even methods on this thread didn't help me.

http://forum.java.sun.com/thread.jspa?threadID=617676&tstart=120

The fuzz is that the mobile is running Linux OS & emulator started giving Null Pointer Exceptions when i tried to implement a few methods( i don't know why)

Also when i passed a static byte[] of captured image to connection thread it again yelled Null Pointer Exception.

I am sick of this mobile pulling my hairs since last 4 days. so plz help me

thanks a lot

Rahul