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
You're trying to parse a String as a bitmap. BitmapFactory.decodeByteArray() will fail unless there is a valid bitmap in the byte array. In this case there isn't, so it returns null.
BitmapFactory.decodeByteArray()