AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones del sistema
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
SysRemovableExternalStorage (Function)
In french: SysStockageExterneAmovible
Used to find out whether the external storage space corresponds to the movable 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 movable memory,
  • False otherwise.
<Subscript>: 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).
  • Before accessing a directory located in the external storage area of the device, it is recommended to check its availability with SysStatusStorageCard.
  • Caution: This function is available from Android 5.0.
Component: wd290android.jar
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/04/2023

Señalar un error o enviar una sugerencia | Ayuda local