Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the keyevent code for the overview key?

Tags:

android

adb

What event code needs to be sent for the overview key with adb shell input keyevent <code>?

like image 972
Adam Avatar asked Nov 05 '25 05:11

Adam


1 Answers

Assuming you mean the button that shows the list of opened apps, it's KEYCODE_APP_SWITCH:

KEYCODE_APP_SWITCH

Added in API level 11 int KEYCODE_APP_SWITCH Key code constant: App switch key. Should bring up the application switcher dialog.

Constant Value: 187 (0x000000bb)

For using it with adb shell input, you can simply use the name:

adb shell input keyevent KEYCODE_APP_SWITCH
like image 147
FD_ Avatar answered Nov 06 '25 18:11

FD_



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!