Android Question CameraEx, very slow on landscape mode

incendio

Well-Known Member
Licensed User
Longtime User
Hi guys,

I have application that use CameraEx Class. I set orientation for this application to portrait mode, but when taking picture, I want to set the layout for taking picture in landscape mode :
B4X:
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("LayCamera")
    ph.SetScreenOrientation(0)
End Sub

Sub Activity_Resume
    camEx.Initialize(pnlImg, False, Me, "Camera")
End Sub

Camera open significantly slow. If I don't change layout orientation from portrait to landscape, camera open quickly.

Is there a way to speed up the process to open camera?

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