Hide soft keyboard with adb

I want to hide the soft keyboard using adb shell command. Is there any specific command for this or in any way I can get the current focus window object over adb on which I can hide the keyboard if it is displayed?

+4
source share
1 answer

you can hide your keyboard with

adb shell input keyevent 111

You can find all the key events here: http://developer.android.com/reference/android/view/KeyEvent.html

+6
source

Source: https://habr.com/ru/post/1605926/


All Articles