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 number of external storage spaces found on an Android device.
Example
// Retrieves the path of the directory that will be used to store the application files
// on the secondary external storage space of the application
nNB is int = SysNbExternalStorage()
IF nNB > 1 THEN
RESULT SysDirExternalStorage(2, sseAppFile)
ELSE
RESULT ""
END
Syntax
<Result> = SysNbExternalStorage()
<Result>: Integer
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.
    Before accessing a directory found in the external storage area of the device, we advise you to check its availability with SysStatusStorageCard.
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment