I use Galaxy A30 published in Japan(SCV43).
This device have three cameras, front camera , back normal angle camera, and back wide angle camera with Android 9.0 Pie.
I want to implement camera application with camera2 API on Galaxy A30.
I called CameraManager#getCameraIdList, but back wideangle camera ID was not found.
Only two IDs were returned.
Both of front camera ID(1) and back normal angle camera ID(0) was found.
But I need to access back wide angle camera…
The source code is below.
I call this in MainActivity.
CameraManager manager = (CameraManager) this.getSystemService(CAMERA_SERVICE);
String list = manager.getCameraIdList();
Log.d(TAG, "Camera Count : " + list.length);//Camera Count : 2
Anyone have any ideas to solve this?
I’m sorry for create similar topic.
But this is trouble on specific device.