开发者

Uses-feature accelerometer in the manifest

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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜