ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// 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:
sseAvailableYou have the ability to read and write on the external storage space.
sseUnavailableYou cannot read and write on the external storage space.
sseReadOnlyYou 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: wd290android.jar
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 04/11/2023

Send a report | Local help