Android Question webview.loadurl using with on phone directory

Tayfur

Well-Known Member
Licensed User
Longtime User
WebView1.LoadURL("file:///android_asset/a.htm")

this code dont work debug mode. But, it is work percet Release mode.
Therefore, I can not work with debug mode. Why not work?



WebView1.LoadURL(File.Combine(File.DirAssets,"a.htm"))
it is not working!!!

Other Question; same problem :

WebView1.LoadHtml("<html><body><img src='file:///android_asset/a.gif'/></body></html>")
 
Top