Android Question [CLOSE] Advance Camera Library How to take a photo with high resolution

TheArkhangel

Member
Licensed User
Longtime User
greetings to all
I'm using the library Advance Camera and would like to know how to indicate that the picture is realize with the maximum resolution of the camera.

Using camera1.Picturesize (1080.1920) always happens an exception error.

Someone can tell me how to select the camera resolution for photo or leave defined the resolution of the available one wants?

Thank you


B4X:
ub btnTakePicture_Click
    camera1.PictureSize(1080,1920)
    Paciente=txtbPaciente.Text
    If Paciente="0" Or Paciente="" Then
        ToastMessageShow("FALTA NUMERO DE PACIENTE", True)
    Else
    Paciente=txtbPaciente.Text
    btnTakePicture.Enabled = False   
    camera1.TakePicture
    End If   
End Sub
 

TheArkhangel

Member
Licensed User
Longtime User
Thanks Eres but when I used de CameraEx.....the preview image on the device are not focused....only when click the button focus+takepicture the focus are ok...I need when I click the panel the Autofocus are on....
 
Upvote 0

Similar Threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…