How to solve error :“ !!! FAILED BINDER TRANSACTION !!! ” in android 4.4

后端 未结 3 820
鱼传尺愫
鱼传尺愫 2020-12-16 10:36

I used custom camera application then i open this app working fine but i open the camera view and take the picture get error Failed binder transaction in android 4.4 version

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 11:22

    I think the problem is from this: returnIntent.putExtra("data", data);. The transaction data is limited in intent. If you need a bitmap or a big file, you must not pass it as an extra instead just pass image path or uri and make the bitmap or file in your activity where you are displaying or using it.

提交回复
热议问题