I'm trying to debug a webapp using B4J-bridge. I connect properly to the remote device, but I can not start the web page.
Is there anything special I have to do?
Check this out:
The B4J-Bridge creates a folder called Tempjars on the remote device.
The server app (when connections are made) is looking for the www folder (and file index.html), which by default is not created by the B4J-Bridge.
To remediate:
Logon to your remote device
Select the Tempjars folder
Copy the www folder from the B4J project folder Objects/www to Tempjars/www
Start B4J, reconnect to the B4J-Bridge, start your app and connect via browser ip : port
have tested on a Pi and is running fine in both debug and release mode. here some screenshots that might help.
B4J IDE
Remote Device Folder (containing js, css, html files)
B4J Bridge (started as sudo!)
Webapp