phonegap android app crashing due to low memory on opening camera

后端 未结 2 662
[愿得一人]
[愿得一人] 2021-01-22 09:46

I am developing an android phonegap app using phonegap v1.3.0
My app has a button which when clicks launches the camera using the phonegap api, when returns the photo path

相关标签:
2条回答
  • 2021-01-22 10:40

    Try to reduce image size with targetWidth and targetHeight. Use DestinationType FILE_URI.

    0 讨论(0)
  • 2021-01-22 10:41

    Reducing the quality parameter from 50 to 30 stopped the camera API from crashing the app on my HTC Evo.

    0 讨论(0)
提交回复
热议问题