check if it is running in emulator or real phone