May 1, 2014 Subname: GetSDK Description: Returns the SDK number from the Device running this code B4X: Sub GetSDK() As Int Dim p As Phone Return p.SdkVersion End Sub Tags: SDK, sdkversion Example B4X: Log("SDK="&GetSDK) ' SDK=19 (on my Phone) Click to expand...
Subname: GetSDK Description: Returns the SDK number from the Device running this code B4X: Sub GetSDK() As Int Dim p As Phone Return p.SdkVersion End Sub Tags: SDK, sdkversion Example B4X: Log("SDK="&GetSDK) ' SDK=19 (on my Phone)