This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I'm trying to send PNG image as a byte array from an application working on J2SE to the application on mobile phone(J2ME).
Simply, I'm encoding image(current source is file, but it may be catched camera frame) and i'm sending it to the mobile phone(via bluetooth).
In order to create an image in my j2me application i use a following code.