This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield 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.