B4J Question Porting from Windows to Raspberry Pi

bdunkleysmith

Active Member
Licensed User
Longtime User
To date I have run my B4J apps on Windows, but I have begun exploring porting some to a Raspberry Pi 3 because that platform has some attactions.

I began by just running an existing B4J app on the Pi by using B4J-Bridge as per https://www.b4x.com/android/forum/threads/raspberry-pi-with-java-11.99606/, however the GUI on the Pi looks nothing like on Windows.

Windows:

1593687596171.png


Raspberry Pi:

20200702_205413 (2).jpg


Any suggestions on what I'm doing wrong or missing on the Raspberry Pi?
 

bdunkleysmith

Active Member
Licensed User
Longtime User
Yes it is "working" because I can see the JSON data in the log on the PC, but for my ultimate use the GUI display will be important and so must reflect what I see when run on my Windows PC. When the app launches I see an almost full screen black "window" with the GUI the size I expect in its centre.

The Raspberry Pi OS is Raspian GNU/Linux 9 (stretch).

I thought if I had installed the Liberica JDK as per https://www.b4x.com/android/forum/threads/raspberry-pi-with-java-11.99606/ then an existing B4J UI app would not require a Windows installation on the Raspberry Pi.

I think I need to do some further reading to understand what I can expect of the Raspberry Pi to see if it can support my objective and if so, what OS or other firmware/software I need to install.
 
Upvote 0
Top