以下のサンプルは、Glass Enterprise Edition 2 用のアプリを構築する際に利用できます。
カードのサンプル
次のサンプルは、基本的な UI を作成する方法を示しています。
![テキストカードの UI の例](https://developers.google.cn/static/glass-enterprise/images/card_sample_4.png?authuser=6&hl=ja)
![サンプルの列カードの UI](https://developers.google.cn/static/glass-enterprise/images/card_sample_5.png?authuser=6&hl=ja)
![サンプル メニュー UI](https://developers.google.cn/static/glass-enterprise/images/card_sample_6.png?authuser=6&hl=ja)
Camera2 サンプル
次のサンプルは、Camera2 API を使用して写真や動画を撮影する方法を示しています。
![写真を撮る](https://developers.google.cn/static/glass-enterprise/images/camera_sample_4.png?authuser=6&hl=ja)
![動画を撮影](https://developers.google.cn/static/glass-enterprise/images/camera_sample_5.png?authuser=6&hl=ja)
![録画](https://developers.google.cn/static/glass-enterprise/images/camera_sample_6.png?authuser=6&hl=ja)
Camera2 のサンプル をご覧ください
ギャラリー サンプル
次のサンプルでは、写真や動画を閲覧、削除する方法を示します。
![ギャラリー画像](https://developers.google.cn/static/glass-enterprise/images/gallery_sample_1.png?authuser=6&hl=ja)
![全画面表示の画像](https://developers.google.cn/static/glass-enterprise/images/gallery_sample_2.png?authuser=6&hl=ja)
![メニュー オプションを削除](https://developers.google.cn/static/glass-enterprise/images/gallery_sample_3.png?authuser=6&hl=ja)
ギャラリー サンプル をご覧ください
QR コードスキャナのサンプル
次のサンプルは、カメラで QR コードをスキャンする方法を示しています。これには CameraX API と ZXing ライブラリを使用します。
![ギャラリー画像](https://developers.google.cn/static/glass-enterprise/images/qr_scanner_sample_1.png?authuser=6&hl=ja)
![全画面表示の画像](https://developers.google.cn/static/glass-enterprise/images/qr_scanner_sample_2.png?authuser=6&hl=ja)
![メニュー オプションを削除](https://developers.google.cn/static/glass-enterprise/images/qr_scanner_sample_3.png?authuser=6&hl=ja)
QR コード スキャナのサンプル をご覧ください
音声認識のサンプル
次のサンプルアプリは、組み込みの音声認識機能を示しています。
![音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_recognition_1.png?authuser=6&hl=ja)
![音声認識アプリが音声画面をキャプチャします](https://developers.google.cn/static/glass-enterprise/images/voice_recognition_2.png?authuser=6&hl=ja)
![結果が表示されている音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_recognition_3.png?authuser=6&hl=ja)
メモのサンプル
次のサンプルアプリでは、組み込みの音声コマンド機能と、その機能を音声認識機能で使用する方法を示しています。
![音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_commands_1.png?authuser=6&hl=ja)
![音声認識アプリが音声画面をキャプチャします](https://developers.google.cn/static/glass-enterprise/images/voice_commands_2.png?authuser=6&hl=ja)
![結果が表示されている音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_commands_3.png?authuser=6&hl=ja)
メモのサンプル をご覧ください
音声コマンドを再読み込みするサンプル
次のサンプルアプリは、音声コマンドを再読み込みする方法と、音声コマンドでデバッグモードを有効にする方法を示しています。
![音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_commands_reloading_1.png?authuser=6&hl=ja)
![音声認識アプリが音声画面をキャプチャします](https://developers.google.cn/static/glass-enterprise/images/voice_commands_reloading_2.png?authuser=6&hl=ja)
![結果が表示されている音声認識アプリのメイン画面](https://developers.google.cn/static/glass-enterprise/images/voice_commands_reloading_3.png?authuser=6&hl=ja)
音声コマンドの再読み込みのサンプル をご覧ください
ジェスチャー検出機能のサンプル
Glass Enterprise Edition 2 デバイスの基本的なナビゲーションは、タッチパッドでのジェスチャー イベントの検出と対応で構成されます。詳しくは、入力とセンサーのページをご覧ください。実装の詳細については、このサンプルをご覧ください。
WebRTC のサンプル
WebRTC を使用したビデオ会議のデモを行っているコールセンター アプリケーションの例