Hello,
I have attached a B4J project, with source, for an APK loader. It interfaces with the standard B4A Bridge. It allows you to install an APK file to a device without opening the B4A IDE and recompiling.
I need this because I want to install an APK on different devices for testing without recompiling. The same thing can be done with the "ADB install" command, but some of my devices do not work with ADB – however, they all work with the B4A Bridge.
NOTE: I just saw something that might be confusing. I have a text entry field showing the hint "APK Path (usually your B4A project Objects folder)". This should be the full path to the actual APK file, not just to the folder. For example: C:\myproject\Objects\myfile.apk
I have left a lot of room for improvement .
If you make improvements, please upload and share with everyone.
Barry.
I have attached a B4J project, with source, for an APK loader. It interfaces with the standard B4A Bridge. It allows you to install an APK file to a device without opening the B4A IDE and recompiling.
I need this because I want to install an APK on different devices for testing without recompiling. The same thing can be done with the "ADB install" command, but some of my devices do not work with ADB – however, they all work with the B4A Bridge.
NOTE: I just saw something that might be confusing. I have a text entry field showing the hint "APK Path (usually your B4A project Objects folder)". This should be the full path to the actual APK file, not just to the folder. For example: C:\myproject\Objects\myfile.apk
I have left a lot of room for improvement .
If you make improvements, please upload and share with everyone.
Barry.
Attachments
Last edited: