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
SysRemovableExternalStorage (Function)
In French: SysStockageExterneAmovible
Used to find out whether the external storage space corresponds to the moveable memory (SD Card).
Example
// Copy the file into the application directory on the phone SDCard
FOR i = 1 _TO_ SysNbExternalStorage()
IF SysRemovableExternalStorage(i) _AND_ SysStatusExternalStorage(i) = sseAvailable THEN
fCopyFile(sFile, SysDirExternalStorage(i, sseAppFile))
BREAK
END
END
Syntax
<Result> = SysRemovableExternalStorage(<Subscript>)
<Result>: Boolean
  • True if the external storage space corresponds to moveable memory,
  • False otherwise.
<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).
  • Before accessing a directory found in the external storage area of device, we advise you to check its availability with SysStatusStorageCard.
  • Caution: This function is available from Android 5.0.
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment