Search code examples
androidandroid-sensorsandroid-install-apk

Check if phone got sensor at installing application


Basically I am wondering what title says. I searched on internet and coudn't really find answear. So anyone know's if is possible to check if phone got specific sensor ( example linear-acceleration ) before you install apk. I don't know maybe when you agree to permission gives you warring " you dont have this sensor " or something ?


Solution

  • The only solution that came into my mind is to dig through the 'Supported Devices' list on the google play developer console and only choose devices which have the sensor you need.