My app uses "Orientation Sensor", as you can see here:
SensorManager sensorMgr = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
Sensor sensor = sensorMgr.getDefaultSensor(Sensor.TYPE_ORIENTATION);
I want to define < uses-feature> in my Manifest file in order to enable my app only for devices which can actually use this sensor, a.k.a. devices which have "Orientation Sensor".
The problem is that the available features does not include Orientation Sensor. The included sensors are:
- Accelerometer
- Barometer
- Compass
- Gyroscope
- Light
- Proximity
(As mentioned here: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#hw-features)
Which sensor should I choose? Is it accelerometer, compass or gyroscope?