PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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
RESULT ""
END
Syntax
<Result> = SysStatusExternalStorage(<Subscript>)
<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.
<Subscript>: Integer
Subscript of external storage space to use (if the device includes several external storage spaces).
Note: 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 moveable memory (SDCard) or not.
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment