B4J Question [ABMaterial] painting Canvas Objects not working on Pi?

MbedAndroid

Well-Known Member
Licensed User
Longtime User
Canvas Objects like the Clock in the abm demo works fine local on my PC, but stored on the pi as not visible

Not on IE,Firefox,Chrome
it takes its space in the page, but no painting

any idea? Something missing on the Pi?
running the Pi as server....
 
Last edited:

MbedAndroid

Well-Known Member
Licensed User
Longtime User
found the issue. Apperently you need to upload everytime the copymewithjar.needs file to the rasp same time you update the app
 
Upvote 0

inakigarm

Well-Known Member
Licensed User
Longtime User
I've find it such issue in the past and maybe I can't assure 100% but maybe it seems related on using b4-bridge/debug on the app before uploading/executing the app on RPi (didn't remember how I've solved but I allways look for the needs file before running the app)
 
Last edited:
Upvote 0

MbedAndroid

Well-Known Member
Licensed User
Longtime User
good idea to mention this explicit in the beginning of the ABMaterial page.? I came to the conclusion when i compared the files on the rasp local with my laptop
 
Upvote 0

inakigarm

Well-Known Member
Licensed User
Longtime User
CustomBuildActions can be the solution: (after Compiling and Releasing the project, the needs file can be copied to RPi - a .bat that copy this file/s to a shared folder on Rpi (with Samba for ex) or creating a B4J app on Rpi to upload the needs file to the correct folder)

On B4J, there're only 2 Custom Build Actions:
1 - Before the compilation steps.
2 - Before the compiled program is executed.
 
Upvote 0
Top