I want to decode an image from webservice which is in base64 to the bitmap and use it in my android app. This is my method:
byte[] decodeString = Base64.decode(imgname,Base64.DEFAULT); Bitmap decoded = BitmapFactory.decodeByteArray(decodeString, 0, decodeString.length); imageView.setImageBitmap(decoded); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/ce5fe8e0-8b9b-4969-8d1c-bc7e0e8dd36c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

