Android APIs .... Use getSensorList(int) to get the list of available Sensors. ... int, TYPE_ORIENTATION, This constant was deprecated in API level 8. use ...
developer.android.com