Android Wear and wearables have been one of the top products of 2014. And this is a product that is beginning, as we have seen are updated eg smartwatches with new customizations for Motorola Moto 360 or revision of the LG G Watch with circular screen (LG G Watch R). However, not only has updated the hardware, but so has the software: Android Wear both the application and the operating system itself. In addition, after the community is behind Android and its variants like Android Wear, where we collect customizations, ROMs or simply tricks and trivia.
In addition, precisely that we are going to focus today on a trick, specifically one of those tricks that especially every programmer is going to come of pearls, to catch the improvements screenshots to promote your app (something critical as we saw in as advised by Google at the time of publishing an app).
- Using ADB directly
While on a device with Android was as simple as pressing both keys Volume Down and Power in Android Wear is not so simple. In fact, for now we have to resort to the ADB tool. If you have not already installed, you can use this quick installer, available from the xda-developers community (we say “No” to the Install Wizard When asked whether to install device drivers): Quick Install ADB
Then we must ensure that activate the options for developers in the smartwatch. To do this, we will go to Settings / About and will press on the build number several times, as I already explained above.
Once this is done, we already enabled development options, we enable ADB debugging, so we have to accept that connects the RSA Fingerprint identifying our wearable (we will get a dialog box on your mobile device):
The next step is to capture itself, for which from our computer we will use ADB:
adb shell screencap -p /sdcard/pantallazoEAL.png
Finally, since the catch is stored in the wearable own, we must export the file to your hard drive:
adb pull /sd/card/pantallazoEAL.png C:\
Where C: \ is the address where you want to save the file on your computer.
- Through Android Studio
But if the case we already have installed even Android Studio, simply that once we have our device connected for Bluetooth debugging, we use GUI Android Studio where we can catch a glimpse of any Android device (or Android Wear) that it is connected.
Moreover, the great advantage of this method is that Android itself Studio will allow us to add a wearable frame (both rectangular and round) and add shadows or shine capture, to give much more realistic feel.