没有合适的资源?快使用搜索试试~ 我知道了~
首页Android Programming - The Big Nerd Ranch Guide (2nd Edition) (英文PDF版)
Android Programming - The Big Nerd Ranch Guide (2nd Edition) (英文...
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
Android Programming - The Big Nerd Ranch Guide (2nd Edition) PDF版适合电脑阅读
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/9321125/bg1.jpg)
![](https://csdnimg.cn/release/download_crawler_static/9321125/bg2.jpg)
Android Programming: The Big Nerd Ranch
Guide
by Bill Phillips, Chris Stewart, Brian Hardy and Kristin Marsicano
Copyright © 2015 Big Nerd Ranch, LLC.
All rights reserved. Printed in the United States of America. This publication is protected by
copyright, and permission must be obtained from the publisher prior to any prohibited reproduction,
storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical,
photocopying, recording, or likewise. For information regarding permissions, contact
Big Nerd Ranch, LLC.
200 Arizona Ave NE
Atlanta, GA 30307
(770) 817-6373
http://www.bignerdranch.com/
book-comments@bignerdranch.com
The 10-gallon hat with propeller logo is a trademark of Big Nerd Ranch, Inc.
Exclusive worldwide distribution of the English edition of this book by
Pearson Technology Group
800 East 96th Street
Indianapolis, IN 46240 USA
http://www.informit.com
The authors and publisher have taken care in writing and printing this book but make no expressed or
implied warranty of any kind and assume no responsibility for errors or omissions. No liability is
assumed for incidental or consequential damages in connection with or arising out of the use of the
information or programs contained herein.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed
as trademarks. Where those designations appear in this book, and the publisher was aware of a
trademark claim, the designations have been printed with initial capital letters or in all capitals.
Print ISBN-10 0134171454
Print ISBN-13 978-0134171456
Second edition, first printing, August 2015
Release K.2.1.1
![](https://csdnimg.cn/release/download_crawler_static/9321125/bg3.jpg)
Dedication
To God, or to whatever it is that you personally have faith in. Reader, I hope that you find
the many explanations in this book useful. Please don't ask me how they got here, though.
I once thought that I was responsible. Fortunately for you, I was wrong.
—
B.P.
To my dad, David, for teaching me the value of hard work. To my mom, Lisa, for pushing
me to always do the right thing.
—
C.S.
For Donovan. May he live a life filled with activities and know when to use fragments.
— B.H.
To my dad, Dave Vadas, for inspiring and encouraging me to pursue a career in
computing. And to my mom, Joan Vadas, for cheering me on through all the ups and
downs (and for reminding me that watching an episode of The Golden Girls always
makes things better).
—
K.M.
![](https://csdnimg.cn/release/download_crawler_static/9321125/bg4.jpg)
Acknowledgments
We feel a bit sheepish having our names on the cover of this book. The truth is that without an army of
collaborators, this book could never have happened. We owe them all a debt of gratitude.
Our co-instructors and members of our Android development team, Andrew Lunsford, Bolot
Kerimbaev, Brian Gardner, David Greenhalgh, Jason Atwood, Josh Skeen, Kurt Nelson, Matt
Compton, Paul Turner, and Sean Farrell. We thank them for their patience in teaching work-in-
progress material, as well as their suggestions and corrections. If we could give ourselves
additional brains to do with as we pleased, we would not. We would just put the new brains in a
big pile, and share them with our colleagues. We trust them at least as much as we trust our own
selves.
Special thanks to Sean Farrell for graciously updating many screen shots as Android Studio
evolved, and to Matt Compton for publishing all of our sample apps to the Google Play Store.
Kar Loong Wong and Zack Simon, members of Big Nerd Ranch's amazing design team. Kar
made BeatBox look intimidating and polished, and provided advice and imagery for the material
design chapter. Zack took time out of his schedule to design MockWalker for us. Kar and Zack's
design abilities seem like unknowable superpowers to us. We thank them, and bid them fond
returns to their home planet.
Our technical reviewers, Frank Robles and Roy Kravitz, who helped us find and fix flaws.
Thanks to Aaron Hillegass. Aaron’s faith in people is one of the great and terrifying forces of
nature. Without it, we would never have had the opportunity to write this book, nor would we
ever have completed it. (He also gave us money, which was very friendly of him.)
Our editor, Elizabeth Holaday, who many times saved us from going down rabbit holes. She kept
our writing focused on what our readers actually care about and spared you all from confusing,
boring, and irrelevant detours. Thank you, Liz, for being organized and patient, and for being a
constant supportive presence, even though you live many miles away.
Ellie Volckhausen, who designed our cover.
Simone Payment, our copy-editor, who found and smoothed rough spots.
Chris Loper at IntelligentEnglish.com, who designed and produced the print book and the EPUB
and Kindle versions. His DocBook toolchain made life much easier, too.
Finally, thanks to our students. We wish that we had room to thank every single student who gave us a
correction or opinion on the book as it was shaping up. It is your curiosity we have worked to satisfy,
your confusions we have worked to clarify. Thank you.
![](https://csdnimg.cn/release/download_crawler_static/9321125/bg5.jpg)
Table of Contents
Learning Android
Prerequisites
What's New in the Second Edition?
How to Use This Book
How This Book is Organized
Challenges
Are you more curious?
Code Style
Typographical Conventions
Using an eBook
Android Versions
The Necessary Tools
Downloading and Installing Android Studio
Downloading Earlier SDK Versions
An Alternative Emulator
A Hardware Device
1. Your First Android Application
App Basics
Creating an Android Project
Navigating in Android Studio
Laying Out the User Interface
The view hierarchy
Widget attributes
Creating string resources
Previewing the layout
From Layout XML to View Objects
Resources and resource IDs
Wiring Up Widgets
Getting references to widgets
Setting listeners
Making Toasts
Using code completion
Running on the Emulator
For the More Curious: Android Build Process
Android build tools
2. Android and Model-View-Controller
Creating a New Class
Generating getters and setters
Model-View-Controller and Android
Benefits of MVC
Updating the View Layer
Updating the Controller Layer
剩余740页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![epub](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/9865a03317a14ece9c49a733698c7ee7_supercolin.jpg!1)
IvelliosC
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- 电力电子系统建模与控制入门
- SQL数据库基础入门:发展历程与关键概念
- DC/DC变换器动态建模与控制方法解析
- 市***专有云IaaS服务:云主机与数据库解决方案
- 紫鸟数据魔方:跨境电商选品神器,助力爆款打造
- 电力电子技术:DC-DC变换器动态模型与控制
- 视觉与实用并重:跨境电商产品开发的六重价值策略
- VB.NET三层架构下的数据库应用程序开发
- 跨境电商产品开发:关键词策略与用户痛点挖掘
- VC-MFC数据库编程技巧与实现
- 亚马逊新品开发策略:选品与市场研究
- 数据库基础知识:从数据到Visual FoxPro应用
- 计算机专业实习经验与项目总结
- Sparkle家族轻量级加密与哈希:提升IoT设备数据安全性
- SQL数据库期末考试精选题与答案解析
- H3C规模数据融合:技术探讨与应用案例解析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)