B4J Question [SOLVED]Problem incorporating image in standalone

Zvi

Member
Licensed User
Hi,
I am using imageview to show a background image. I attached the image in designer and it works perfectly when I run the program from the B4J console.
But when I build a standalone package neither the result.jar nor the exe files run. Nothing happens, not even an error notice.
If I use imageview with the color drawable option instead of the bitmap drawable option everything runs fine on the standalone package... but I would prefer to build the exe with a bitmap background.
Any ideas about how I can accomplish that?
 

Attachments

  • Screenshot - 11_04_2023 , 09_26_41.jpg
    Screenshot - 11_04_2023 , 09_26_41.jpg
    234.2 KB · Views: 57

Zvi

Member
Licensed User
Sorry, tried making a small project to show the problem but the zip is still too big to attach...
Solved!!
I simply had to add another image view to the designer to contain the background image, and send to back.
Now everything works perfectly both when run from B4J and when compiled to exe.
 
Upvote 0
Top