DEV Community

ItsEvilDuck
ItsEvilDuck

Posted on Originally published at itsevilduck.gumroad.com

Android Back Button Trigger via ADB

I've put together a small utility called Android Back Button Trigger via ADB. It's a straightforward shell script designed to send the 'Back' command to an Android device connected via ADB.

The primary use case is for situations where you have a dedicated Android device running a specific application or utility. This script allows you to remotely trigger the 'Back' action, which can be handy for dismissing dialogs, navigating menus, or simply going back one step in an application's flow without needing to physically interact with the device's screen.

If you're working with Android devices in a controlled environment, like a kiosk, a test setup, or a specialized utility device, and you need a simple way to simulate a back button press, this script should do the job. It requires ADB to be set up and the device to be connected and authorized.

You can find it here:
Android Back Button Trigger via ADB

Top comments (0)