Current
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Report the app currently in the foreground, as a package name or bundle id. These call app_current.
Current
public string Current()
The package name or bundle id of the foreground app. Costs no extra device call: it reads the hierarchy a snapshot fetches anyway.
Examples
Ask which app is in front
string app = device.Current();
The same call from the command line, mobium current, printed on an Android 15 emulator:
com.android.settings