This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.