Go Namhyeon
New Member
I tried this html code in WebView
wwFormWeb.html
but, link tag can not found current path.
B4J code
File Directory struction
How can I load my local css and script files in webview?
wwFormWeb.html
B4X:
<link rel="stylesheet" href="screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="print.css" type="text/css" media="print">
... html codes ...
but, link tag can not found current path.
B4J code
B4X:
wwForm.LoadUrl(File.GetUri(File.DirAssets, "wwFormWeb.html"))
wwForm.Show
File Directory struction
B4X:
- Jar (released)
- Files
- wwFormWeb.html
- screen.css
- print.css
How can I load my local css and script files in webview?