Hi
Need help @Erel to solve mixed content when using webview library, i'm already use webviewextra and webviewsetting but didnt found solution to enable mixed content. Please some help.
Hi @Erel , please some advise please.
Cause at native have this
webView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE);
for webview component, how i able to set it ?
It is a mistake to limit your questions to a single member.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
Dim jo As JavaObject
jo.InitializeContext
Dim p As Phone
If p.SdkVersion >= 21 Then
jo.RunMethod("setWebViewContentMode", Array(WebView1))
End If
End Sub
#if JAVA
import android.webkit.*;
public static void setWebViewContentMode(WebView wv) {
wv.getSettings().setMixedContentMode(2);
}
#End If