I do not know if it is technically possible 8-| but would be very nice if the executables generated by Gideros would be compatible with moving on the external memory card of Android devices. [-O<
Also because the generated gideros "apk" are a little bit fat (minimum of 4-5mb!) (
1. Upgrade project to Android 2.2 - change 'target=android-7' to 'target=android-8' at project.properties file - change 'minSdkVersion="7"' to 'minSdkVersion="8"' at AndroidManifest.xml file 2. add 'android:installLocation="preferExternal"' to AndroidManifest.xml as explained here: http://developer.android.com/guide/appendix/install-location.html
Unfortunately, there are 2 .so files for ARMv6 and ARMv7 and each is ~2.5mb. If you want, you can remove support for ARMv6. Also I'll try to decrease the size of these .so files.
@atilim: Sorry to necro this thread but I was wondering if it would be possible to add
android:installLocation="preferExternal"
to AndroidManifest.xml by default as apps are now beginning to exceed 20MB as a norm and would be better if they were installed to external storage as default.
Also would it be possible to take the orientation of the app from the project file and use this setting in the exported AndroidManifest.xml
android:screenOrientation="landscape"
Both of these changes would make it easier for novices to get their app's running correctly (especially if they have ads in their app).
I'm glad you "necrod" this as I wasn't aware of this whole issue. It seems Gideros Android apps with the auto generated AndroidManifest.xml cannot be moved to external SD card. The above procedure at least gives the user the option of transferring to SD card.
As for installing to card by default: not sure if this is possible... All of the apps I have install to main storage and then need to be transferred manually.
I get a message to fix the project file whenever I first import though, it has something to do with changing it to android-17...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
1. Upgrade project to Android 2.2
- change 'target=android-7' to 'target=android-8' at project.properties file
- change 'minSdkVersion="7"' to 'minSdkVersion="8"' at AndroidManifest.xml file
2. add 'android:installLocation="preferExternal"' to AndroidManifest.xml as explained here: http://developer.android.com/guide/appendix/install-location.html
Unfortunately, there are 2 .so files for ARMv6 and ARMv7 and each is ~2.5mb. If you want, you can remove support for ARMv6. Also I'll try to decrease the size of these .so files.
Thank you,
--
atilim
Likes: GregBUG, chipster123
Likes: GregBUG
@gorkem would be more comfortable ... !
www.tntengine.com
Likes: chipster123
Also would it be possible to take the orientation of the app from the project file and use this setting in the exported AndroidManifest.xml
Likes: hgvyas123, chipster123, SinisterSoft
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
As for installing to card by default: not sure if this is possible... All of the apps I have install to main storage and then need to be transferred manually.
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
https://deluxepixel.com