B4J Question Missing Designer-menu

ValhallSW

Member
Licensed User
Longtime User
Hi.
1. I downloaded this Server-app for B4J and it is working fine. BUT, if I want to make a GUI-window for configuration of the server, where has the Deigner-menu gone? I have tried to open a new app from scratch, where the Designer-menu is visible, and copied all the code into the modules. But then the server-app will not work. :(
Snap_2016.06.09_23h09m06s_007_.png


2. Another problem is that the B4A-app that sends the Message, is the only one that recieves the Message back! I want to send the Message to ALL devices connected to the server.

Screenshot_2016-06-09-23-36-49.png
 

aaronk

Well-Known Member
Licensed User
Longtime User
1. I downloaded this Server-app for B4J and it is working fine. BUT, if I want to make a GUI-window for configuration of the server, where has the Deigner-menu gone? I have tried to open a new app from scratch, where the Designer-menu is visible, and copied all the code into the modules. But then the server-app will not work.
You have created an non-UI app therefore you can't create a UI, so the designer feature is removed. See the top line of your Main module.

Think of your B4J app running on a server in a data center. Your not going to login every time to a server in the data center to view something running in the B4J app. I recommend you look at adding a web browser interface into your B4J app then you can login with a web browser and manage the B4J app.

2. Another problem is that the B4A-app that sends the Message, is the only one that recieves the Message back! I want to send the Message to ALL devices connected to the server.
You may need to submit another thread for this issue. There is a few other threads with the same question asked.
You can see an example that properly manages multiple connections here: https://www.b4x.com/android/forum/threads/b4j-cctv-example.34695/#post-203347
 
Upvote 0
Top