First of all, convert it to a Byte array before adding it to the intent, send and decode.
// Convert to a byte array
ByteArrayOutputStream stream = new ByteArrayOutputStream(); bmp.compress(Bitmap.CompressFormat.PNG, 100, stream); byte[] byteArray = stream.toByteArray(); Bundle b = new Bundle(); b.putByteArray("image",byteArray);
get meaning through intention
byte[] byteArray = getArgument().getByteArrayExtra("image"); Bitmap bmp = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length);
source share