Changes between Version 33 and Version 34 of android


Ignore:
Timestamp:
Feb 17, 2013, 5:01:08 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • android

    v33 v34  
    339339{{{
    340340adb shell /system/bin/screencap -p /sdcard/screenshot.png
    341 adb pull /sdcard/screenshot.png screenshot.png
    342 }}}
    343 
    344 An extended version that saves screenshots with a timestamp:
    345 {{{
    346 adb shell /system/bin/screencap -p /sdcard/screenshot.png
    347 adb pull /sdcard/screenshot.png temp.png
    348 touch screenshot
    349 mv --backup=simple --suffix=$(date +%Y%m%d%H%M%S).png temp.png screenshot
    350 rm screenshot
    351 }}}
     341adb pull /sdcard/screenshot.png screenshot-$(date +%Y%m%d%H%M%S).png
     342}}}
     343The resulting screenshot is saved in the current directory with a timestamp, so these commands can be run multiple times without overwriting the resulting file.
    352344
    353345=== Necessitas import and plugin paths (Ministro I.) ===