See more posts like this on Tumblr
#Android DevelopmentMore you might like
Easy screenshots
We take screenshots a lot at Tumblr, and it’s a bit tedious to find the ‘screenshot’ button in Android Studio, save the screenshot, navigate to it, and open it in finder. Here’s an alias that does it all in one step:
alias ss=“adb shell screencap -p | perl -pe ’s/\x0D\x0A/\x0A/g’ > screen.png && open screen.png”
Credit: http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html