I am developing an Android application that uses sensors, and I would like to know how best to determine if the device has a specific sensor, say, a proximity sensor.
Also, is there any “filter” that can be applied to the manifest, so users who don’t have a proximity sensor on their device will not be able to install the application ? If there is, this "filter" will also be valid on Google Play, so users will not be able to see the application ? I am new to Android development, any help is greatly appreciated. Thanks everyone!
source
share