B4J Question [SOLVED] How load a local html file into a WebView

GMan

Well-Known Member
Licensed User
Longtime User
Instead of the URL i want to display a local html file, stored in the /files directory.

Has anyone a suggestion ?
 

Daestrum

Expert
Licensed User
Longtime User
B4X:
 WebView1.LoadUrl(File.GetUri(File.DirAssets,"yourfile.html"))
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top