I have a program in development, with the Module Attibutes set to "#CanInstallToExternalStorage: True"
When installing to an Android ( version 4.2.2 ) phone for the first time, using the B4A bridge I get the choice to "Install to SD card" presented by the phone. After doing so, and checking that the program is indeed installed on the card, I then did some more debugging, and did another Compile and Run from the IDE. The program is then sent to the phone, and all works ok, but when I check where it went, the program is now installed on the phone internal memory.
I was rather hoping to keep debug installations on the external card, since the Flash has a somewhat limited life, and cards are cheap to replace, if I ever need to.
I also tried editing the manifest to
"SetManifestAttribute("android:installLocation", "preferExternal")"
But that also does not cause a re-installation to go to external storage. Of course I can always delete the current installation, and then re-install, when I get the "Install to SD card" choice again, but that is an extra step.
Any thoughts on how to get a re-installation to go to the SD card automatically ?
When installing to an Android ( version 4.2.2 ) phone for the first time, using the B4A bridge I get the choice to "Install to SD card" presented by the phone. After doing so, and checking that the program is indeed installed on the card, I then did some more debugging, and did another Compile and Run from the IDE. The program is then sent to the phone, and all works ok, but when I check where it went, the program is now installed on the phone internal memory.
I was rather hoping to keep debug installations on the external card, since the Flash has a somewhat limited life, and cards are cheap to replace, if I ever need to.
I also tried editing the manifest to
"SetManifestAttribute("android:installLocation", "preferExternal")"
But that also does not cause a re-installation to go to external storage. Of course I can always delete the current installation, and then re-install, when I get the "Install to SD card" choice again, but that is an extra step.
Any thoughts on how to get a re-installation to go to the SD card automatically ?