With the new tag of the AndroidManifest, is it also possible to define my application requires an accelerometer? It seems to me only light sensor and proximity s开发者_Go百科ensor are supported in the tag.
Thanks in advance.
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true" />
Is how I've declared it in my AndroidManifest, and I've yet to encounter anyone without an accelerometer with my app installed.
According to Documentation there is a sensor feature for accelerator "android.hardware.sensor.accelerometer"
精彩评论