I have a app that uses the Camera2 API to get a preview of the camera. I want to choose between the lens of my phone. In my code I am using the following code:
CameraManager manager = (CameraManager) activity.getSystemService(Context.CAMERA_SERVICE);
String[] ids = manager.getCameraIdList();
When I use my galaxy s10 that have 2 front facing cameras (regular and wide) and 3 rear facing cameras I only get 4 ids back from the manager:
0- regular rear
1- regular front
2- wide rear
3- wide front
why I don't get the 3 rear macro camera.
the problems appear in all of my phones that have more then 1 camera facing back
how can I get all of the rear cameras?
tnx ahead


