Is there a method to detect an emulator except using BUILD?

53 Views Asked by At

I have an android application. I want it to run differently when it runs on an emulator. So to detect an emulator from the code, I came across this! But all the solutions given here are using BUILD class to detect which doesn't work on all emulators. So is there any other method to detect an emulator from the code?

0

There are 0 best solutions below