{{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

安卓编程指南及物联网开发实践

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

安卓编程指南及物联网开发实践

{{__(":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
Content Description

本书通过实例对Android系统下的应用开发进行了详细介绍,同时介绍了通过Android手机的开发实 现物联网开发实践。全书共分为10章,分别介绍了Android开发基础、用户界面设计、常用界面组件、 Activity组件、Intent与BroadCastReceiver组件、Service组件、数据存储与数据共享、网络编程、Android物联网应用编程及设备巡检实例等相关内容。
Author Description

陈志德,主要研究方向包括网络与信息安全、物联网与移动计算等,指导硕士研究生20多人,指导研究生的学位论文曾获校优秀硕士论文一等奖。近年来近年来主持福建省自然科学基金、福建省科技厅K类基金等项目10项,参与国家自然科学基金和省科技厅高校产学合作科技重大项目课题各1项。出版学术专著2本,教材1本。在Journal of Computer and System Sciences、Concurrency and Computation: Practice and Experience等期刊发表学术论文40多篇,申请专利10多项,软件著作权10多项。担任CTCIS和NSS等国内和国际学术会议的程序委员会委员。
Catalogue

第1 章 Android 开发基础 1
1.1 Android 系统简介 1
1.1.1 Android 系统的发展 1
1.1.2 Android 系统的框架 2
1.2 搭建开发环境 4
1.2.1 开发环境搭建准备 4
1.2.2 开发环境配置 5
1.3 Android 应用程序的构成 9
1.3.1 四大组件之Activity 9
1.3.2 四大组件之BroadcastReceiver 10
1.3.3 四大组件之Service 10
1.3.4 四大组件之ContentProvider 10
1.4 第一个Android 项目 11
1.4.1 创建Android 项目 11
1.4.2 Android 工程文件解析 12
1.4.3 生成Android 应用程序 17
1.5 小结 20
第2 章 用户界面设计 21
2.1 View 与ViewGroup 简介 21
2.1.1 View 22
2.1.2 ViewGroup 22
2.2 简单的控件 23
2.2.1 TextView 23
2.2.2 EditText 24
2.2.3 Button 26
2.3 布局 27
2.3.1 线性布局 30
2.3.2 相对布局 33
2.3.3 帧布局 36
2.3.4 表格布局 38
2.3.5 网格布局 40
文前.indd 4 2015-11-25 08:51:14
2.4 Android 的事件 41
2.4.1 事件概述 41
2.4.2 按钮事件 42
2.4.3 按键事件 44
2.4.4 触摸事件 47
2.5 小结 49
第3 章 常用界面组件 50
3.1 常用控件 50
3.1.1 ImageView 50
3.1.2 CheckBox 52
3.1.3 RadioButton 54
3.1.4 SeekBar 57
3.1.5 ListView 60
3.2 Android 菜单 64
3.2.1 选项菜单 64
3.2.2 上下文菜单 68
3.2.3 子菜单 69
3.3 信息提示类 71
3.3.1 Toast 71
3.3.2 AlertDialog 72
3.4 小结 73
第4 章 Activity 组件 74
4.1 Activity 简介 74
4.1.1 Activity 的生命周期 74
4.1.2 Activity 的回调方法 76
4.2 界面切换 81
4.2.1 不带返回值的启动Activity 83
4.2.2 带返回值的启动Activity 86
4.3 查看与输出日志信息 92
4.4 小结 93
第5 章 Intent 与BroadCastReceiver 组件 94
5.1 Intent 简介 94
5.1.1 Intent 的属性 94
5.1.2 Intent 过滤器 95
文前.indd 5 2015-11-25 08:51:14
安卓编程指南及物联网开发实践
5.2 隐式启动Activity 97
5.2.1 不含返回值的隐式启动 97
5.2.2 含返回值的隐式启动 100
5.3 BroadcastReceiver 组件 103
5.3.1 无序广播 103
5.3.2 有序广播 107
5.4 小结 110
第6 章 Service 组件 111
6.1 Service 简介 111
6.1.1 Service 的生命周期 111
6.1.2 Service 生命周期的描述 113
6.2 本地Service 119
6.2.1 本地直接启动Service 119
6.2.2 本地绑定Service 122
6.3 远程Service 125
6.3.1 提供Service 126
6.3.2 调用Service 131
6.4 小结 133
第7 章 数据存储与数据共享 134
7.1 SharedPreferences 存储 134
7.1.1 SharedPreferences 简介 134
7.1.2 SharedPreferences 的使用 135
7.2 文件存储 138
7.2.1 内部存储 138
7.2.2 外部存储 141
7.2.3 XML 文件存储 144
7.3 SQLite 数据库存储 147
7.3.1 SQLite 数据库简介 147
7.3.2 代码创建数据库 148
7.3.3 数据操作实现 152
7.4 ContentProvider 的使用 156
7.4.1 URI 157
7.4.2 ContentProvider 158
7.4.3 ContentResolver 162
7.5 小结 166
文前.indd 6 2015-11-25 08:51:14
第8 章 网络编程 167
8.1 网络编程简介 167
8.2 基于HTTP 的网络编程 168
8.2.1 GET 方法 168
8.2.2 POST 方法 175
8.2.3 HttpClient 方法 178
8.3 基于Socket 的网络编程 183
8.3.1 Socket 服务器端 184
8.3.2 Socket 客户端 187
8.4 客户端与服务器端通信实现 190
8.5 小结 191
第9 章 Android 物联网应用编程 192
9.1 Android 手机传感器 192
9.1.1 Android 手机常见传感器 192
9.1.2 加速度传感器 196
9.1.3 方向传感器 200
9.2 其他物联网部件 203
9.2.1 麦克风 204
9.2.2 摄像头 207
9.2.3 GPS 212
9.2.4 二维码 215
9.3 小结 222
第10 章 设备巡检实例 223
10.1 设备巡检案例 223
10.1.1 案例背景概述 223
10.1.2 客户端使用 223
10.1.3 服务器端使用 225
10.1.4 案例代码结构 226
10.2 移动端主界面 227
10.3 移动端今日巡检 231
10.4 数据库存储 236
10.4.1 MachineBean 实体类 236
10.4.2 数据库帮助类DBHelper 237
10.4.3 数据库操作类DBAdapter 238
10.4.4 设备信息操作辅助类MachineDao 241
文前.indd 7 2015-11-25 08:51:15
安卓编程指南及物联网开发实践
10.5 移动端网络提交 243
10.6 移动端设备巡检 244
10.7 移动端数据展示 249
10.7.1 某日设备巡检展示 249
10.7.2 设备巡检信息 252
10.8 其他相关文件 254
10.8.1 Strings.xml 文件 254
10.8.2 AndroidManifest.xml 文件 254
10.9 服务器端ServerDemo 项目 256
Introduction

Android 是一个免费、开源的移动端平台,在Google 和Android 手机联盟的大力推广下,Android 得到了全球开发者的极大关注。目前Android 应用程序开发的相关教材已经很多,但鲜有书籍涉及Android 的物联网开发。本书从初学者的角度出发,通过通俗易懂的语言、丰富多彩的实例介绍了Android 程序开发中的各方面技术,同时利用Android 系统的一些功能特性进行物联网开发实践。
本书注重对读者实际动手能力的指导,循序渐进地讲解Android 应用程序开发的基本知识。内容包括搭建Android 应用开发环境、Android 开发技术基础、Android 的网络编程、Android在物联网中的应用等。
本书各章节的主要内容如下:
第1 章介绍了Android 系统框架、Android 开发环境的搭建及创建第一个Android 应用程序。
第2、3 章介绍了Android 应用程序的用户界面设计及常用的界面组件,包括几种界面布局、Android 的事件、常用控件、菜单及信息提示组件。
第4 ~ 7 章介绍了Android 开发中的四大组件:Activity 组件、Service 组件、BroadCastReceiver 组件、ContentProvider 组件。同时介绍了Intent 实现组件间的数据传递及Android 应用程序的数据存储。
第8 章介绍了Android 的网络编程,即通过HTTP 协议的POST 方法和GET 方法实现网络数据传递,同时介绍了TCP/IP 协议中的Socket 编程。
第9 章介绍了Android 手机中的一些特性功能,如传感器的原理及开发应用,摄像头实现拍照及录制视频、录音,GPS 定位,二维码的生成及扫描。
第10 章通过设备巡检案例介绍了物联网中的Android 应用开发实践。
本书提供了大量的实例源代码供读者参考,指导读者快速、无障碍地学通Android 开发技术。通过这些实例,读者可以快速地理解每个知识点的内容。本书适合作为高等院校计算机及相关专业的教学用书,也可以作为Android 开发初学者的自学教材和参考手册。
由于编者水平有限,书中难免有不足之处,恳请读者批评指正。
编者

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