I invocker Active Member Mar 8, 2020 #1 Hi: I use the same method Hier Edit&Build Apk How can I change red Project Attributes? #ApplicationLabel: B4A Test #VersionCode: 1 #VersionName: 1.0.0.1 #CanInstallToExternalStorage: False Thank's
Hi: I use the same method Hier Edit&Build Apk How can I change red Project Attributes? #ApplicationLabel: B4A Test #VersionCode: 1 #VersionName: 1.0.0.1 #CanInstallToExternalStorage: False Thank's
Erel B4X founder Staff member Licensed User Longtime User Mar 8, 2020 #2 These attributes are set in AndroidManifest.xml. You will need to replace this file. However it is more complicated as that file is processed during compilation and a binary version is stored inside the APK. Upvote 0
These attributes are set in AndroidManifest.xml. You will need to replace this file. However it is more complicated as that file is processed during compilation and a binary version is stored inside the APK.
JohnDovey New Member Jun 25, 2021 #4 invocker said: How can I change red Project Attributes? #ApplicationLabel: B4A Test #VersionCode: 1 #VersionName: 1.0.0.1 #CanInstallToExternalStorage: False Click to expand... Hi, I had the same question, and after much scratching around I found this solution : - Close the project - open the source file (<projectName>.b4a) in the project directory in a text editior like Notepad++ - Make the changes you want there then save and close the file - Open the project again in the IDE - Compile and Run and you will see that the <projectname>\Objects\AndroidManifest.xml has been regenerated with the changed information. Hope that helps someone else. John Upvote 0
invocker said: How can I change red Project Attributes? #ApplicationLabel: B4A Test #VersionCode: 1 #VersionName: 1.0.0.1 #CanInstallToExternalStorage: False Click to expand... Hi, I had the same question, and after much scratching around I found this solution : - Close the project - open the source file (<projectName>.b4a) in the project directory in a text editior like Notepad++ - Make the changes you want there then save and close the file - Open the project again in the IDE - Compile and Run and you will see that the <projectname>\Objects\AndroidManifest.xml has been regenerated with the changed information. Hope that helps someone else. John
JohnDovey New Member Jun 26, 2021 #5 JohnDovey said: Hi, I had the same question, and after much scratching around I found this solution : Click to expand... Turns out I was too quick with this. There is a much simpler way.. The settings are in the main file when the project is open, just close in #REGION tags which is why I didn't spot them Upvote 0
JohnDovey said: Hi, I had the same question, and after much scratching around I found this solution : Click to expand... Turns out I was too quick with this. There is a much simpler way.. The settings are in the main file when the project is open, just close in #REGION tags which is why I didn't spot them