I initelsnc New Member Licensed User Longtime User Apr 24, 2013 #1 Can you help me. I created an application that should display with webview a offline html page which is located in the root of my tablet The codiìe is: WebView1.LoadHtml(File.DirRootExternal & "/html/index.htm") were File.DirRootExternal is "/mnt/sdcard". Thanks Michele Sorry for bad english.
Can you help me. I created an application that should display with webview a offline html page which is located in the root of my tablet The codiìe is: WebView1.LoadHtml(File.DirRootExternal & "/html/index.htm") were File.DirRootExternal is "/mnt/sdcard". Thanks Michele Sorry for bad english.
Erel B4X founder Staff member Licensed User Longtime User Apr 24, 2013 #2 WebView.LoadHtml expects a string. You should use: Code: Copy WebView1.LoadHtml(File.ReadString(File.DirRootExternal, "html/index/html")) Upvote 0
WebView.LoadHtml expects a string. You should use: Code: Copy WebView1.LoadHtml(File.ReadString(File.DirRootExternal, "html/index/html"))
aklisiewicz Active Member Licensed User Longtime User Jan 22, 2014 #3 can you explain what is: "html/index/html")) ? should we use LoadHTML ot LoadURL ? Arthur Upvote 0
NJDude Expert Licensed User Longtime User Jan 22, 2014 #4 He meant: Code: Copy WebView1.LoadHtml(File.ReadString(File.DirRootExternal, "html/index.html")) Upvote 0