Whenever I call this method in the Android emulator:
SensorManager sensorManager = (SensorManager)getSystemService(Context.SENSOR_SERVICE);
The emulator hangs. When searching for this problem, I find a lot of references of this being fixed back in 2009, but I'm currently using the latest SDK/Tools available at the current time (Dec 2011). API level 8 / v2.2.
Must I really implement code for checking if I run in the emulator and avoid all sensor based code?