Let me answer Certified Storage Devices :
- Suppose a user decides to use "Adoptable Storage Devices", what does this mean for the various functions that retrieve application file paths? For example: getFilesDir, getExternalFilesDir, ...? Will the other of getExternalFilesDirs change because of this?
When the user chooses to use the SD card as an “Adoptable Storage Device” (format as internal), now this means that the SD card is only available as internal storage, that is, there is no SD card available to store downloaded files. Path changes in paths returned by related methods will not. For example: getExternalFilesDir () will only display the external storage path if the user has formatted their SD card as "Adoptable Storage Devices". The path to the SD card will not be available.
- What happens to application files when a user moves an application from / to an SD card (using "Adoptable Storage Devices")? What about application files on an SD card? Will they stay? Or are they moving somewhere? For example, if the application has the file "file1.txt" on the SD card, go to "/ storage / extSdCard / Android / data / appPackageName" and it has the file "file2.txt" (or even the same name) on primary external storage on the path "/ Storage / emulate / 0 / Android / data / appPackageName". After switching, what will happen to these files? How would they merge into one folder, if at all?
When the user selects their SD card as “Adoptable Storage Devices”, the user needs to format the SD card as internal storage using “Format as Internal” . Format means that all data / files stored on the SD card will be deleted. Similarly, when a user wants to remove his SD card from "Adoptable Storage Devices", the user again needs to format his SD card as portable storage using the "Format as portable" option.
- When moving the application to the SD card (using "Adoptable Storage Devices"), does this mean that the internal memory will not be used?
Yes, the original internal storage will not be used. Only SD card storage will be used, since after selecting the SD card as "Adoptable Storage Devices". All data / cache will be saved on the SD card.
VicJordan Aug 26 '15 at 5:04 on 2015-08-26 05:04
source share