You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add recents / app switch key and an app force-stop or restart action #2
Problem
Actions are tap, longpress, swipe, scroll, type, back, home, launch_app and wait_for. There is no recents key and no way to kill an app. To test 'kill the app mid-session, reopen, check it recovers', I had to drive Settings → search → App info → Force stop → OK by hand.
That took about 2.5 minutes. In a turn-based online game the seat timed out and was forfeited, so the reconnect test was lost. A swipe-up gesture from the bottom edge did not open recents either.
Ask
A recents key action.
force_stop / restart_app for a package, via am force-stop when ADB is available, or the accessibility path otherwise.
Partly done in bc7b028: android-use adb recents, adb force-stop <pkg> and adb restart <pkg>. They take the daemon lease first and were tested with a fake adb, not a real phone. Leaving this open because they need USB debugging, so they don't help the accessibility-only setup in this report. Accessibility recents needs a new action in the shared core plus GLOBAL_ACTION_RECENTS in the companion, validated on a device. The current companion maps every key except back to home, so it must be updated first. There is no accessibility force-stop path yet.
v0.4.0 contains #13: recents through the accessibility companion, plus the phone_recents, phone_force_stop and phone_restart_app MCP tools (force_stop and restart_app still need ADB).
Activity
leeguooooo commentedon Oct 31, 2026
Partly done in bc7b028:
android-use adb recents,adb force-stop <pkg>andadb restart <pkg>. They take the daemon lease first and were tested with a fake adb, not a real phone. Leaving this open because they need USB debugging, so they don't help the accessibility-only setup in this report. Accessibility recents needs a new action in the shared core plusGLOBAL_ACTION_RECENTSin the companion, validated on a device. The current companion maps every key except back to home, so it must be updated first. There is no accessibility force-stop path yet.feat: recents on accessibility, phone_recents/force_stop/restart_app …
leeguooooo commentedon Nov 19, 2026
v0.4.0 contains #13: recents through the accessibility companion, plus the phone_recents, phone_force_stop and phone_restart_app MCP tools (force_stop and restart_app still need ADB).