ok, as i understand, reading this link, is not possible solve this in all the phones, i need rewrite code xD
Thanks
android external SD save/delete problem
-
- Posts: 267
- Joined: Fri Feb 24, 2012 9:34 am
Re: android external SD save/delete problem
If I understood right (got an issue with my writing routines on an Android 6.x device when attempting to write to /storage/emulated/0"), in newer Android verions this became even more complicated, as you don't get the general permission that easily to write to any location, but only to the private app drawer.
-
- Posts: 267
- Joined: Fri Feb 24, 2012 9:34 am
Re: android external SD save/delete problem
i have the same problem, but as i understand is not possible solve it, i need write to the external sd with an app, and only can use it in one of my three devices
Re: android external SD save/delete problem
I think it's possible to solve if you write the desired storage location to the androidmanifest.xml. The app should ask at runtime then for permission. Dunno how to add own content to androidmanifest.xml though...
Anyway writing to the app's private drawer should work always and I will proceed by just using that location instead of my originally desired one.
Anyway writing to the app's private drawer should work always and I will proceed by just using that location instead of my originally desired one.
-
- Posts: 267
- Joined: Fri Feb 24, 2012 9:34 am
Re: android external SD save/delete problem
i know it, but my program have 9 gb of data, and need use an external memory
Re: android external SD save/delete problem
Well, that's quite a bit of course...xabierpayet wrote: my program have 9 gb of data
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: android external SD save/delete problem
Currently not possible, but I think I can implement support for customizing the manifest in the next update of the APK Compiler.zylesea wrote:I think it's possible to solve if you write the desired storage location to the androidmanifest.xml. The app should ask at runtime then for permission. Dunno how to add own content to androidmanifest.xml though...
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: android external SD save/delete problem
Code: Select all
- New: APK Compiler now allows you to make modifications to the build.gradle and AndroidManifest.xml
declarations; this can be useful in connection with custom code, e.g. if you need to add some
permissions to the manifest