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 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
RETURN ""
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 movable memory (SDCard) or not.
    Before accessing a directory located in the external storage area of the device, it is recommended to check its availability with SysStatusStorageCard.
Component: wd290android.jar
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help