PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 information about the Android version used by the application.
Example
// The Bluetooth functions are available
// from the Api Level 5 (Android "Eclair" 2.0)
IF Val(SysAndroidVersion(sysVersionApiLevel)) >= 5 THEN
// Enables the bluetooth on the device
BTActivate(True)
END
Syntax
<Result> = SysAndroidVersion([<Type of information>])
<Result>: Character string
  • Requested information about the Android version.
  • Empty string ("") if an error occurred.
<Type of information>: Optional Integer constant
Indicates the requested information:
sysVersionApiLevelApi Level of Android.
sysVersionNumberVersion number of Android.
For example: "1.5", "2.2", "2.3.3", ...).
sysVersionPlatformName of the major version of Android:
  • "Cupcake"
  • "Donut"
  • "Lightning"
  • "Froyo"
  • "Gingerbread"
  • "Honeycomb"
  • "Ice Cream Sandwich"
If the name of the version is not known, <Result> corresponds to an empty string ("").
Related Examples:
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
Component : wd250java.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment