You can just basically revert your code using some other built in methods.
byte[] decodedString = Base64.decode(encodedImage, Base64.DEFAULT);
Bitmap decodedByte = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);
More Related Contents:
- How can I convert an image into a Base64 string?
- Show Image View from file path?
- Fit image into ImageView, keep aspect ratio and then resize ImageView to image dimensions?
- Border for an Image view in Android?
- How to create a circular ImageView in Android? [duplicate]
- Android: Rotate image in imageview by an angle
- Get Bitmap attached to ImageView
- Android Bitmap to Base64 String
- Scale Image to fill ImageView width and keep aspect ratio
- How to Make an ImageView in Circular Shape? [duplicate]
- Android: Generate random color on click?
- Encode and decode bitmap object in base64 string in Android
- how to set image from url for imageView
- Get the touch position inside the imageview in android
- What is the difference between src and background of ImageView
- android: create circular image with picasso
- Having issue on Real Device using vector image in android. SVG-android
- Resizing ImageView to fit to aspect ratio
- Android: OutofMemoryError: bitmap size exceeds VM budget with no reason I can see
- Apache Commons Codec with Android: could not find method
- Full screen background image in an activity
- Android — How to position View off-screen?
- Android how to identify item in listview with checkbox
- android: stretch image in imageview to fit screen
- Android ImageView size not scaling with source image
- Adding text to ImageView in Android
- setColorFilter not working
- Android – ImageView: setImageBitmap VS setImageDrawable
- Android: Drawing a canvas to an ImageView
- android:load svg file from web and show it on image view