Android Question Camera switch wide, ultrawide , maro lens

FrankDev

Active Member
Licensed User
Longtime User
Hello,

the new smartphones have a lot of new lenses built in.
Wide angle, ultra wide angle, macro.

Is it possible to adjust the whole thing to the respective camera / lens ?

Regards Frank
 

FrankDev

Active Member
Licensed User
Longtime User
Hello

what is the syntax of the command ?

B4X:
    Dim id As String = Camera.CameraIDs
    Msgbox("Camera :" & id,"")
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You cannot use the advanced Camera2 API if you are still using the deprecated Msgbox for debugging.

B4A_V5C6BvL8bb.png


B4X:
For Each id As String In cam.Camera.CameraIDs
    Log("id: " & id)
Next
 
Upvote 0
Top