Howto get device's features with adb Howto get device's features with adb i.e. whether it has e.g. accelerometer, screen is capable landscape mode, etc.

These values are set in XML during build:

&lt;feature name="android.hardware.sensor.accelerometer" /&gt;
&lt;feature name="android.hardware.screen.landscape" /&gt;
Sdk: 

adb shell getprop ro.build.version.sdk


Complete list: 

adb shell getprop


Through the package manager: 

adb shell pm list features