Skip to main content

mobium background

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Send the app in front away for a while, and bring it back

Resumed where it was, not relaunched, and confirmed in front again — how a resume path is tested. Takes seconds, or a duration such as 5s or 1m; at most 180 seconds.

Usage​

mobium background <seconds> [flags]

Flags​

FlagTypeDefaultWhat it does
--appstringThe app to send away, which must be in front (default: the one in front)

And the global flags.

Examples​

Send the app away for five seconds, and bring it back​

mobium background 5

Printed on an Android 15 emulator:

com.android.settings was in the background for 5s and is in front again

More, from mobium background --help​

mobium background 5
mobium background 30s --app org.wikipedia

No screenshot: the app is off the screen for the seconds it is away, and back in front when the command returns.

The tool​

background calls app_background; its arguments and what every client calls it are there.