B4A Library B4ABridgePlus utility program

Discussion in 'Additional libraries, classes and official updates' started by agraham, Mar 6, 2011.

  1. agraham

    agraham Expert Licensed User

    Although not really a library I thought that I would post this here for registered users.

    B4A-BridgePlus.exe is an Android device File Manager program that runs on the desktop and communicates with an extended version of B4A-Bridge on the device. Using this you can copy files to and from desktop and device, delete files on desktop and device and install apks from the desktop onto the device - all without needing to use adb or DDMS.

    B4A-BridgePlus.exe needs no installation (it is written in Basic4ppc) just put it somewhere together with folder.ico. Install B4A-BridgePlus1.00.apk on your device and run it just like the original B4A-Bridge where it will work with the Basic4android IDE as well as B4ABridgePlus.exe. It should be obvious how to drive B4A-BridgePlus. Right click on a file to do something to it.

    There is a transparency issue with the folder icon on the ListView causing a black border that I don't know how to get rid of. Googling I've seen that other people have encountered this but I haven't found a definitive solution yet - but I haven't tried very hard! If you have an folder icon without any transparency you could try renaming it and using it instead of my folder.ico. If it looks nice then post it so I can use it too. :)

    EDIT :- Version 1.1 posted. See post#7 for details.

    EDIT :- Source and project posted. See post#27 for details.
     

    Attached Files:

    Last edited: Dec 16, 2011
  2. moster67

    moster67 Expert Licensed User

    Thanks Agraham.

    Just tested it. It works nicely. It works just like Erel's app on device for installing apk (using WIFI) but in addition you get a file-manager. I tried copying files in both directions and it worked nicely. I also tried installing an apk using the file-manager and it worked as well.

    The only problem appears when I am connected at the same time with Basic4Android. Then I get the error shown in the attached picture.

    Not a problem - just to make sure I am disconnected from Basic4Android when using the file-manager.

    Nice and useful program. :sign0098:
     

    Attached Files:

    Last edited: Mar 6, 2011
  3. derez

    derez Expert Licensed User

    Thank you for this application, Agraham.
    It even installs the applications on my A81E, which the regular bridge does not :)
     
  4. Heinz

    Heinz Active Member Licensed User

    thank you,
    an excellent program.
    Now i don't need to put my sd card from
    my device to the usb-adapter of my PC
    for copy any data.
     
  5. alfcen

    alfcen Well-Known Member Licensed User

    BridgePlus Icon

    Hi Andrew,

    Respectful compliments on a brilliant software development!!! Works flawlessly allover and helps shorten development time significantly.

    Attached a folder icon (folder.gif and folder.ico) which looks good here, it's blue though.

    The icon should be sized 16x16 pixels to avoid black frames as a result of automatic resizing, which I believe the B4PPC application does perform.

    Anyway, hope it helps.

    Cheers
    Robert
     

    Attached Files:

  6. splatt

    splatt Active Member Licensed User

    You shouldn't need to do that anyway. If you go to Settings\Applications\Development Options, then reconnect your USB cable, you should see the SD card as an external drive on your PC.
     
  7. agraham

    agraham Expert Licensed User

    Version 1.1 posted is just a slight tidy-up of a couple of oversights. Only B4ABridgePlus.exe has changed, the apk is the same.

    A new folder icon, thanks to Alfcen, looks a bit better than before. The error handling was tidied up internally so you shouldn't now get a "Continue?" MsgBox, and multiselect on the ListViews is now disabled. I looked at implementing it but the asynchronous structure of the file transfer mechanism makes it a bit complicated so I didn't think the effort worth while for the few occasions it might be really useful.
     
    Last edited: Mar 8, 2011
  8. FrankR

    FrankR Member Licensed User

    This is going to be very helpful. Thank you.
     
  9. ZJP

    ZJP Active Member Licensed User

    Bravo. :sign0060:
     
  10. FrankR

    FrankR Member Licensed User

    I need to spend some time and get set up with this. Would love to not keep going through ADB, which is extremely slow. Thanks for this.
     
  11. psciga

    psciga Active Member Licensed User

    Thank you very much!:sign0188:

    Regards - Peter
     
  12. jcohedman

    jcohedman Member Licensed User

    man, you was reading my mind!!!:sign0098:

    it´s very similar to TotalCommander...

    Thank You!!!
     
  13. twizard

    twizard New Member Licensed User

    Many thanks! New to this stuff but so far having too much fun! :sign0098:
     
  14. sleeproom0001

    sleeproom0001 Member Licensed User

    B4A-BridgePlus.exe code you can share?

    B4A-BridgePlus.exe code you can share?
     
  15. agraham

    agraham Expert Licensed User

    Are you a registered user of Basic4ppc? The code is written in Basic4ppc and it uses a couple of my additional Basic4ppc libraries.
     
  16. WizardOz

    WizardOz Member Licensed User

    This program is THE best tool to have when doing basic4android stuff!
    Just love the way it fast and without problems put the new code on the phone, and having me test it without waiting for the emulator wake up.

    :sign0098:
     
  17. raytronixsystems

    raytronixsystems Active Member Licensed User

    file copy with b4abridgeplus 1.1

    Is it possible to copy more than one file to from my phone or PC or even perhaps a whole directory of files at one time? I am moving contact lists, photos,sms messages and apk's from one phone to another and have to move one at a time.
    I have not tried a USB cable or mounted the SD card as an external drive to my PC yet.

    Thanks In Advance,
    Ray
     
  18. agraham

    agraham Expert Licensed User

    No. As I said in post #7 above
     
  19. UtahWJR

    UtahWJR Member Licensed User

    When I run the APK on my device it launches and shows a very strange IP address and then shuts down. Phone is Samsung Galaxy Tab 8.9.

    Thoughts?

    Bill
     
  20. agraham

    agraham Expert Licensed User

    IPv6? Try B4ABridge, though it will probably also show the same problem as B4ABridgePlus is an extension to B4ABridge.
     
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