Failed to connect to camera service

前端 未结 10 2045
梦毁少年i
梦毁少年i 2020-11-28 10:13

I\'m trying to access the camera on my phone. I\'m writing a simple stub app prior to putting the code in a widget. I\'m not getting very far. The code always throws a runti

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 10:39

    Make sure to call the release() method to release the camera when it is no longer needed, or you will not be able to use the camera. Perhaps as a sanity check, see if your regular camera works. If it says it fails, then your previous attempts at runni

提交回复
热议问题