Enumerating activities
drozer also offers a useful module for enumerating information about the activity components available on a target Android device. The following recipe demonstrates the use of this module.
How to do it...
You may at some point want to find out which activities are installed and exported on your device. The drozer framework makes this pretty easy, here's how to do it:
Fire off the following command from your drozer console:
dz> run app.activity.info
This command will list all the activities that are exported on your device.
There's more...
You may want to get a little more information about the activities on your device; for example, listing all applications that have a certain name or a certain string in their name, such as "browser" or "facebook", which applications have what permissions, or even search for unexported activities. Here's how to do that:
Search for activities based on name by executing the following command:
dz> run app.activity.info –-filter [activity...