在Windows或Linux上，Alt + F4关闭专注的应用程序（井，窗口）。 Android（9.0派）是否有类似的东西？我有一个带键盘但没有功能键的手机。我发现很难相信这是不可能的，但我无法谷歌它。
On Windows or Linux, ALT+F4 closes the application (well, window) that is focused. Is there anything similar on Android (9.0 Pie) ? I have a phone with a keyboard but without function keys. I find it hard to believe this is impossible yet I was unable to google it out.
In Android 9:
To go home you can press "Windows key" (if you have a keyboard for
Windows) plus "Enter".
Press "Win key" plus "-". Android will show you all shortcuts.
Other way, if you already have plugged your keyboard, go to "Settings" and search "Physical keyboard", there you will find configuration needed.
In my device (Redmi Note 5) we can force close app by pressing back button for about 3 - 5 second.. :)
I'm on Android Pie as well, and under the keyboard settings (Language and Input), there is a physical keyboard section which lists out the shortcuts available (example). If your keyboard doesn't come with a function key, you may need to find a mobile equivalent to AHK that can bind a certain key input or combination to invoke the meta key input. Also note you may be able to send a keyinput event through ADB or your device's local shell terminal, which then might be made more accessible through various automation methods, some of which may have device-dependent factors.
Note: though it doesn't seem to appear on the list, I distinctly recall Alt+F4 working with a keyboard? Will verify on current device when I get the chance.
Here is what works for me:
Note: Hold down the Right-Alt key the entire time:
o Tab to get list of running apps.
o Pick the app to close, then Down arrow, then Space to actually close it.
o Repeat for other apps.
o When done, release right-alt key
I got a video projector a few months back that is running Android as a base OS, to which I attached a cheap wireless generic Windows keyboard. Projector is running some older version of Android. F3 also brings up the list of current apps, but it also seems to immediately context-switch to the selected app. The same happens when you Alt-Tab and don't hold down the Alt key. Hope this helps!