Android Tutorial B4A-Bridge a new way to connect to your device

Discussion in 'Tutorials & Examples' started by Erel, Feb 24, 2011.

Thread Status:
Not open for further replies.
  1. Globalclown

    Globalclown Member Licensed User

    Copy to G-Drive instead of Bridge

    Using the bridge needs starting the bridge on the client before!

    Just copying the .apk-file to Google-Drive would allow to install the app on the client by simply clicking on it in the Google-Drive-App anytime separately
    (of course needs non-market-apps enabled in settings of the client).

    Can i modify a compile+install-script myself that way or must make a build-wish as a third tool besides avd and bridge (with foldername to copy to)?

    btw: i'm new to b4a and it's best tool i found since sql+php+regex! thanks a lot! (softworker sine 1970 ;-)
     
    Last edited: Jun 14, 2012
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can't you configure the Objects folder to be a synchronized folder? You can probably do it with Dropbox.

    Though B4A-Bridge is better. It supports debugging, logging and other features.
     
  3. nypaulie

    nypaulie Active Member Licensed User

    Until today I was happy to use B4A and an "iso" installation of Android-ICS, both via VirtualBox, but being able to hook up to my HP-Touchpad (running ICS) via a network connection is dynamite. Makes so much more sense, as I am trying to develop apps for this unit in particular. Got it running with your super instructions Erel in only a few minutes. Thanks a million!
    [Added 9-29-12] I just successfully tested B4A Bridge using a rooted Nook Color (Android ICS) and a Nook Simple Touch (also rooted and using ICS). Flawless! Thanks again.
     
    Last edited: Sep 29, 2012
  4. Dominex

    Dominex Active Member Licensed User

    I think it would be very interesting to be able to connect multiple devices, with this way when you are testing on multiple devices would be much earlier.
     
  5. nypaulie

    nypaulie Active Member Licensed User

    Having to reboot to reuse B4A-Bridge

    I've been having to reboot my device if I want to compile/run a second (or third, etc.) time. Say I do a compile/run and see that the result needs a tweak, after I make an adjustment to my app, when I try to run B4A bridge a second time, I get a time-out error even if I extend the time by a good amount. Rebooting the device (I am testing my project on) fixes this. Has anyone else had this problem?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Why don't you keep B4A-Bridge running? You do not need to restart it each time you deploy a program.
     
  7. nypaulie

    nypaulie Active Member Licensed User

    SOLVED: Having to reboot when rerunning B4A

    That's the answer. Thanks! I was closing B4A and then couldn't reconnect unless I rebooted. Keeping it open and connected is the way to go. Thanks again.
     
  8. fsj

    fsj Member Licensed User

    Older Versions of B4A Bridge

    Hello

    I have a tablet with Ethernet and WiFI
    the older version of B4A Bridge (I think 1.6 or something) shows the correct IP if WiFi was off

    the new Version (2.7) only shows the WLAN IP

    I havn't a backup of this old version, so I can't test it anymore

    How can I get the IP of the LAN or will there be an new version wich shows both (LAN-IP and WLAN-IP)

    I tried to use the source-code and modify it but it will not connect
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    You can check the IP in the device settings and use it instead of the one displayed.
     
  10. Peter Simpson

    Peter Simpson Expert Licensed User

    Feedback - B4A-Bridge keeps disconnecting

    Hello,
    Ever since updating my B4A-Bridge to V2.07, It keeps disconnecting from my B4A V2.30.

    It's a pain because once it disconnects, I've got to completely kill B4A-Bridge on my phone then restart it again, it's annoying. Just clicking start does not allow B4A to connect to it again.

    If there's a disconnect timer built in to the B4A-Bridge, it's a pain and should be made optional with a check box.

    This constant disconnecting is annoying and my WiFi is never ever turned off(power save is Off).

    When B4A-Bridge used to be connected to B4A, it never disconnect like this.
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    B4A-Bridge should stay connected as long as the network connection is valid.
     
  12. melamoud

    melamoud Active Member Licensed User

    But its not.
    Maybe its too sensitive to wifi issues
    Us there a way to control the retry params ?

    This is one of the more annoying issues it gers disconnected every few min....

    Thanks
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    Currently no.
     
  14. mkvidyashankar

    mkvidyashankar Active Member Licensed User

    Connectivity problem

    The b4a bridge was working fine so far
    now i am facing some connectivity issues

    even though the device is connected to wifi the status is "Disconnected , waiting for wireless connection" i tried again by reinstalling the b4a bridge the same problem persists.

    There is no change in settings in my wifi connection or device.

    How to sort this? :sign0085:
     
  15. Erel

    Erel Administrator Staff Member Licensed User

    What happens when you choose Tools - B4A Bridge - Connect Wireless (in the IDE)?
     
  16. rajughade2006

    rajughade2006 Member Licensed User

    Help with connection !

    I have properly installed b4a bridge on my htc wildfire running gingerbread 2.3.7
    cyanogen mod.
    it connects fine with my IDE on the PC over wifi but whenever i compile and run the code,
    and select my device(my htc in this case), my phone just takes me to the application manager interface and i cant see my app installed or running anywhere after that.
    i have st my phone to allow writing on my sd card as well as installation of unknown apps is checked
    I dont know if b4a designer should also run on my phone over the b4a bridge while im developing my app bt that doesnt happen either.
    any help is appreciated.

    Regards,
    Raj

    :sign0144:
     
  17. Erel

    Erel Administrator Staff Member Licensed User

    The expected behavior is that you will see a dialog that asking you to confirm the installation.
     
  18. rajughade2006

    rajughade2006 Member Licensed User

    unfortunately, i do not see any such dialog on the phone,
    what should i do?
     
  19. Erel

    Erel Administrator Staff Member Licensed User

    Probably a problem with your custom ROM. B4A-Bridge sends an intent to the system asking it to install the APK. If your device supports USB debugging then you should try it instead.
     
  20. rajughade2006

    rajughade2006 Member Licensed User

    Found a setting for ADB over network in my ROM settings, thanks for the help

    Cheers,
    Raj
     
Thread Status:
Not open for further replies.
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