Jmu5667 Well-Known Member Licensed User Longtime User May 11, 2021 #1 Hello In the build configurations window it would be really helpful is we had a nother field, 'Apk Filename', where by you set the apk file name, if not set then the project name is used as is currently the case. This would mean that I would not have to change the apk file everytime I do a new build. Real world senerio, we have 3 apps that get built for MDM environments and this feature would make it more efficient. Thank you. John.
Hello In the build configurations window it would be really helpful is we had a nother field, 'Apk Filename', where by you set the apk file name, if not set then the project name is used as is currently the case. This would mean that I would not have to change the apk file everytime I do a new build. Real world senerio, we have 3 apps that get built for MDM environments and this feature would make it more efficient. Thank you. John.
DonManfred Expert Licensed User Longtime User May 11, 2021 #2 Use the Commandlinebuilder!? You can set the apk-name here. B4ABuilder / B4JBuilder - Command line compilation B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe). This tool allows you to compile your projects from the command line. This can be useful if you need to build multiple projects or to build the same project with multiple configurations... www.b4x.com
Use the Commandlinebuilder!? You can set the apk-name here. B4ABuilder / B4JBuilder - Command line compilation B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe). This tool allows you to compile your projects from the command line. This can be useful if you need to build multiple projects or to build the same project with multiple configurations... www.b4x.com
Jmu5667 Well-Known Member Licensed User Longtime User May 11, 2021 #3 DonManfred said: Use the Commandlinebuilder!? You can set the apk-name here. B4ABuilder / B4JBuilder - Command line compilation B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe). This tool allows you to compile your projects from the command line. This can be useful if you need to build multiple projects or to build the same project with multiple configurations... www.b4x.com Click to expand... Thanks Don for the suggestion, but for me it is better in the Build Configuration.
DonManfred said: Use the Commandlinebuilder!? You can set the apk-name here. B4ABuilder / B4JBuilder - Command line compilation B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe). This tool allows you to compile your projects from the command line. This can be useful if you need to build multiple projects or to build the same project with multiple configurations... www.b4x.com Click to expand... Thanks Don for the suggestion, but for me it is better in the Build Configuration.
Erel B4X founder Staff member Licensed User Longtime User May 12, 2021 #4 No need to add any field for this. You can do it with a simple CustomBuildAction: Code: Copy #If Build1 #CustomBuildAction: 4, %COMSPEC%,/c copy ChangeNameHere.apk "some other name.apk" #Else If Build2 #CustomBuildAction: 4, %COMSPEC%,/c copy ChangeNameHere.apk "some other name.2apk" #end if
No need to add any field for this. You can do it with a simple CustomBuildAction: Code: Copy #If Build1 #CustomBuildAction: 4, %COMSPEC%,/c copy ChangeNameHere.apk "some other name.apk" #Else If Build2 #CustomBuildAction: 4, %COMSPEC%,/c copy ChangeNameHere.apk "some other name.2apk" #end if
D Deleted member 103 Guest May 12, 2021 #5 You can also use that. CustomBuildAction Deleted www.b4x.com
Jmu5667 Well-Known Member Licensed User Longtime User May 12, 2021 #6 Hello I have elected to use the b4aBuilder as going forward I will probably have many Build configurations and a simple batch file has solved my problem. My real issue is the package name. Some of our new clients have a their own google playstore for pushing out apps to their users, and the problem is if they publish the app, no-one else can. So each customer needs their own packege name for the same app. Now if there is a more efficent way of doing this let me know. Regards John. Last edited: May 12, 2021
Hello I have elected to use the b4aBuilder as going forward I will probably have many Build configurations and a simple batch file has solved my problem. My real issue is the package name. Some of our new clients have a their own google playstore for pushing out apps to their users, and the problem is if they publish the app, no-one else can. So each customer needs their own packege name for the same app. Now if there is a more efficent way of doing this let me know. Regards John.