Interacting with the activity manager via ADB

Getting to know the Android Debug Bridge (ADB) is quite crucial to any budding Android security specialist. The ADB allows you to interact directly with the native services and resources, such as the package manager, activity manager, and other various daemons that are crucial to an Android system's operation used by the Android system. This recipe will provide details on how to interact with the activity manager by demonstrating a few commands that you can fire off.

Getting ready

Before we start, you will need the following things:

  • The Android SDK tools
  • Either a virtual device, see the Inspecting the AndroidManifest.xml file recipe to find out how to create and launch one, or a physical Android device ...

Get Android Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.