Hello,
i just try to run the WebAppHelloWorld from Erel. This works fine. Run and then open the browser with "localhost/#portnumber"...
So far its ok to do that.
When i look in that Main.bas there is the command "StartMessageLoop" which only can be used in a "non UI" App.
Now my question. When i have a UI-APP (B4X) and want to run a html-file in a browser, i want to click on a button which starts the server and opens the browser with the appropriate link. All in one click. How can i do this in a "normal" B4X App?
i just try to run the WebAppHelloWorld from Erel. This works fine. Run and then open the browser with "localhost/#portnumber"...
So far its ok to do that.
When i look in that Main.bas there is the command "StartMessageLoop" which only can be used in a "non UI" App.
Now my question. When i have a UI-APP (B4X) and want to run a html-file in a browser, i want to click on a button which starts the server and opens the browser with the appropriate link. All in one click. How can i do this in a "normal" B4X App?