Hi,
I am building an app which needs access to the device’s native camera?
Can anyone give me pointers on how to do that please?
Thanks.
Hi,
I am building an app which needs access to the device’s native camera?
Can anyone give me pointers on how to do that please?
Thanks.
Thanks @meat5000
I’ve found the solution but never updated the question.
The camera can be access through the WebCamTexture API. (Not intuitive/right name but it works)
i am trying to run my camera on my phone (android api 24, Cubot Magic).
running this code :
WebCamDevice[] devices = WebCamTexture.devices;
my devices list is empty and has no devices.
i did remember to ask for permission to the camera and the app actually asks me that.
any idea what is happening?