I have an application that downloads most of the resources from the internet during run time. Most of those resources are images.
I don't want the user to see those images in the gallery application or in any other application. This requirement is crucial to me since:
Note: I'm aware to the fact that rooted users can do what ever they want and I don't care that those user will mess up the app.
To fulfill those requirements I used the internal storage and it works exactly as I expected and as needed.
I do let the user to move my application to the SD card, But:
I believe that they do stay in the internal storage, but I haven't found any documentation for it.
And after I'll understand the behavior it raise few other questions. The only requirement that I have is that the resources would be downloaded from the internet and that the user won't see them in any other application. I don't really care where those files are being saved, I think that if the user decides to move the application to the SD card it is since he has lack of memory in the internal storage, therefor I should transfer all my resources to the SD card.
I would thank you all for all your insights and recommendations.
Regarding the images not being visible in the Gallery App, you should put a .nomedia file into the folder that contains your images. Example: image permissions (don't want them in gallery)
Regarding the app to SD feature, I also wanted to have info on the subject, so I cannot help you :)
Useful answer: https://stackoverflow.com/a/3687467/334493
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With