android - Check if device has hardware volume controls? -


some devices kindle fire not have hardware buttons volume, going add on screen controls, don't want have them there if not necessary.

i can't find info on this, i've looked in packagemanager features, plus configuration.

is true maybe devices have hardware volume controls exception of kindle fires?

android.view.keycharactermap.devicehaskey(keyevent.keycode_volume_up) 

Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -