Failed Binder Transaction when returning camera image

后端 未结 3 2111
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-06 17:11

I get the Failed binder transaction error in the logcat when returning the image taken with the camera from the camera intent back to the parent intent (as a byte[] using pu

3条回答
  •  时光取名叫无心
    2020-12-06 17:55

    For some reason, Android doesn't like when you try to pass the raw byte[] array or a Bitmap created from it. Some people have had success compressing the resulting Bitmap and passing that via Intent. I would recommend saving the image to a file first and sending it's path via the Intent.

提交回复
热议问题