am
Verified for current stable LTS
Am Command: Start Activity By Action And Category
Use for start activity by action and category with Am. Exact CLI syntax to start activity by action and category using Am.
When to use this: Use for start activity by action and category with Am.
Command Syntax
am start -a <android.intent.action.MAIN> -c <android.intent.category.HOME> am start -a <android.intent.action.MAIN> -c <android.intent.category.HOME> Command Breakdown
-a- Command Option
- Tool-specific option used by this command invocation.
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to start activity by action and category using Am.
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
Am Command: Start An Activity With A Specific Component Name
am start -n <com.android.settings/.Settings> Am Command: Start An Intent Action And Pass Data am start -a <android.intent.action.VIEW> -d {tel:123} Am Command: Start An Activity Matching A Specific Action And Category am start -a <android.intent.action.MAIN> -c <android.intent.category.HOME> Am Command: Convert An Intent To A URI am to-uri -a <android.intent.action.VIEW> -d {tel:123} Am Command: Start Activity By Component am start -n <com.android.settings/.Settings>