==================== Problem Description ====================
The picture of the Android side want to pass the form of byte array to backstage, the backstage transforms into image picture, actually want to put the picture of the mobile phone to pass through the form of the byte stream or the string form to backstage, the backstage then transforms the picture to save.
The idea now is to serialize the picture to a byte array on the phone, and back in the background in a serialized way. Is there any better way to do this?
If the phone is serialized by using the Bitmap object serialization, Bitmap is the Android class, the background is deserialized, that is not to use bitmap, that also in the background server embedded Android package, How can I convert the image class to Java standard image processing
==================== Solution 1====================
Use this package httpmine, in fact, is the original Android inside the HTTP encapsulation. You go to the backstage directly and accept the picture is, do not need the Java conversion, because the server has helped you do this thing
Android Bitmap Turn image