快速入门
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
入门级项目演示了 Google Mirror API 的主要功能,为理解 Glassware 的简单工作原理打下了坚实的基础。请继续阅读,了解如何针对您的首选语言设置和部署起始项目。
浏览快速入门项目演示
在开始编码之前,您可以查看入门项目的完全部署版本,以了解其工作原理:
- 导航到 https://glass-python-starter-demo.appspot.com。系统会显示 OAuth 2.0 权限请求屏幕。
- 向初始项目授予对您 Google 帐号的访问权限。此帐号应该与您用于 Google Glass 设备的帐号相同。
- 使用提供的控件来控制 Google Mirror API 的入门级项目练习功能。
- 使用 Glass 设备查看入门级项目演示创建的时间轴项。
后续步骤
现在,您该下载并部署您自己的快速入门项目了,然后开始针对您自己的 Glassware 修改该项目!查看相应语言版本的快速入门项目:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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)"]]