• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android 10 Acces WideAngle Camera

  • Thread starter Thread starter Gerem
  • Start date Start date
G

Gerem

Guest
Hello,

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 :)
 
Just to notice, I have a friend that test my app with an Samsung Galaxy S10.
And he can access to the wide angle.

So the question is : manufacturer can prevent the acces to the wide angle?

I guess with Android 10, every manufacturer have the obligation to authorize developer to access all cameras of the device.

Thanks for your light :)
 
Back
Top Bottom