{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Google Glass开发指南

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Google Glass开发指南

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

国内第一本Google Glass开发指南
国内Google Glass中文应用开发团队倾力打造
众多知名科技媒体联袂推荐 全面引领穿戴技术革命

Content Description

《Google Glass开发指南》详细讲解了Google Glass 开发中最重要的Mirror API 的用法,内容主要包括Timeline、Menu、Subscription、Location 等主要组件,并以一个完整的应用示例,将各个主要的API 在真实场景下的应用直观地展现给读者,使读者可以很快掌握Google Glass 开发技术。最后还对如何提高Google Glass 应用的性能和交互设计给出了一些合理的建议。
Author Description

BestApp工作室,由一群富有青春活力的年轻“极客”组成,专注于穿戴式设备的软件开发。其创始人为Anson Ho,中国首个Google GLass开发团队GlassX负责人,同时也是GDG广州(谷歌中国开发者社区)负责人,广州贝塔咖啡创始成员和股东。

Comments

“我觉得,谷歌首先要颁一个奖给Anson,褒奖他在中国为Google Glass代言。从某种程度上看,Google Glass好像是不属于中国的,而Anson及其团队却快乐而执着地把它带到中国来,带到我们的生活中,开发中文的Glass应用。打开这本书,大胆去想,大胆去开发,可穿戴设备需要的就是那种颠覆式的疯狂,不信你看看Anson的发型就知道了。”
——冯大辉,丁香园CTO,微信“小道消息”出品人

“立功,立德,立言。Anson和他的小伙伴们以他们的方式推动了Google Glass在国内开发的诸多实践,值得嘉许。”
——林军,雷锋网创始人

“Google Glass和Android是近几年科技界最让人心潮澎湃的两件伟大作品,它们代表的是最新最酷的技术。我曾在国内普及Android技术,亲历了Android的爆发,而Anson及其团队毫无疑问是国内Google Glass开发最前沿的一群极客。你能做的是尽快拿起这本书,体验不一样的技术人生!”
——Iceskysl(姚尚朗),eoe移动开发者社区创始人、极客学院创始人

“当前不是最流行但是最有发展前景的技术,带来的发展机会最大,比如1999年的Web开发技术,2009年的移动开发技术。现在正进入智能硬件时代,快来掌握Google Glass开发技术吧。”
——蒋涛,CSDN创始人&董事长

“Google Glass毫无疑问是智能设备的革命之作,它为我们观察世界打开了一扇窗。而Anson及其团队的力作为开发者打开了Google Glass的另外一扇窗,它可以让更多人感知美丽世界的希望和未来。”
——王伟兴,爱范儿创始人

Catalogue

第一部分Google Glass简介
1.1 Google Glass的特点
1.2 Google Glass的历史
1.3 Google Glass的硬件参数
2.1 初始化
2.2 Glass的基本界面
2.3 安装Glassware
2.3.1 安装 glass.google.com/glassware 的软件
2.3.2 安装 glassx.cn/xwares 的软件
2.4 重置Google Glass
2.4.1 备份图片和视频
2.4.2 重置Google Glass
2.5 安装和使用MyGlass软件
2.5.1 安装MyGlass
2.5.2 开始使用MyGlass
2.5.3 配对Google Glass
2.5.4 添加联系人
3.1 设计理念
3.2 基本交互
3.2.1 界面组成
3.2.2 卡片的放置
3.3 操作方式
3.3.1 语音指令
3.3.2 触摸板操作
3.4 菜单

第二部分Google Glass开发起步
4.1 创建Google API服务项目
4.2 OAuth 2.0快速入门
4.3 实战应用授权
5.1 读写Timeline
5.1.1 创建卡片
5.1.2 获取卡片
5.1.3 修改卡片
5.1.4 获取整个Timeline
5.1.5 删除卡片
5.2 定义卡片样式
5.2.1 显示Timeline Card
5.2.2 Timeline Card中的HTML
5.2.3 用CSS美化Timeline Card
5.3 添加菜单
5.3.1 为卡片添加菜单
5.3.2 打开外部资源
5.3.3 拨打电话
5.3.4 自定义菜单项
6.1 订阅用户动作
6.1.1 创建订阅
6.1.2 取消订阅
6.1.3 处理菜单项的点击操作
6.2 Contact和分享
6.2.1 创建Contact
6.2.2 对Contact的分享功能进行细化定制
6.2.3 响应分享动作
6.2.4 启动器入口
6.2.5 处理启动请求
6.3 地理位置信息
6.3.1 获取用户已知的最新位置
6.3.2 订阅位置更新
6.3.3 向用户推送包含地理位置信息的Timeline卡片

第三部分实战Mirror API开发
7.1 安装Node.js
7.1.1 Windows
7.1.2 Mac OS X
7.1.3 Linux
7.2 搭建代理服务器
8.1 准备工作
8.2 建立项目
8.3 Google账号授权
8.4 向Glass推送包含空气质量信息的Timeline Card
9.1 准备工作
9.2 根据位置获取指定城市的空气质量信息
10.1 设计卡片外观
10.2 添加刷新功能

第四部分进阶原生开发
11.1 配置JDK和ADT
11.2 安装官方项目
11.3 新建Glassware开发项目
12.1 GDK用户界面简介
12.2 静态卡片
12.3 实时卡片
12.3.1 低频率渲染
12.3.2 高频率渲染
12.3.3 如何立即显示发布的Live Card
12.4 Immersion
12.4.1 创建Immersion
12.4.2 创建和显示菜单
12.4.3 显示菜单项
13.1 GDK手势输入
13.1.1 创建Activity级别的手势检测
13.1.2 创建视图级别的手势
13.1.3 通过D-pan值检测手势
13.2 Glass语音输入
13.2.1 为Glassware添加语音启动
13.2.2 为Glassware添加语音输入
14.1 Glass摄像头
14.1.1 调用系统自带的拍照程序完成拍照
14.1.2 用Android摄像头API建立自定义逻辑相机软件
14.2 位置和传感器
14.2.1 Glass上位置数据的获取
14.2.2 传感器开发

第五部分如何设计一款好的Glassware
15.1 Glass设计原则
15.2 Glass UI准则193语音指令设计
17.1 XHotel
17.1.1 需求及问题分析
17.1.2 解决方案及思路
17.1.3 最终效果
17.2 XShare
17.2.1 需求及问题分析
17.2.2 参考方案以及解决方案
17.2.3 最终效果
附录 Glassware开发中的细节和规范

Introduction

不要用昨日的思维解决今天的问题。——爱因斯坦
某个冬日的下午,坐在阳光房的楼梯上,久违的阳光轻柔地照在我的身上,也照在笔记本电脑、iPod和我头上戴着的Google Glass上。耳机传来小野丽莎和萨斯风慵懒的声音。是的,我们就身处这样一个真实的世界里,充满着各种各样的美好,可以触摸,可以聆听,可以看见。
科技到底离我们有多远?这是个有意思的问题。童年时各种奇思妙想的精灵、外星人和机器人,科幻片里神奇的工具、盔甲、武器,等等,这些场景和画面是否勾起了大家的回忆和共鸣?现在回首看看,很多已经出现在现实生活中了:电脑、智能电话、无人驾驶汽车、生物科技、人脸识别、语音操作、Siri,等等。
Google Glass是智能时代的下一个里程碑
我相信当你翻开这本书的时候,一定对Google Glass有了或多或少的了解。
我们是幸运的,见证了智能时代的下一个神物:Google Glass,它预示着穿戴式智能设备时代的到来。这是人和机器有史以来最贴近的一个时代,穿戴式智能设备神奇般地增强了人类的感官功能和智慧。眼睛看到的不再只是眼前的一切了,而是你想要知道的一切,不管它在不在眼前。对信息的获取、分享和交流都会以一种颠覆现有人机交互习惯的方式进行——一句话、一点头、一眨眼就能瞬间完成。
已实现的功能
Google Glass已实现的功能如下:
· ok glass
· take a picture
· make a call to...
· get directions to...
……
在Google Glass待机状态下,只要你一眨眼就可以拍照。
未来的功能
未来,Google Glass可能实现的功能如下所示。
· 你戴着Google Glass参加派对,眼前飘过一位漂亮的MM,于是你借助眨眼或点头按下了“点赞”按钮。
· 司机戴着Google Glass,通过汽车的蓝牙会与Glass自动配对,仪表盘的信息影射在了他眼前:汽车报警——油量不足了,Google Glass会提供解决方案,自动导航到最近的加油站。
· 医生戴着Google Glass,做手术时不必再扭头看屏幕,病人的资料和相关的画面都已投射到了医生的眼前。
· 足球教练戴着Google Glass,根据场上运动员的奔跑距离、体能状况和后防线承受对手的压力,即时调整阵容。
· 导演戴着Google Glass,直播拍摄现场的画面,影迷们仿佛亲临现场,更早地关注到影片和自己关注的明星。
总之,未来Google Glass会实现你奇思妙想库里的各类想法!
我们是GlassX团队,一群普通、平凡、爱做梦的人。一个幸运的机会,我们拿到了Google Glass,开始了在Google Glass上的应用开发之旅。在做了一系列的应用和尝试后,我们希望借助这本书,与各位读者分享在Google Glass上经历的迷幻般的开发点滴。
谁应该阅读本书
充满颠覆精神的极客,希望在穿戴智能设备领域做一些有趣事情的同学,有点Web开发或者Android开发经验的程序员和产品经理,你们就是本书要奉献的读者。我们还希望读者能够熟悉关于HTML、CSS、JavaScript以及Android开发的基本知识,也就是说,能够读懂本书的源代码。书中的代码可以直接从GitHub网站上下载 。
怎样阅读本书
本书第一部分详细讲解了Google Glass的历史、配置、系统,以及如何使用Google Glass。如果你手上没有Google Glass,或者你拿到Google Glass不知道如何使用,那么请详细阅读这一部分。
第二部分基本将Google Glass的API介绍了一遍,同时也和大家分享了我们团队的一些开发实践。
第三部分为实战部分,主要讲了如何在本地调用Google Glass或者微信等在线服务的callback。不过,本部分要求读者有一定的JavaScript基础。
第四部分是现在为数不多的GDK介绍,不仅包含了官方的GDK内容,还提供了一些例子介绍Google Glass各个传感器的使用,所以熟悉Android开发的同学千万不要错过这一部分内容。
最后一部分讨论了如何设计出一款出色的Google Glass应用。从UI到语音的设计要素,都在这一部分进行了详细说明。
关于Google Glass的重要信息
本书是针对Google Glass的应用开发编写的。因为Google Glass的核心团队不断改进Google Glass,所以随着时间的推移,Google Glass及其软件开发规范都可能会有所调整,从而出现版本不兼容的情况,导致本书的样例代码无法运行。为了避免出现这种情况,我们会在GlassX.cn和图灵社区上保持更新。
Google Glass是Google公司尚未正式开售的产品,因此,本书仅限于Google公司的Google Glass Explorer Edition版本进行开发,关于Google Glass硬件的最终解释权归Google公司所有。
关于GlassX
GlassX是由一群富有青春活力的年轻“极客”组成的团队,专注于穿戴式设备的软件开发。我们的目标是努力推进穿戴式设备的软件生态的发展。通过对Google Glass的使用和理解,我们一直在尝试为穿戴式设备设计和开发各种类型的应用,并十分乐意与大家分享这些设计和开发经验。
我们期待着这一波信息革命的到来,并做好准备迎接它——Free your hands, free your mind。
写在最后
这是我们GlassX团队写的第一本书,我们是一群普通人,和读者你是一样的。因此,我们希望大家对本书出现的纰漏能够谅解并不吝赐教。
无论是在阅读中还是在实际开发中,大家不可避免地会遇到很多问题,这个时候,你可以来我们的论与我们联系,我们很乐意和大家交流。
梦想和创造是一件快乐的事情。让我们现在就捋起衣袖,Make something happen and make something better!

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book