Wide-Angle (0.6x Zoom) Camera Not Accessible Using Camera2 API but Works in Default Camera App

56 views
Skip to first unread message

Manali Patel

unread,
Nov 13, 2025, 12:52:10 AMNov 13
to Android CameraX Discussion Group

When using the Camera2 API, I’m unable to access or switch to the wide-angle (0.6x) camera lens that is available in the phone’s default camera app.

The Camera2 API only lists the main (1.0x) and sometimes front cameras, but not the ultra-wide (0.6x) or telephoto (2x/3x) lenses.
As a result, zooming out to 0.6x is not possible — the preview only supports the main sensor’s digital zoom range.

Charcoal Chen

unread,
Nov 20, 2025, 4:48:41 AM (14 days ago) Nov 20
to Android CameraX Discussion Group, manalip...@gmail.com
Hi,

The phone's default camera app might have their private configuration to zoom to 0.6x. There is no way to access it when we have no ideas about how do they configure it.

Camera2 API has logic camera design that a logic camera might contain multiple physical cameras (wide-angle, telephoto, ...). Basically, apps only need to submit the zoom requests to the logic camera, the OEM HAL implementation should help apps to switch between the wide-angle and telephoto cameras properly.
Maybe you can try to switch to the specific wide-angle camera by OutputConfiguration#setPhysicalCameraId. But, as I know, your app might not be able to zoom between the wide-angle and telephoto cameras smoothly by this approach.

Scott Nien

unread,
Nov 20, 2025, 10:07:07 AM (13 days ago) Nov 20
to Charcoal Chen, Android CameraX Discussion Group, manalip...@gmail.com
Did you also try to query CONTROL_ZOOM_RATIO_RANGE on the back camera [id = "0"] ? 
If it has a lower bound of 0.6 or some value < 1.0f,  then you are able to switch to the ultra wide by setting CONTROL_ZOOM_RATIO to that lower bound value in the repeating and other capture requests. 

--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/b0cf419a-5184-4a08-bc4c-e5cef5287f82n%40android.com.
Reply all
Reply to author
Forward
0 new messages