I am trying to find out if my App is running on a ChromeBook and found this code:
https://stackoverflow.com/questions...f-android-app-is-running-in-chrome-book-or-in
Which I converted to this B4A code
On an Android device this returns False.
Can someone tell me if on a ChromeBook this actually returns True
BobVal
https://stackoverflow.com/questions...f-android-app-is-running-in-chrome-book-or-in
Which I converted to this B4A code
B4X:
Private Sub IsChromeBook As Boolean
Dim r As Reflector
r.Target = r.GetConte
r.Target = r.RunMethod("getPackageManager")
Return r.RunMethod2("hasSystemFeature", "org.chromium.arc.device_management", "java.lang.String")
End Sub
On an Android device this returns False.
Can someone tell me if on a ChromeBook this actually returns True
BobVal