converting image to byte in cldc, midp2.0 devices
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.
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