Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid move to SD card behavior
    primarykey
    data
    text
    <p>I have an application that downloads most of the resources from the internet during run time. Most of those resources are images.</p> <p>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:</p> <ol> <li>I'm tracking which resource was downloaded and which need to be download later.</li> <li>All those resources would be meaningless to the user and would irritate him.</li> <li>I don't want the user or any other application to delete those images</li> </ol> <p>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.</p> <p>To fulfill those requirements I used the internal storage and it works exactly as I expected and as needed.</p> <p>I do let the user to move my application to the SD card, But:</p> <ol> <li>what is happening to all the files that I saved in the internal storage and to the DB?</li> <li>Are they all moving to the SD card with the application? Do they stay in the internal storage?</li> </ol> <p>I believe that they do stay in the internal storage, but I haven't found any documentation for it.</p> <p>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.</p> <ol> <li>Can i save something on the SD card without those files to be public for all?</li> <li>What is the best way to handle this situations?</li> <li>What option do I have to handle this situation?</li> <li>Can I know if the app is installed on the SD card or on the internal storage?</li> </ol> <p>I would thank you all for all your insights and recommendations. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload