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

Discussion in 'Share Your Creations' started by mr23, Jan 6, 2014.

  1. mr23

    mr23 Active Member Licensed User

    Per B4A-Bridge updates released with B4A 4.0, "updated with several fixes and the PHONE_READ_STATE permission was removed (it was used in the past to show the device id)"
     
  2. leitor79

    leitor79 Active Member Licensed 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!
     
  3. mr23

    mr23 Active Member Licensed 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.
     
  4. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    I cannot get this to work with b4a version 5. b4a will not let me add a port to the IP.
     
  5. mr23

    mr23 Active Member Licensed 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: Sep 24, 2015
  6. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    Thanks, I will try again
     
  7. mr23

    mr23 Active Member Licensed User

    v2.20.37 released, now includes FTP Service, and Themes (dark, light) added, to the paid version.
    Retains Bluetooth connectivity option.
     
    Last edited: Jan 2, 2017
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice