How to find out the names of operations in a package? Android ADB shell

I can get a list of all the packages installed on my Android, but to open the application I need the activity name and the package name. Is there a way to list all the actions in a package through the adb shell. The android manifest file extracted from the phone does not help, since it is a binary version of the file, therefore, does not contain significant information. And LAUNCHER 1, or the main action, works for many applications, but not for all. Therefore, I need to find out the exact name of the activity in the application.

Thanks.

+4
source share
1 answer

Here's how:

adb shell dumpsys package | grep -i " + (enter package name)  + " |grep Activity

This will give all the actions in this android package.

+8
source

Source: https://habr.com/ru/post/1613873/


All Articles