bromie2008 Member Licensed User Jan 5, 2017 #1 When my phone lost connection, link to my url address show "Webpage not available" + link and error message.. How to hide it or replace with another page?
When my phone lost connection, link to my url address show "Webpage not available" + link and error message.. How to hide it or replace with another page?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2017 #2 Are you using WebView to show a web page? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2017 #4 Handle the PageFinished evet: B4X: Sub WebView1_PageFinished (Success As Boolean, Url As String) If Success = False Then WebView1.LoadHtml("Page not available") End If End Sub Upvote 0
Handle the PageFinished evet: B4X: Sub WebView1_PageFinished (Success As Boolean, Url As String) If Success = False Then WebView1.LoadHtml("Page not available") End If End Sub