Android Question webview image not loading

ronell

Well-Known Member
Licensed User
Longtime User
when i load a webpage in webview , the image in that page is not appearing , is it a webview problem or in my webpage?

i already add webchromeclient because my webpage displays alertbox, is there something i am missing to load images?

B4X:
     webview.Initialize("webview")
        Activity.AddView(webview, 0, 0, 100%x, 100%y)
        webview.JavaScriptEnabled=True
        webview.ZoomEnabled = False
      
        webviewextras1.Initialize(webview)
      
  
          
    Dim WebChromeClient1 As DefaultWebChromeClient
    WebChromeClient1.Initialize("")
    webviewextras1.SetWebChromeClient(WebChromeClient1)
  
    Dim WebViewClient1 As DefaultWebViewClient
    WebViewClient1.Initialize("WebViewClient1")

    webviewextras1.SetWebViewClient(WebViewClient1)
      
      
        webviewextras1.LoadUrl("Url")
 

ronell

Well-Known Member
Licensed User
Longtime User
it works now! im getting the image in the wrong path, there is no problem in webview sorry for the trouble
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…