A Collection of Useful adb Commands for Android
Join the DZone community and get the full member experience.Join For Free
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.
Opinions expressed by DZone contributors are their own.