|
|
|
|
|
SysRemovableExternalStorage (Function) In french: SysStockageExterneAmovible Used to find out whether the external storage space corresponds to the movable memory (SD Card).
FOR i = 1 _TO_ SysNbExternalStorage()
IF SysRemovableExternalStorage(i) _AND_ SysStatusExternalStorage(i) = sseAvailable THEN
fCopyFile(sFile, SysDirExternalStorage(i, sseAppFile))
BREAK
END
END
Syntax
<Result> = SysRemovableExternalStorage(<Index>)
<Result>: Boolean - True if the external storage space corresponds to movable memory,
- False otherwise.
<Index>: Integer Index of the external storage space to be used (if the device includes several external storage spaces). Note: SysNbExternalStorage returns the number of external storage devices. Remarks - The same device can contain several external storage areas (for example, an area corresponds to the "external" partition of permanent memory and another area corresponds to the SDCard).
- Before accessing a directory located in the external storage area of the device, it is recommended to check its availability with SysStatusStorageCard.
- Note: This function is available from Android 5.0 onwards.
Component: wd300android.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|