It\'s the simple code and instead of getting result to set the Bitmap, I get null. Can anyone tell me where I am making a mistake?
String test = \"test\"; by
In such case you need to convert the string to Base64 first.
String strImage = geTImageAsHexString(); byte[] x = Base64.decode(strImage, Base64.DEFAULT); //convert from base64 to byte array Bitmap bmp = BitmapFactory.decodeByteArray(x,0,x.length);