快速入門
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本範例專案展示 Google Mirror API 的主要功能,並讓您掌握簡單概念的 Glassware 運作方式。請繼續閱讀,瞭解如何針對偏好語言設定及部署範例專案。
瀏覽快速入門專案示範
開始編寫程式碼之前,您可以先查看完整部署的範例專案版本,瞭解專案的運作方式:
- 前往 https://glass-python-starter-demo.appspot.com,OAuth 2.0 權限要求畫面隨即顯示。
- 將範例專案存取權授予您的 Google 帳戶。這個帳戶應該與您用於 Google Glass 裝置的帳戶相同。
- 使用 Google Mirror API 範例專案練習功能提供的控制選項。
- 使用 Glass 裝置查看範例專案示範建立的時間軸項目。
後續步驟
現在輪到您下載及部署自己的快速入門專案,並開始針對自己的 Glassware 修改專案了!查看您偏好所用語言的個別快速入門專案:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThe starter projects showcase the core functionality of the Google Mirror API and provide a basic understanding of Glassware development.\u003c/p\u003e\n"],["\u003cp\u003eA live demo of the starter project is available for exploration to understand its functionality before diving into coding.\u003c/p\u003e\n"],["\u003cp\u003eUsers can download and deploy their own quick start project in Java, PHP, or Python to begin building custom Glassware.\u003c/p\u003e\n"]]],[],null,["# Quick Start\n\nThe starter projects demonstrate the major functionality of\nthe Google Mirror API and gives you a good foundation in\nunderstanding how a simple piece of Glassware works.\nRead on to learn how to set up and deploy the starter\nproject for your preferred language.\n\nExploring the Quick Start Project Demo\n--------------------------------------\n\nBefore you start coding, you can see a fully deployed version of the starter project to\nget an idea of how it works:\n\n1. Navigate to [https://glass-python-starter-demo.appspot.com](https://glass-java-starter-demo.appspot.com). An OAuth 2.0 permission request screen appears. \n2. Grant the starter project access to your Google account. This should be the same account that you are using with your Google Glass device. \n3. Use the provided controls on the starter project exercise features of the Google Mirror API. \n4. Use your Glass device to see the timeline items created by the starter project demo. \n\nNext Steps\n----------\n\nNow it's your turn to download and deploy your own quick start project and start modifying it\nfor your own Glassware! Check out the individual quick start projects for your desired language:\n\n\u003cbr /\u003e\n\n[](/glass/develop/mirror/quickstart/java)\n[](/glass/develop/mirror/quickstart/php)\n[](/glass/develop/mirror/quickstart/python)"]]