Android Code Snippet GetSDK

Subname: GetSDK

Description: Returns the SDK number from the Device running this code

Code: Copy
Sub GetSDK() As Int
    Dim p As Phone
    Return p.SdkVersion
End Sub

Tags: SDK, sdkversion

Example
Code: Copy
Log("SDK="&GetSDK) ' SDK=19 (on my Phone)
 
Back
Top