LoginSignup
6
6

More than 5 years have passed since last update.

Google glassでのスクリーンショットの取得方法

Last updated at Posted at 2014-02-21

Google Glassはエミュレータが公開されていませんので、その開発には実機を使うことになります。したがって、スクリーンショットを取得する場面が多く発生します。Google Glassでスクリーンショットを取得するには、screencapを使います。

以下のように、adb shellでscreencapを実行し、adb pullで取り込みます。
この場合、スクリーンショットがscreenshot-test.pngに保存されます。

$ adb shell /system/bin/screencap -p /sdcard/screenshot-test.png
$ adb pull /sdcard/screenshot-test.png
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6