How to convert a byte stream to a image file and show the converted image to the application user.
The byte stream is return to my application by the client web service.
How to convert a byte stream to a image file and show the converted image to the application user.
The byte stream is return to my application by the client web service.
use this method..
public Bitmap decodeBase64(String input)
{
byte[] decodedByte = Base64.decode(input, 0);
return BitmapFactory.decodeByteArray(decodedByte, 0, decodedByte.length);
}