|
|
|
|
SysStatusExternalStorage (Function) In french: SysEtatStockageExterne Returns the availability status of the external storage space of the device. This function must be used before the operations for reading/writing on the storage space to check whether this one is available.
// Retrieves the path of the directory that will be used to store the application files // on the primary external storage space of application IF SysStatusExternalStorage(1) = sseAvailable THEN RESULT SysDirExternalStorage(1, sseAppFile) ELSE RETURN "" END
Syntax
<Result> = SysStatusExternalStorage(<Index>)
<Result>: Integer constant Current status of the storage card on the device: | | sseAvailable | You have the ability to read and write on the external storage space. | sseUnavailable | You cannot read and write on the external storage space. | sseReadOnly | You have the ability to read on the external storage space. |
<Index>: Integer Index of the external storage space to be used (if the device includes several external storage spaces). Remark: SysNbExternalStorage returns the number of external storage spaces found on the device. 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).
- SysRemovableExternalStorage is used to find out whether a storage space corresponds to the movable memory (SDCard) or not.
Component: wd280android.jar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|