Skip to content Skip to sidebar Skip to footer

Android Htc Phone With Two Rear Cameras

I'm trying to select the rear camera in HTC phones but in the API I have only two cameras: CAMERA_FACING_FRONT, CAMERA_FACING_BACK. When I call the open() with CAMERA_FACING_BACK,

Solution 1:

You cannot select the camera directly.

You should open the camera with CAMERA_FACING_BACK and set a picture size (it has 27 possible different sizes!).

Accordingly with picture size you set to the software camera, one of hardware cameras will be the chosen one.

Post a Comment for "Android Htc Phone With Two Rear Cameras"