Android Bitmap Turn image

Source: Internet
Author: User
Tags object serialization

==================== 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.