I am receiving a Base64 blob response from my web service. I want to create one image and set it to Imageview in my activity. Here's the code snippet. Apologies for pasting response.
bs64img - Base64 string response code -
byte[] imageBytes=Base64.decode(bs64img, Base64.DEFAULT);
InputStream is = new ByteArrayInputStream(imageBytes);
Bitmap image=BitmapFactory.decodeStream(is);
ImageView i=(ImageView)findViewById(R.id.imageView1);
i.setImageBitmap(image);
Please help me on this.