Over a million developers have joined DZone.

A Collection of Useful adb Commands for Android

· Java Zone

Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.

Looking for some shortcuts to make Android development a bit easier? This post from Daniel Imms provides just that when it comes to the Android Debug Bridge (adb). It's a no-frills collection of useful adb commands, covering essentials such as how to check what devices are connected, installing and uninstalling applications, starting an activity, and more. It doesn't cover everything - you can check out the adb docs to get all the options - but instead just the need-to-know commands.

Some are fairly obvious, but there are a few gems here that are not the most intuitive commands. For example, Imms points to a simple command from Sergei Shvetsov that takes a screenshot and uses Perl to output it to a local directory. Check out Imms' full post for all the tips and see if there's anything that might make adb more useful for you.

The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}