W wl Well-Known Member Licensed User Longtime User Jun 17, 2016 #1 Hi, I'm looking on running a local webserver on iOS and have it render pages within a webview (in the same app). Would this be possible ? It seems there is no webserver in B4I as there is in B4A ? Tx
Hi, I'm looking on running a local webserver on iOS and have it render pages within a webview (in the same app). Would this be possible ? It seems there is no webserver in B4I as there is in B4A ? Tx
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2016 #2 There is no B4i library similar to B4A HttpServer. What do you need it for? Upvote 0
W wl Well-Known Member Licensed User Longtime User Jun 19, 2016 #3 It would be nice to make a small webpage and have it hosted locally (pages rendered in a webview) without the need for a network connection... Upvote 0
It would be nice to make a small webpage and have it hosted locally (pages rendered in a webview) without the need for a network connection...
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2016 #4 This is already possible. You can save the html / css / js files and load them with WebView. Upvote 0
W wl Well-Known Member Licensed User Longtime User Jun 19, 2016 #5 thanks Erel, But then there is no way to have something running in the "background" to save the data in a SQLite database, run some B4X code, ... Upvote 0
thanks Erel, But then there is no way to have something running in the "background" to save the data in a SQLite database, run some B4X code, ...
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2016 #6 You need to provide more information. What exactly do you want to show in the WebView? Check DBUtils.ExecuteHtmlTable for an example. It allows interacting with the data. Upvote 0
You need to provide more information. What exactly do you want to show in the WebView? Check DBUtils.ExecuteHtmlTable for an example. It allows interacting with the data.
W wl Well-Known Member Licensed User Longtime User Jun 19, 2016 #7 I would like the webpage to post data to an IOS app, the IOS app generate a HTML page dynamically. In short: a web app that runs locally (client side in a webview, logic in B4X - HTTP server). Upvote 0
I would like the webpage to post data to an IOS app, the IOS app generate a HTML page dynamically. In short: a web app that runs locally (client side in a webview, logic in B4X - HTTP server).