Launching Activities via ADB

How to launch a package via ADB commands.
March 31, 2026

Launching Activities via ADB

When developing on an Android device or emulator, there are times when you need to check the exact name of an installed package or find information about a specific screen (Activity).
We summarize how to check this through ADB (Android Debug Bridge) commands and launch the desired Activity directly.

1. Get ADB Root Permissions

First, obtain root permissions to run system commands smoothly.
Adb root command
sh

2. Check Installed Package List

You can see a list of all packages installed on the system using the pm list packages command.
List all installed packages
sh

3. Analyze Activity Information for Specific Packages

Use the resolve-activity command to check which Activity a specific component consists of, or what the intent filter information is.
Resolve activity for settings
sh

4. Launch Activity Directly

Based on the analyzed Activity information, you can use the am start command to launch the screen immediately.
Start activity directly
sh
Using the package name/class name format as shown above allows you to launch not only the app's main screen but also specific settings screens exposed to the outside.
Jooojub
System S/W engineer
Explore Tags
Series
    Recent Post
    © 2026. jooojub. All right reserved.