Chester
(Chester Wilson)
1
Can anyone tell me why the function which is supposed to return the android version
iTJBuild_VERSION.JavaClass.SDK
returns 29 for android 10 and 36 for android 16? Should I be using something else instead? (Using this one at the suggestion of the net)
davidn
(Dave Nottage)
2
It returns the API level, which is different from the OS version.
For most purposes, using TOSVersion.Check from System.SysUtils e.g.
if TOSVersion.Check(16) then
// Do something available/applicable in Android 16 or higher
Is sufficient.