adb-shell
Verified for current stable LTS
Adb Shell Command: Start Activity
An engineer would use the command 'adb shell am start -n {{package}}/{{activity}}' to launch a specific activity of an Android application directly from the command line during development or testing to quickly verify its functionality without navigating through the app manually. Exact CLI syntax to start activity using Adb Shell.
When to use this: An engineer would use the command 'adb shell am start -n {{package}}/{{activity}}' to launch a specific activity of an Android application directly from the command line during development or testing to quickly verify its functionality without navigating through the app manually.
Command Syntax
adb shell am start -n <package>/<activity> adb shell am start -n <package>/<activity> Command Breakdown
-n- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to start activity using Adb Shell.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Adb Shell Command: Start Remote Shell
adb shell Adb Shell Command: Revoke Dangerous Permission adb shell pm revoke <package> <permission> Adb Shell Command: Start Home Activity adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN Adb Shell Command: Get Properties adb shell getprop Adb Shell Command: Reset Runtime Permissions adb shell pm reset-permissions