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

Android App开发者必修16堂课

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

Android App开发者必修16堂课

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

很多初学者想要快速学习Android App的开发,却往往适得其反,虽然相关的学习资料有很多,但是大部分都是片段的技术资料,不知道该如何应用,这样的资料是不适合初学者学习的。《Android App开发者必修16堂课》一书就从项目建立出发,帮助读者建立正确的开发概念,而不仅仅是提供片段的秘诀而已,使读者清楚程序的每一行都在做什么,进而以不变应万变,做出各式各样的App。
《Android App开发者必修16堂课》一书特点如下:
1.名家解说一看就懂!帮助初学者迅速进入状况;
2.真正实例参照!程序设计者马上取得想要的功能模块;
3.别再复制粘贴了!学习完整的开发概念,开发各种App项目;
4.绝不藏私!程序原始代码大公开,让你边玩边解析。
Content Description

本书用轻松易懂的语言和生动活泼的形式,介绍了Android App的开发技巧,主要内容包括:开发环境建置与基本使用、基本程序运行原理与应用、基本用户界面与事件触发、对话框与通知事件处理、进阶程序运行原理与应用、菜单与动作列处理、自定义View与Surface View、数据存取、因特网相关、影音多媒体与相机、地图与卫星定位系统、感应器运行原理及应用、资源与国际化、系统功能与装置控制、实际项目开发、App发布等。
本书内容起点低、容易上手,范例经典,源代码步步解析,图文并茂,帮助初学者快速入门!本书非常适合Android App开发初学者、技术人员以及业余爱好者阅读使用。
Catalogue

第1课开发环境建置与基本使用 1
1-1学习开发的基本概念 2
1-1-1Java语言的角色 2
1-1-2Unix/Linux的文件系统 2
1-1-3学习目标 3
1-2安装JDK 3
1-3安装Eclipse 4
1-4设定Eclipse 5
1-5安装设定Android SDK 8
1-5-1 在Eclipse外挂ADT 8
1-5-2建立及使用仿真器 10
第2课基本程序运行原理与应用 13
2-1“Hello,World?Hello,Lottery!” 14
2-1-1建立新项目 14
2-1-2版面配置 17
2-1-3开发程序 20
2-1-4安装执行测试 22
2-2“BMI? Lottery!” 23
2-2-1存取控制元件 23
2-2-2按钮事件处理模式 24
2-2-3开发设计功能 26
2-2-4修改程序 27
2-3写完了,然后呢? 28
2-3-1加上欢迎界面 28
2-3-2调整启动程序 31
2-4Activity的生命周期 34
2-4-1生命周期的观念 34
2-4-2测试实作 36
2-4-3开始观察 39
2-5Activity切换Activity 40
2-5-1仅作启动切换 40
2-5-2传递数据过去 40
2-5-3切换之后回来确认 41
2-5-4将数据传递回来 42
2-6Service的运行应用 44
2-6-1生命周期实测 44
2-6-2与线程共舞 48
2-6-3通过Broadcast发送数据给前台 49
第3课基本用户界面与事件触发 53
3-1条列显示元件ListView 54
3-1-1基本格式 54
3-1-2进阶格式 57
3-2线性配置LinearLayout 59
3-3相对配置RelativeLayout 63
3-4表格配置TableLayout 68
3-5网格显示GridView 71
3-6滑动显示ViewFlipper 75
第4课对话框与通知事件处理 83
4-1AlertDialog对话框的使用 84
4-1-1建立AlertDialog对象 84
4-1-2消息对话框 84
4-1-3确认对话框 87
4-1-4选择式对话框 89
4-1-5进阶选择式对话框 92
4-2自定义对话框(Dialog)与日期时间对话框 95
4-2-1自定义对话框 95
4-2-2日期选择对话框 99
4-2-3时间选择对话框 101
4-3Toast及自定义Toast 103
4-3-1一般的Toast 103
4-3-2自定义Toast 104
4-4进度显示对话框 107
4-5通知列处理模式 110
4-5-1版本差异 110
4-5-2API Level 11 之前 111
4-5-3API Level 11+ 111
4-5-4应用场合 114
第5课进阶程序运行原理与应用 115
5-1多重线程Thread 116
5-1-1开发重点观念 116
5-1-2存取View组件 119
5-1-3提早结束线程的生命周期 120
5-1-4另外一种开发方式 121
5-2定时及周期任务(Timer & TimerTask) 123
5-3同步任务AsyncTask 126
5-3-1使用观念 126
5-3-2生命周期 126
5-3-3定义泛型参数 128
5-3-4基本开发程序 129
5-3-5程序架构 129
5-4倒数定时器 133
5-4-1开发模式 133
5-4-2直接实作练习 133
第6课菜单与动作列处理 137
6-1菜单Menu 138
6-1-1Options menu选项菜单(硬件菜单键) 138
6-1-2Context menu内容菜单 141
6-1-3Popup menu弹出式菜单 145
6-2动作列Action Bar 147
第7课自定义View与SurfaceView 155
7-1自定义View:继承View 156
7-2自定义View与触控手势事件处理 165
7-2-1一般触控事件侦测处理 165
7-2-2手势侦测事件处理 166
7-3自定义SurfaceView:继承SurfaceView 170
7-4以自定义View来实现手写签名App范例实作 174
7-4-1前期准备 175
7-4-2开始处理签名的手势侦测处理 177
7-4-3处理外部功能 182
第8课数据存取 185
8-1偏好设定 186
8-1-1处理方式 186
8-1-2基本处理程序 186
8-1-3范例说明 186
8-1-4完整范例 189
8-2内部文件存取机制 191
8-2-1使用观念 191
8-2-2写出基本程序 191
8-2-3读入基本程序 193
8-3外部文件存取 195
8-3-1SDCard文件系统基本概念 195
8-3-2判断SDCard的挂载点(Mount Point) 196
8-3-3应用程序文件应该在哪里 196
8-3-4开启写出数据的权限 196
8-3-5开始进行程序开发 198
8-3-6写出数据文件 198
8-3-7读入数据文件 199
8-4移动装置数据库处理机制SQLite 200
8-4-1建立数据库的辅助类别对象 200
8-4-2预先处理模式 200
8-4-3简单查询数据 202
8-4-4新增数据 203
8-4-5删除数据 203
8-4-6修改数据 204
8-4-7进一步了解查询方式 204
8-5应用App资源中的数据存取数据:以游戏关卡数据处理为例 205
8-5-1定义数据 206
8-5-2读取数据文件 207
8-5-3程序中读取方式 207
第9课因特网相关 209
9-1网络接口及IP Address 210
9-1-1装置的网络状态 210
9-1-2网络接口的IP Address 210
9-1-3取得装置联机IP Address 212
9-1-4建构IP Address对象实体 213
9-2UDP 通信协议的数据存取 214
9-2-1处理模式 214
9-2-2实作测试 214
9-3TCP通信协议的数据存取 220
9-3-1处理模式 220
9-3-2实作测试 220
9-4Http通信协议的数据存取 225
9-4-1以AndroidHttpClient及DefaultHttpClient实作 225
9-4-2以java.net.HttpURLConnection实作 228
9-5WebView使用 229
9-5-1基本的处理方式——直接放进Activity中 229
9-5-2基本的处理方式——以版面配置方式处理 230
9-5-3进一步设定WebView功能 236
第10课影音多媒体与相机 243
10-1 播放音乐 244
10-1-1基本概念 244
10-1-2SDCard上的音乐播放 245
10-1-3播放项目资源中音乐文件 247
10-1-4播放URL的音乐文件 247
10-1-5暂停继续播放 248
10-1-6停止播放 248
10-2 音效处理 249
10-2-1建构SoundPool对象实体 249
10-2-2实时播放音效 250
10-3 录音处理 250
10-3-1调用其他录音程序 251
10-3-2自定义录音处理程序 252
10-4 录像放映 254
10-4-1录像 254
10-4-2调用其他录像程序 254
10-4-3自定义录像程序 256
10-4-4播放影片 258
10-5 相机 259
10-5-1调用其他照相程序 259
10-5-2自定义相机程序 261
第11课地图与卫星定位系统 267
11-1GPS定位 268
11-1-1开始基本实作 268
11-1-2较佳位置取得 270
11-2 基本Google Map 275
11-2-1开发前期作业 276
11-2-2Hello,Map 277
11-2-3在Android上开发的应用 279
11-3 进阶Google Map 280
11-3-1JavaScript处理说明 280
11-3-2JavaScript数据传回Android 282
11-3-3以Android传递数据给JavaScript 283
第12课传感器运行原理及应用 285
12-1 传感器运行原理与应用 286
12-1-1基本概念 286
12-1-2处理原则 286
12-1-3实作开发 287
12-1-4用户装置支持处理 288
12-2 三轴加速传感器 289
12-3 重力加速度传感器 293
12-4 磁极方向传感器 296
12-5光线/温度/湿度/压力传感器 300
第13课资源与国际化 305
13-1 提供资源内容 307
13-1-1预设资源内容及架构 307
13-1-2替代选择性资源内容 309
13-2 存取资源内容 311
13-2-1程序代码中存取资源内容 312
13-2-2XML中存取资源内容 313
13-3 应用程序执行中的改变 314
设计一个保留及回存对象 314
13-4 资源内容的区域化 314
13-4-1支持的区域国别(地区) 315
13-4-2进一步认识项目资源 316
13-4-3资源类型 322
13-4-4区域化确认检查 323
第14课系统功能与装置控制 325
14-1 移动装置相关辨识 326
14-2 移动电话通话状态 328
14-3 移动电话用户相关数据 330
14-3-1用户账号 330
14-3-2取得联系人姓名 331
14-3-3用户的相簿 332
14-4 开发者基本道德 332
第15课实际项目开发 335
15-1 弹指砖块王(Bricks Fighter) 336
15-1-1App简易架构 337
15-1-2欢迎页面 337
15-1-3游戏关卡菜单 339
15-1-4游戏主页 344
15-2 掏金沙(Lode Runner) 353
15-2-1开发动机 353
15-2-2着手规划 354
15-2-3游戏架构 355
15-2-4关卡菜单 358
15-2-5游戏画面 359
15-2-6关卡地图 362
15-2-7敏感争议 371
15-3 炸弹超人(Bomb King) 371
15-4 其他应用程序开发项目 374
15-4-1个性签名产生器 374
15-4-2开发观念原则 386
第16课App发布 387
16-1 包装发布到Google Play 388
16-1-1包装成为APK 388
16-1-2首次注册开发者 390
16-1-3发布APK到Google Play 392
16-2 App创意开发与比赛经验心得分享 393
Introduction

笔者从事Android App开发的实务教学已经三年多了,这三年多来的变化也相当多。不只是开发工具或是API上的变化,还有App市场上的变化。现在的您还在玩Angry Bird吗?还是开始换玩Candy Crush了?之前Google play在台湾地区消费市场上的风风雨雨,终于又可以开始贩卖购买付费App了,三年前相关单位办了一场“一千五百万创意成金”活动,只要提案通过审核并如期上架,一个App就可能获得3万~8万元奖金(敝人也提了三个App获得奖金),而现在的市场机制没有这样的活动了,转变为鼓励的是质量较佳的App。敝人也从教育训练市场间接看到就业市场上的需求不断攀升。
很多初学者想要快速学习Android App的开发,却往往适得其反,虽然相关学习资料很多,但是大部分都是片段的技术数据。可能很容易找到如何发出通知消息的知识,却不知该如何应用或是做出不同的变化;找到数据并将程序代码复制后可以反转手机变成静音,不知如何运用手机传感器成为方向控制器等。相信我,你可以找到成千上万的Android App开发秘诀,但是也许并不适合初学者的学习。除非你知道每一行程序代码的存在意义,否则复制粘贴是糟糕的学习模式。我的上课模式不会有幻灯片,也没有事先写好的程序代码,就是从项目建立开始开发,写出来的每一行代码都要清楚在做什么,观念的建立非常重要,观念清楚之后,想要做出不同的变化就不成问题了。因此,本书希望可以将初学者导向建立观念式学习模式,不是提供片断的秘诀而已。书中后专题范例就是2012年在“资策会”移动装置开发班的Android游戏开发课程中以12小时授课时间,从项目建立开始实际开发,再利用课后时间进行修正微调后的作品,获得了2012年某电信社会组优胜作品的殊荣。
我不是专家,只是爱玩而已。2011年以改编Lode Runner经典游戏参加其他比赛,专家评审建议加上自编关卡网络分享功能,可以使这个App有加分效果。当下敝人极度不同意,因为这样的行为表面看似增加玩家之间的互动,事实上却增加玩家游戏的潜藏隐私安全性风险。后为了继续参赛而将该功能开发上去,并在电视上展现实时分享功能。赛后自行另外以原先版本约晚三个月在Google play上架发行。一年半过去,单纯游戏版本的实际安装数量已经是网络分享版本数量的两倍以上。
后以此书献给挚爱的家父赵光明先生与家母谢宝秀女士,他们奉献毕生心力于教育事业。投身教育训练的敝人正是受到他们不断的鼓励指导,才能完成此拙著。当然,也要感谢陪伴我赶稿的老婆,及帮我测试玩App游戏的孩子们。另外,更是感谢协助处理App视觉艺术部分的墨比斯-云云手。
赵令文Brad
2013.5.4

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