|
|
|
|
|
SysAndroidVersion (Function) In french: SysVersionAndroid Returns information about the Android version used by the application.
IF Val(SysAndroidVersion(sysVersionApiLevel)) >= 5 THEN
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: | | sysVersionApiLevel | Api Level of Android. | sysVersionNumber | Android version number. For example: "1.5", "2.2", "2.3.3", etc.). | sysVersionPlatform | Name 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:
|
Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS. The following system functions are used: - NFC - Multimedia control - Brightness - Volume - Wi-Fi - Bluetooth - Toast - Compass - Accelerometer - Camera control - LED - Vibration - Notifications - Drawing functions - Internet
|
Component: wd300android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|