O'Reilly logo

Android Security Cookbook by Scott Alexander-Bown, Keith Makan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required