2. I can load webpage onto Webview but the pictures don't show:
B4X:
Sub Process_Globals
Dim wbpage As String
End Sub
Sub Globals
Private wv1 As WebView
Private Button1 As Button
End Sub
Sub Button1_Click
wbpage = File.ReadString(File.DirAssets, "mywebpage.htm")
wv1.LoadHTML(wbpage)
End Sub
Sub Globals
Private wv1 As WebView
Private Button1 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("imgyes")
End Sub
Sub Button1_Click
wv1.LoadURL("file:///android_asset/awebpage.htm") ' THIS path works on my Samsung , loads web page w/imgage
End Sub
' File not used (warning #15) if .html and .jpg not added to projects File tab. Can warning be avoided?