Android 10 Acces WideAngle Camera not working

夙愿已清 提交于 2020-03-06 09:20:28

问题


I try to acces to my device WideAngle camera on Android 10. My device : Honor 20 lite.

When i do this :

CameraManager cm = (CameraManager) getSystemService(CAMERA_SERVICE); String strings[] = cm.getCameraIdList();

I can get a list of my for camera : 1 front, 3 back.

But Camera.getNumberOfCameras(); return only 2 cameras.

How can I access of my Wideangle camera ?

Thanks in advance :)

来源:https://stackoverflow.com/questions/60409090/android-10-acces-wideangle-camera-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!