Intelemarketing Active Member Licensed User Longtime User Oct 6, 2020 #1 I have found this which opens a website (Phone Library Required) - No Problems Code: Copy Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.b4x.com")) What I would like to do seems so simple, but does not work - I want to display MyPage.html which is on my website The code below just tells me ERROR CODE 404 even though everything is in the right place Code: Copy Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.mywebsite.com/MyPage.html")) What to do please ?
I have found this which opens a website (Phone Library Required) - No Problems Code: Copy Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.b4x.com")) What I would like to do seems so simple, but does not work - I want to display MyPage.html which is on my website The code below just tells me ERROR CODE 404 even though everything is in the right place Code: Copy Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.mywebsite.com/MyPage.html")) What to do please ?
JohnC Expert Licensed User Longtime User Oct 6, 2020 #2 Since this is a non-ssl connection (just http not https), you need to add this line to your manifest: B4X: Copy CreateResourceFromFile(Macro, Core.NetworkClearText) Last edited: Oct 7, 2020 Upvote 0
Since this is a non-ssl connection (just http not https), you need to add this line to your manifest: B4X: Copy CreateResourceFromFile(Macro, Core.NetworkClearText)