给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本

4星(超过85%的资源)
所需积分/C币:9 2016-12-07 16:44:54 66.24MB PDF
24
收藏 收藏
举报

给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本,0积分—— 这是2016年最新的英文7.4版本,全书介绍了Android开发的方方面面,是本十足的大部头,共计3893页。
The busy coders guide to Android development by Mark l. murphy Copyright C 2008-2016 Commons Ware, LLC. All Rights Reserved Printed in the United states of america Printing History June 2016 Version7. 4 ISBN:978-0-9816780-0-9 The Commons Ware name and logo, Busy Coder's Guide, and related trade dress are trademarks of Commons Ware, LLC All other trademarks referenced in this book are trademarks of their respective firms The publisher and author(s)assume no responsibility for errors or omissions or for damages resulting from the use of the information contained herein Table of contents Headings formatted in bold-italic have changed since the last version · Preface Welcome to the book!∴ ·音p非···,··市非鲁非音···非 .......4..4.5.944........... XXXIX The books structure Xⅹ1X The trails w.oogggomoggonmommooooo xl About the updates .···:···.·中··:· ··············:·.··:·········中 XIV What's New in version74?……,……,…,…,,…,…,xlvi Warescription…… xly about the apk edition Extending Your Warescription Source code and its license Creative Commons and the Four-to-Free(42F) Guarantee...[ o Acknowledgments li Key Android Concepts o Android Applications...... ·:·······中· 音音 Android devices 鲁 Dont be scared 10 Choosing Your Development Toolchain Android studio EC cpse………………………………………………1 Intelli IDEA ····音··········看··············自··音···· 12 Command-Line builds via gradle for android Yet Other Alternatives ····················.············ 1 IDEs… And This book What We Are Not Covering 鲁非垂非 Tutorial #i-Installing the Tools o Step#i-Checking Your Hardware Requirements.......15 Step#2- Setting Up java and32- Bit Linux Support…………,16 Step#3-Install the Developer Tools ··············;········ 16 Step#4- Install the SDKs and Add-Ons In Our Next episode A droid and projects TO Common Concepts………… ·鲁鲁非·着非·非 2 Projectsα nd android studio… Starter Project Generators Tutorial #2-Creating a Stub project About Our Tutorial project about the rest of the tutorial 39 40 about Our tools 40 Step#: Creating the project…………,…,… 40 Step#2- Set Up the emulator……………… 43 Step#3 -Set Up the device Step#4: Running the project……… 55 In Our next episode…. Getting around android studio 0 Navigating The Project Explorer………………………….59 R P ning projects 62 Viewing Output ·非·。非着非自 6 14 o Accessing Android Tools....... 66 Android studio and release channels 69 Visit the trails! ....70 Contents of Android Projects o what You Get, In General............. The Contents of an Android Studio Project 0 The Contents of an Eclipse-Style Project………… What You Get Out OfIt 6 Introducing gradle and the manifest o gradle: The big questions…… Obtaining gradle ·········································· 80 Versions of gradle and the android Plugin for gradle………,82 Gradle environment variables Examining the Gradle Files…… ·······:···········:······················: 8 Introducing the Manifest ·········:·····························: 86 Things In Common Between the Manifest and Gradle………86 Other Gradle Items of note 0 Wheres the gui? The Rest of the Manifest 91 Learning More About gradle 94 Visit the tr 94 Tutorial #3-Changing Our Manifest(and Gradle File Some notes about relative paths 95 o Step #1: Supporting Screens .. 6 Step#2: Adding our Minimum and Target SDK Versions...96 In Our Next episode,…………,,…………………,y7 Some words about resources String Theory… I00 Got the picture? 102 o Dimensions ··············:·.·.:···········:·· ……1o7 The resource that shall not be named. Yet Tutorial #4-Adjusting Our resources Step #1: Changing the na ame ……………109 Step #2: Changing the Icon Step#3: Running the result 113 In Our Next episode 音着音音。非·音非·着·非音 The Theory of Widgets What Are Widgets:?……………………… 申·;···:·· 1] o Size, Margins, and Padding ·····中··· 7 What Are Containers I1T The Absolute Positioning Anti- Pattern………,n8 The theme of this section: Themes…….,.,.………,g The Android User interface The Activity……………,…,…,…,…,…,…,…,…,…,…,…,……,1 Dissecting the Activity 24 12 Using XML-Based Layouts Basic Widgets Common Concepts…… …,129 Assigning labels ……132 A Commanding button 鲁垂 …138 Fleeting Images……………,.,,….,.,….,,..…,,42 Fields of green Or Other Colors More Common Concepts 着·非·非鲁 15 Visit the trail 154 Debugging Your App Get Thee to a Stack Trace….……….,6 The Case of the Confounding Class Cast 157 point break 158 Linearlayout and the box model Concepts and properties ……………………159 Android Studio graphical layout editor 6 Other Common widgets and containers Just a Box to Check… 16 ······非·看自非看·非音非 Dont like Checkboxes? How About Toggles or Switches?………,170 Turn the radio up… 75 All Things Are relative………,…,…,…,…,…,…,…,…,…,,…,y78 0 Tabula rasa…… ·················:······················· 186 Scrollwork ··.·········:··············· …………………………192 Making Progress with Progress Bars 195 Visit the trails 16 Tutorial #s-Making Progress Step#1: Removing The Hello, World 97 Step#2: Adding a ProgressBar…………,…,…,…,…,…,……,20o Step# 3: Seeing the results ………………201 In Our Next Episode. ,201 GUI Building Continued Making Your Selection………,…,…,…,…,,…,…,…,…,,203 Including Includes ……………………204 Morphing widgets 申·;···:·· 206 Preview of Coming Attractions 206 Adapter Views and Adapters o Adapting to the circumstances..................207 Lists of Naughty and Nice……………………,209 Clicks versus selections 211 pin Control ∴215 Grid Your lions (Or Something Like That. ··音非。·普· 2 Fields: Now With35%Less' typing!……2 Customizing the Adapter…………… 22 Visit the trails The Webview Widget Role of web view 235 Webview and web kit The android System Web vic 3 6 Adding the Widget……,……,…,…,……,…,,…………,2y7 Loading Content URL 237 Links and redirects 39 Supporting JavaScript 240 Alternatives for Loading Content 24O Listening for Events 2412 Addressing the link/ Redirect behavior……………………,.245 Visit the trails 46 Defining and Using Styles Styles: DIY DRY 47 Elements of Style…… 249 Themes: Would a Style by any other Name What Happens If You have no theme 非非非 5 Android studios theme editor 253 JARs and Library projects The dalvik vm. and a bit of art ······:········:···:·:······:· 26O Getting the library…………………………………………260 The Outer limits… 26 JAR Dependency Management………………,262 o OK, So What is a Library project?.......263 Using a Library Project……,…,…,…,…,…,…,…,…,…,…,…,…,263 Library projects: What You get…………………………,264 The Android Support Package 26 4 Tutorial #6-Adding a library Sep#: Attaching the Android Support Package…………,269 Step#2: Attaching the Third- Party dependencies………………,270 In Our Next Episode 音。,。自。音着非。自音音音音非非自。音音。音。音。 .271 The action bar Bar Hopping… 73 o Yet Another History Lesson . 279 Your Action Bar Options…………………….…………,280 Setting the Target…………,…,…,…,…,….,…,282 Defining the resource………,…,…,…,…,…,…,…,…,…,……,.283 Applying the resource ……………285 Responding to events…………………………………………,285 The Rest of the Sample activity 286 o Menu Key, We hardly Knew Ye 202 Action bars, Live in Living Color!………,…,…,,… 293 Visit the trails! Tutoria#- Setting Up the Action Bar∴… …………302 Step#: Acquiring Some Icons.…… 303 Step井2: Defining Some Options….yo5 Step# 3: Loading and Responding to Our Options 307 Step #4: Trying It Out 08 In Our next episode 10 Android's process model o When Processes Are Created...311 o BACK, HOME, and Your Process..................312 o Termination 中中·中········中·····中····中··中中·····中······,····中·· 313 Foreground Means"I Love You …………314 You and your heap…… 314 Activities and Their Lifecycles Creating Your Second( and third and.…) Activity……………316 Warning! Contains Explicit Intents! Using implicit Intents ………322 Extra! extra! ·················:······················· 327 Pondering parcelable 事·。··即非普·音非音 Asynchronicity and result ····· 330 Schroedinger's activity 音。音音。音。番音 。音·音。音。非鲁 …330 Life, Death, and Your Activity 看着D着非非 ………………………31 When activⅤ ities die… ……333 Walking Through the lifecycle……………….34 Recycling Activities…………,..,….,.…………,3y7 Application: Transcending the activity…………………………,3a The Case of the Invisible activity 339 Tutorial #8-Setting up an activity Sep#: Creating the Stub activity Class and manifest Entry………341 Step#2: Launching Our activity…… 春。音自。鲁音非音·。。音。音。。音。普。音音音。音 343 In Our Next episode 343 The Tactics of Fragment The Six Questions ……345 Where You Get Your Fragments From………………….348 Your First Fragment……………,348 The Fragment Lifecycle Methods …………352 Your First Dynamic Fragment…………….………,353 Fragments and the Action Bar……………....56 Fragments Within Fragments: Just Say" Maybe"……………,357 Fragments and Multiple activities Tutorial#o- Starting Our Fragments Step#1: Create a Simple Content Fragment……………,161 Step #2: Examining Simple ContentFragment 363 In Our next et d 364 Swiping with View Pager Swiping Design Patterns 6 Pieces of a Pager 366 Paging fragments 36 Paging Other Stuff.…. ·非··非·非非着垂音·非着非着非着·非着非看非音非看··非着音·非 371 Indicators ………………372 Tutorial #10-Rigging Up a view Pager Step#1: Add a view Pager to the layout……………375 o Step #2: Obtaining Our View.......376 Sep#3: Creating a ContentsAdapter……… Step#4: Setting up the view Pager…………….y7 In Our Next episode 80 Resource Sets and Configurations What's a Configuration? And How Do They Change? 81 Configurations and Resource sets 8 Screen size and orientation………,,.,.8 Coping with Complexity 386 Choosing The right resource 387 APi-Versioned resources ……391 Default Change behavior ……………………393 ° State Saving Scenarios………………….….y95 Your Options for Configuration Changes…………….96 o Blocking rotations ...........................,.. And Now, a Word from the android project view 408 Material design basics Your App, in Technicolor ·非·音非看非鲁非·看非非着音··非非看着·非音着非着非鲁 411 Dealing with Threads The main application Thread 419 Getting to the background 42 o Syncing Feeling 42 Alternatives to Async Task…………….………..………,43o And now. the caveats …………431 Event buses……,,…,…,,…,……,………,……,432 o Visit the trails!.............441 Requesting Permissions Frequently- Asked Questions About Permissions…………………44 Characteristics of permissions 449 New Permissions in Old Applications ······· ……452 Android6.0+ Runtime permission System………………413 Tutorial: Runtime Permission Support Step#o: Install the android6.0SDK…… …468 Step #1: Import and review the Starter Project ............46 Step#2: Update gradle for Android6.0…………………475 Step#3: Review the planned ux……………………478 Step#4: Detect the First run …479 Step#5: On First run, Ask For permissions………,48o Step#6: Check for Permissions Before Taking a Picture………,484 Step #7: Detect If We Should Show Some Rationale 485 o Step#8: Add a rationale ui and re-Request Permissions ........487 Step #g: Check for Permissions Before recording a video....493 Step#io: Detect If We should show Some rationale(again)...494 Step#1: Support Configuration Changes…… …………496 Assets, Files, and Data Parsing Packagiⅳ ng Files with Your App……….….……………….505 Files and android 5o7 Working with Internal Storage……………….;o8 Working with External Storage………………… 5 Multiple user ac pI Linux Filesystems: You sync, You win…….523

...展开详情
试读 127P 给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本
立即下载
限时抽奖 低至0.43元/次
身份认证后 购VIP低至7折
一个资源只可评论一次,评论内容不能少于5个字
beyond_gch 很不错的书,值得细细研究
2017-10-30
回复
wylwjf 都说不错的书籍,就是英文的
2017-07-07
回复
小笨蛋笨笨蛋 文档很大,内容很多,留作以后看。
2016-12-16
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 分享王者

关注 私信
上传资源赚钱or赚积分
最新推荐
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本 9积分/C币 立即下载
1/127
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第1页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第2页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第3页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第4页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第5页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第6页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第7页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第8页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第9页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第10页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第11页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第12页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第13页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第14页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第15页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第16页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第17页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第18页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第19页
给忙碌程序员的Android开发指南(The Busy Coder's Guide to Android Development)-2016年最新7.4版本第20页

试读结束, 可继续阅读

9积分/C币 立即下载