Failed Binder Transaction when returning camera image

后端 未结 3 2119
佛祖请我去吃肉
佛祖请我去吃肉 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:43

    During a remote procedure call, the arguments and the return value of the call are transferred as Parcel objects stored in the Binder transaction buffer. If the arguments or the return value are too large to fit in the transaction buffer, then the call will fail and TransactionTooLargeException will be thrown.

    refer this link form android developer

提交回复
热议问题