Share My Creation B4A-Bridge-Relay, by 12Lab : deploy apk from B4A IDE to many targets; status; progress; B4A-Bridge

leitor79

Active Member
Licensed User
Longtime User
Hi mr23, thank you very much for sharing!

I'm having an issue; I manage to connect both devices, but when I start on debug mode I get 2 things:

- On the second device, te apps ask to be installed, but then I get stuck on "waiting for debugger to connect" toastmessage. If I connect that device to "standar" b4a directly, It works fine.

- The log on the IDE keeps logging "sending message to waiting queue (astream_newdata)", then a message about too many messages. This happens even if I stop executing the app. The messages shown as 1-2 per second, so it's very uncomfortable since I log data on my own to debug.


One thing I'm doing I'm not sure If I'm doing it right, is using b4a "standard" on the second device and your b4a bridge relay on the main one. b4a is set to connect to the main device. I get the green message "connected" and the secondary IP after I connect b4a to it.

Thank you very much!
 

mr23

Active Member
Licensed User
Longtime User
You can only debug 1 device at a time. Generally, I do the implementation/debug cycles using 1 device (hit 'skip clients', then debug), then switch to release mode for testing multiple devices ('hit 'use clients', then install); or just close the debugger in the IDE if staying in debug compiler.

Read this thread about the messages. It is likely the combined heartbeat/connection indicator. I could look into pausing that in this condition, if filtering the messages is a problem. I believe it is harmless, just annoying.

You are correct, you can use the standard B4A bridge app on the downstream devices.
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I cannot get this to work with b4a version 5. b4a will not let me add a port to the IP.
 

mr23

Active Member
Licensed User
Longtime User
I just installed 5.02. Started B4a-Bridge-Relay on a device. Went to Tools->B4aBridge->Connect->New IP, entered IP. It connected right away. I assume that works for you.

If I understand you correctly you are trying to enter an IPAddr : PortNumber? That's a question for AnywhereSoft/Erel et al, not for this thread. But my understanding is B4a never accepted port numbers in the UI, just an IP addr.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…