Android Question How to Get Device Serial Number on Android 10

lkching7

Member
Licensed User
Longtime User
device serial:
Sub GetDeviceSerialNo_KaXiang  As String
    
    Dim id As String
    NativeMe.InitializeStatic("android.os.Build")
    id = NativeMe.RunMethod("getSerial",Null)
    Log("Serial No : " & id)
    Return id
    
    
End Sub

Code Above Able to Get Serial Number on Android 8 and Android 9. But Will Return "Unknow" on Android 10.
 
Top