图书介绍
Android编程 第2版 英文2025|PDF|Epub|mobi|kindle电子书版本百度云盘下载

- Zigurd Mednieks,Laird Dornin,G.Blake Meike,Masumi Nakamura著 著
- 出版社: 南京:东南大学出版社
- ISBN:9787564142018
- 出版时间:2013
- 标注页数:546页
- 文件大小:96MB
- 文件页数:564页
- 主题词:移动终端-应用程序-程序设计-英文
PDF下载
下载说明
Android编程 第2版 英文PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
PartⅠ.Tools and Basics3
1. Installing the Android SDKand Prerequisites3
Installing the Android SDK and Prerequisites3
The Java Development Kit (JDK)4
The Eclipse Integrated Development Environment (IDE)5
The Android SDK7
Adding Build Targets to the SDK8
The Android Developer Tools (ADT) Plug-in for Eclipse9
Test Drive: Confirm That Your Installation Works12
Making an Android Project12
Making an Android Virtual Device (AVD)16
Running a Program on an AVD19
Running a Program on an Android Device20
Troubleshooting SDK Problems: No Build Targets21
Components of the SDK21
The Android Debug Bridge (adb)21
The Dalvik Debug Monitor Server (DDMS)21
Components of the ADT Eclipse Plug-in23
Android Virtual Devices25
Other SDK Tools26
Keeping Up-to-Date27
Keeping the Android SDK Up-to-Date28
Keeping Eclipse and the ADT Plug-in Up-to-Date28
Keeping the JDK Up-to-Date29
Example Code30
SDK Example Code30
Example Code from This Book30
On Reading Code31
2. Java for Android33
Android Is Reshaping Client-Side Java33
The Java Type System34
Primitive Types34
Objects and Classes35
Object Creation35
The Object Class and Its Methods37
Objects, Inheritance, and Polymorphism39
Final and Static Declarations41
Abstract Classes45
Interfaces46
Exceptions48
The Java Collections Framework51
Garbage Collection55
Scope55
Java Packages56
Access Modifiers and Encapsulation57
Idioms of Java Programming59
Type Safety in Java59
Using Anonymous Classes62
Modular Programming in Java64
Basic Multithreaded Concurrent Programming in Java67
Synchronization and Thread Safety68
Thread Control with wait() and notify() Methods71
Synchronization and Data Structures72
3. The Ingredients of an Android Application75
Traditional Programming Models Compared to Android75
Activities, Intents, and Tasks77
Other Android Components79
Service79
Content Providers80
BroadcastReceiver83
Component Life Cycles83
The Activity Life Cycle83
On Porting Software to Android85
Static Application Resources and Context86
Organizing Java Source87
Resources88
Application Manifests90
Initialization Parameters in AndroidManifest.xml91
Packaging an Android Application: The .apk File94
The Android Application Runtime Environment94
The Dalvik VM95
Zygote: Forking a New Process95
Sandboxing: Processes and Users95
The Android Libraries96
Extending Android98
The Android Application Template98
Overrides and Callbacks99
Polymorphism and Composition101
Extending Android Classes102
Concurrency in Android104
AsyncTask and the UI Thread105
Threads in an Android Process116
Serialization118
Java Serialization119
Parcelable120
Classes That Support Serialization124
Serialization and the Application Life Cycle125
4. Getting Your Application into Users' Hands127
Application Signing127
Public Key Encryption and Cryptographic Signing127
How Signatures Protect Software Users, Publishers, and Secure Communications129
Signing an Application130
Placing an Application for Distribution in the Android Market135
Becoming an Official Android Developer135
Uploading Applications in the Market136
Getting Paid138
Alternative Distribution139
Verizon Applications for Android139
Amazon Applications for Android141
Google Maps API Keys143
Specifying API-Level Compatibility144
Compatibility with Many Kinds of Screens144
Testing for Screen Size Compatibility145
Resource Qualifiers and Screen Sizes145
5. Eclipse forAndroid Software Development147
Eclipse Concepts and Terminology148
Plug-ins148
Workspaces149
Java Environments150
Projects151
Builders and Artifacts151
Extensions151
Associations153
Eclipse Views and Perspectives153
The Package Explorer View154
The Task List View154
The Outline View155
The Problems View155
Java Coding in Eclipse156
Editing Java Code and Code Completion156
Re factoring156
Eclipse and Android158
Preventing Bugs and Keeping Your Code Clean158
Static Analyzers158
Applying Static Analysis to Android Code163
Limitations of Static Analysis166
Eclipse Idiosyncrasies and Alternatives166
PartⅡ. About the Android Framework166
6. Building a View171
Android GUI Architecture171
The Model171
The View172
The Controller173
Putting It Together173
Assembling a Graphical Interface175
Wiring Up the Controller180
Listening to the Model182
Listening for Touch Events187
Multiple Pointers and Gestures190
Listening for Key Events192
Choosing an Event Handler193
Advanced Wiring: Focus and Threading195
The Menu and the Action Bar199
View Debugging and Optimization202
7. Fragments and Multiplatform Support205
Creating a Fragment206
Fragment Life Cycle209
The Fragment Manager210
Fragment Transactions211
The Support Package216
Fragments and Layout217
8. Drawing 2D and 3D Graphics225
Rolling Your Own Widgets225
Layout226
Canvas Drawing231
Drawables242
Bitmaps247
Bling248
Shadows, Gradients, Filters, and Hardware Acceleration251
Animation253
OpenGL Graphics258
9. Handling and Persisting Data263
Relational Database Overview263
SQLite264
The SQL Language264
SQL Data Definition Commands265
SQL Data Manipulation Commands268
Additional Database Concepts270
Database Transactions271
Example Database Manipulation Using sqlite3271
SQL and the Database-Centric Data Model for Android Applications275
The Android Database Classes276
Database Design for Android Applications277
Basic Structure of the SimpleVideoDbHelper Class277
Using the Database API: MJAndroid280
Android and Social Networking280
The Source Folder (src)282
Loading and Starting the Application283
Database Queries and Reading Data from the Database283
Modifying the Database287
PartⅢ. A Skeleton Application for Android295
10. A Framework for a Well-Behaved Application295
Visualizing Life Cycles296
Visualizing the Activity Life Cycle296
Visualizing the Fragment Life Cycle308
The Activity Class and Well-Behaved Applications311
The Activity Life Cycle and the User Experience311
Life Cycle Methods of the Application Class312
11. Buildinga User Interface315
Top-Level Design316
Fragment, Activity, and Scalable Design317
Visual Editing of User Interfaces319
Starting with a Blank Slate319
Laying Out the Fragments323
Lay Out Fragments Using the Visual Editor324
Multiple Layouts325
Folding and Unfolding a Scalable UI326
Decisions about Screen Size and Resolution326
Delegating to Fragment Classes330
Making Activity, Fragment, Action Bar, and Multiple Layouts Work To-gether333
Action Bar333
Tabs and Fragments333
The Other Activity336
12. Using Content Providers341
Understanding Content Providers342
Implementing a Content Provider343
Browsing Video with Finch344
Defining a Provider Public API345
Defining the CONTENT_URI346
Creating the Column Names348
Declaring Column Specification Strings348
Writing and Integrating a Content Provider350
Common Content Provider Tasks350
File Management and Binary Data352
Android MVC and Content Observation354
A Complete Content Provider: The SimpleFinchVideoContentProvider Code355
The SimpleFinch Video ContentProvider Class and Instance Variables355
Implementing the on Create Method357
Implementing the getType Method358
Implementing the Provider API358
Determining How Often to Notify Observers363
Declaring Your Content Provider363
13. A Content Provider as a Facade for a RESTful Web Service365
Developing RESTful Android Applications366
A "Network MVC"367
Summary of Benefits369
Code Example: Dynamically Listing and Caching YouTube Video Content370
Structure of the Source Code for the Finch YouTube Video Example371
Stepping Through the Search Application372
Step 1: Our UI Collects User Input373
Step 2: Our Controller Listens for Events373
Step 3: The Controller Queries the Content Provider with a managedQuery on the Content Provider/Model374
Step 4: Implementing the RESTful Request374
Constants and Initialization375
Creating the Database375
A Networked Query Method375
insert and ResponseHandlers388
File Management: Storing Thumbnails390
PartⅣ. Advanced Topics395
14. Search395
Search Interface395
Search Basics395
Search Dialog402
Search Widget403
Query Suggestions404
Recent Query Suggestions404
Custom Query Suggestions405
15. Location and Mapping411
Location-Based Services412
Mapping413
The Google Maps Activity413
The MapView and MapActivity414
Working with MapViews415
MapView and MyLocationOverlay Initialization415
Pausing and Resuming a MapActivity418
Controlling the Map with Menu Buttons419
Controlling the Map with the Keypad421
Location Without Maps422
The Manifest and Layout Files422
Connecting to a Location Provider and Getting Location Updates423
Updating the Emulated Location426
StreetView430
16. Multimedia433
Audio and Video433
Playing Audio and Video434
Audio Playback435
Video Playback437
Recording Audio and Video438
Audio Recording439
Video Recording442
Stored Media Content443
17. Sensors, NFC, Speech, Gestures, and Accessibility445
Sensors445
Position447
Other Sensors449
Near Field Communication (NFC)450
Reading a Tag451
Writing to a Tag457
P2P Mode and Beam459
Gesture Input461
Accessibility463
18. Communication, Identity, Sync, and Social Media467
Account Contacts467
Authentication and Synchronization470
Authentication471
Synchronization478
Bluetooth485
The Bluetooth Protocol Stack485
BlueZ: The Linux Bluetooth Implementation487
Using Bluetooth in Android Applications487
19. The Android Native Development Kit (NDK)501
Native Methods and JNI Calls502
Conventions in Native Method Calls502
Conventions on the Java Side503
The Android NDK504
Setting Up the NDK Environment504
Editing C/C++ Code in Eclipse504
Compiling with the NDK505
JNI, NDK, and SDK: A Sample App506
Native Libraries and Headers Provided by the NDK507
Building Your Own Custom Library Modules509
Native Activities512
Index519
热门推荐
- 627720.html
- 647365.html
- 3167182.html
- 1625627.html
- 617612.html
- 755643.html
- 2977427.html
- 231323.html
- 3238211.html
- 719062.html
- http://www.ickdjs.cc/book_3083709.html
- http://www.ickdjs.cc/book_2379258.html
- http://www.ickdjs.cc/book_3196681.html
- http://www.ickdjs.cc/book_999963.html
- http://www.ickdjs.cc/book_1935506.html
- http://www.ickdjs.cc/book_3215693.html
- http://www.ickdjs.cc/book_1243423.html
- http://www.ickdjs.cc/book_2115423.html
- http://www.ickdjs.cc/book_3378784.html
- http://www.ickdjs.cc/book_252498.html