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 get null because you supply invalid bitmap data.
null
See documentation of BitmapFactory.decodeByteArray().