This works on every device and emulator I've tried.
B4X:
Sub inEmulator As Boolean
Dim r As Reflector
Dim brand As String = r.GetStaticField("android.os.Build", "BRAND")
Return "generic" = brand.ToLowerCase
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.