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?
Asked
Active
Viewed 38 times