Is there a way to distinguish Android Arm os from the Android x86 os in JavaScript?

440 Views Asked by At

To detect the Android OS, we could search the navigator.userAgent string for the 'Android' key word.

However, my question is how to detect whether it's an Android Arm device or an Android X86 device?

1

There are 1 best solutions below

1
pawelo On

Try this one:

System.getProperty("os.arch");

Original post: API call to get processor architecture