Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7969971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:19:23+00:00 2026-06-04T07:19:23+00:00

I am a novice back end developer. I am developing a REST webservice. My

  • 0

I am a novice back end developer. I am developing a REST webservice. My requirement is to send BLOB content from the server to Mobile Side. My douubt is, is it possible to send BLOB in XML or should I convert it into ByteArray and send it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:19:24+00:00Added an answer on June 4, 2026 at 7:19 am

    First of all.
    Convert your Bitmap into ByteArray and then Convert that byte array to Base64 String format and send that Base64 String format in xml.

    ByteArrayOutputStream baos = new ByteArrayOutputStream();  
    bmp.compress(CompressFormat.PNG, 0 , baos); //bmp is the bitmap object   
    byte[] b = baos.toByteArray(); 
    String encodedImage = Base64.encodeToString(b, Base64.DEFAULT);
    

    Now send encodedImage in your xml…

    Base64 to bitmap conversion

    public static Bitmap convertByteArrayToBitmap(String Base64String) 
    {
        byte[] data = Base64.decode(Base64String, Base64.DEFAULT);
        Bitmap bitmap = BitmapFactory.decodeByteArray(data , 0, data.length);
        return bitmap;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm an encryption novice trying to pass some values back and forth between systems.
I am a novice .Net 2.0 and 3.5 developer. I want to create an
im a novice into developing an application using backend as Python (2.5) and Qt(3)
In a client server app, where client front end is done in silverlight using
I'm a mac novice and trying to get a developer setup to develop php
I'm a novice/beginner programmer having problems getting some simple client/server C code working. My
I'm a Sql Server Service Broker novice and I'm trying to grasp the best
I have a cursor containing several columns from the row it brings back that
I'm implementing TinyMCE for a client so they can edit front-end content via a
When you send a PDT transaction ID back to paypal, you get back a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.