G GekoCH New Member Oct 22, 2007 #1 Hello So I started programming and after a while I get used to it. So my question is about HTTP. Is it possible to download a Site, store it somewhere on the device and the watch it in offline mode? Cheers Geko
Hello So I started programming and after a while I get used to it. So my question is about HTTP. Is it possible to download a Site, store it somewhere on the device and the watch it in offline mode? Cheers Geko
Erel B4X founder Staff member Licensed User Longtime User Oct 22, 2007 #2 Yes. You can download the files using the HTTP library. You can show the html files with dzt's HTMLView control: http://www.b4x.com/forum/showthread.php?t=782
Yes. You can download the files using the HTTP library. You can show the html files with dzt's HTMLView control: http://www.b4x.com/forum/showthread.php?t=782
G GekoCH New Member Oct 22, 2007 #3 Erel said: Yes. You can download the files using the HTTP library. You can show the html files with dzt's HTMLView control: http://www.b4x.com/forum/showthread.php?t=782 Click to expand... Thx. Let's try it... Geko
Erel said: Yes. You can download the files using the HTTP library. You can show the html files with dzt's HTMLView control: http://www.b4x.com/forum/showthread.php?t=782 Click to expand... Thx. Let's try it... Geko
G GekoCH New Member Oct 22, 2007 #4 Hmm does the test4 work on your device? When I press the Load Button, nothing happens... What could be the problem? Geko
Hmm does the test4 work on your device? When I press the Load Button, nothing happens... What could be the problem? Geko
agraham Expert Licensed User Longtime User Oct 22, 2007 #5 You need to copy test4.htm to the same folder on your device as the compiled application.
taximania Well-Known Member Licensed User Longtime User Oct 22, 2007 #6 On the device, this 'load_click' code works. Note the 'red' forward slash B4X: Sub load_Click hc.Clear hc.Navigate("file://" & AppPath & "[COLOR="Red"]/[/COLOR]" & "test4.htm") End Sub I don't know why the page shows when I run test4, but didn't refresh on the load_click event. It does now :sign0060:
On the device, this 'load_click' code works. Note the 'red' forward slash B4X: Sub load_Click hc.Clear hc.Navigate("file://" & AppPath & "[COLOR="Red"]/[/COLOR]" & "test4.htm") End Sub I don't know why the page shows when I run test4, but didn't refresh on the load_click event. It does now :sign0060: