Creating desktop applications (Windows, Linux, MacOS) with BANano and NW.js.
B4J – RAD development tool for cross platform desktop, server and IoT solutions
-
Download NW.js (https://nwjs.io/) and unpack it to a location of your choice.
-
Clone this repository or download it as ZIP.
-
Copy all files of the folder
Library
into the internal library folder of B4J. -
Open the
BANanoNwJsDemo.b4j
in the folderDemo
with B4J.
Important: Before you start the demo, adjust the variable NwJsFolder
. Here you have to enter the folder where you unpacked NW.js.
Now you can start the demo. After a short time the NW.js window should open. There are some basic examples of how to control NW.js:
Since NW.js has a' built-in' NodeJS, you can also use appropriate commands (such as those of the filesystem) to communicate from BANano with the 'outside world'.
Just give it a try. :)
Have fun... Peter
Feel free to post a question, suggestion or bug report in the B4X-Forum. Since there are a lot of posts in this forum every day, I ask you to use a clearly identifiable subject, otherwise I might miss a posting.