Android Question UltimateWebview2 and FileChooser Problem

kohlenach

Member
Hi,

I have a b4xpages project with a ultimatewebview2 webview and the the orientation portrait.
This works fine. I use the WebChromeClient.ShowDefaultAppChooser.

If I open the camera app and turn the camera into landscape mode,
take the photo and return the app starts again.
Normally this happens when the SupportedOrientations is set to unspecified.

What can I do ?

B4X:
    #SupportedOrientations: portrait

B4X:
    Private Sub UltimateWebView1_ShowFileChooser (FilePathCallback As ValueCallbackUri, Params As FileChooserParams)

    WebChromeClient.ShowDefaultAppChooser(FilePathCallback,Params,True,fp.SharedFolder)

End Sub
 
Top