Android development Essentials
Basic Information
Author: Fan huaiyu [Translator's introduction]
Press: Machinery Industry Press
ISBN: 9787111390589
Mounting time:
Published on: February 1, August 2012
Start: 16
Page number: 1
Version: 1-1
Category: Computer> Software and programming> mobile development> android
More about, Android development Essentials
Introduction
Books
Computer books
How can we write Android applications that are closer to Android design concepts and can run more efficiently and reliably? It is one of the most important methods to understand the underlying implementation details through the android source code! However, the android system is too large, the source code implementation is complicated, and the technical threshold and time cost for learning are high. Is there a way to help developers understand Android Application Development in depth and quickly master the knowledge required to write high-quality Android applications without being overwhelmed by a large number of implementation details at the underlying layer? This book provides a perfect answer to this question! It extracts the "essence" and "Key Points" of Android development from the complicated source code of Android, stripped away a lot of trivial underlying implementation details, and made a high summary and summary, it not only helps developers quickly understand the design concept of the entire android system from a macro perspective, but also helps developers quickly grasp the principles of core knowledge points from the micro perspective, thus writing high-quality Android applications.
Android development essentials consists of 13 chapters, which are logically divided into four parts. Chapter 1 (chapter 2): Chapter 1st introduces the Android system architecture, core modules, and design ideas, so that readers can truly understand the design concept; chapter 2 describes how to obtain, compile, read, and edit the android source code. Chapter 2 (chapter 3-6): Chapter 3rd describes the design concepts and important features of the android component mechanism, and introduces in detail the methods and principles of the four components; chapter 2 explains the intent mechanism of intent objects and Android, and explains how Android integrates components from different applications and processes; chapter 5 analyzes the lifecycles of each component in Android, including the process model and thread model of the component. Chapter 5th describes the data transfer solutions between components from the perspective of development, and their advantages and disadvantages and applicable scenarios. Chapter 3 (Chapter 7-8): Chapter 7th provides an in-depth explanation of the android Control Framework, and analyzes the implementation and use of important controls in combination with actual projects, it also contains the "essence" of Android 4.0 interface development practices. Chapter 8th analyzes the android resource system and analyzes the underlying resource processing of Android. Part 2 (Chapter 9-13): Chapter 4th describes the data storage structure of Android and the usage of different data storage modes. Chapter 9th analyzes various network connection modes of Android, covers NFC and wi-fi-Based P2P connections. Chapter 11th describes the implementation of the android positioning service, Address Resolution Service, and map service framework; chapter 5 carefully analyzes the implementation mechanisms of various Android multimedia functions. Chapter 4 analyzes the implementation details of some modules with special features in Android.
Directory
Android development Essentials
Preface
Thank you
Chapter 2 Android system architecture/1
1.1 Android System Architecture Overview/2
1.1.1 Application Layer/4
1.1.2 framework layer/5
1.1.3 runtime/5
1.1.4 core class library/7
1.1.5 Hardware Abstraction Layer and Linux kernel/7
1.2 Android core function module/8
1.2.1 interface framework/8
1.2.2 data storage/9
1.2.3 network communication/10
1.2.4 Geographic Information/11
1.2.5 graphic and multimedia processing/11
1.2.6 external device/12
1.2.7 special function module/13
1.3 Android architecture features and design ideas/13
1.3.1 open platform/14
1.3.2 component-based application design/14
1.3.3 network service-based platform/15
1.4 Summary/15
Chapter 4 download and compilation of Android source code/16
2.1 obtain and compile the android source code/17
2.1.1 environment Setup/18
2.1.2 source code retrieval/18
2.1.3 source code compilation/21
2.2 Android source code structure/22
2.2.1 framework layer source code directory frameworks/22
2.2.2 Application Layer source code directory packages/24
2.2.3 other Source Code Directories/24
2.3 read and edit the android source code/25
2.3.1 use eclipse To Read Source Code/25
2.3.2 feedback bug/26
2.3.3 submit changes/27
2.4 Summary/27
Chapter 2 Android Component Model Analysis/28
3.1 mashup-based application design/29
3.1.1 mashup/29 in Android
3.1.2 Android Application Model Based on mashup/30
3.1.3 application architecture features based on mashup/32
3.2 interface component activity parsing/34
3.2.1 functions and features of interface components/34
3.2.2 development of interface components/35
3.2.3 data structure of the interface component/39
3.3 service component resolution/40
3.3.1 functions and features of service components/41
3.3.2 development and use of service components/43
3.3.3 inter-process communication model of service components/45
3.4 trigger component broadcast receiver parsing/49
3.4.1 functions and features of the trigger component/49
3.4.2 use of trigger components/50
3.4.3 send broadcast events/52
3.5 data source component content provider resolution/52
3.5.1 positioning and operations of data source components/53
3.5.2 development of data source components/55
3.5.3 data source component implementation details/57
3.6 application configuration file parsing/59
3.6.1 permission configuration/61
3.6.2 environment configuration/63
3.6.3 application and component configuration/65
3.7 Summary/66
Chapter 2 intent mechanism of Android/67
4.1 Functions and composition of intent objects/68
4.1.1 functions of the intent object/69
4.1.2 composition of intent object/70
4.1.3 intent Object Parsing/75
4.1.4 intent filter object/76
4.2 intention matching/78
4.2.1 algorithm flow for intention matching/79
4.2.2 selection of matching components/84
4.2.3 Optimization of intention matching/85
4.3 Application of intent mechanism/86
4.3.1 application of intent mechanism in interface components/86
4.3.2 application of intent mechanism in service components/88
4.3.3 Application of intent mechanism in trigger components/89
4.4 Summary/90
Chapter 1 component lifecycle analysis/91
5.1 Application Process Model/92
5.1.1 applications, components and processes/92
5.1.2 application process configuration of components/94
5.2 application process hosting/96
5.2.1 why process hosting/97
5.2.2 process priority/97
5.2.3 process recycling algorithm/100
5.2.4 forced termination of processes/103
5.2.5 process priority control/105
5.3 component lifecycle model/106
5.3.1 UI component lifecycle/107
5.3.2 service component lifecycle/115
5.3.3 lifecycle of trigger components/119
5.3.4 data source component lifecycle/120
5.3.5 application environment lifecycle/120
5.4 task and interface component stack/120
5.4.1 interface component running mode/122
5.4.2 task viscosity of components/126
5.4.3 task control in actual application/127
5.5 Summary/128
Chapter 4 data transmission between components/6th
6.1 use intent object for data transmission/130
6.1.1 use intent object to return data/131
6.1.2 advantages and disadvantages of using intent object to transmit data/133
6.2 using files for data sharing/134
6.2.1 data sharing using files/134
6.2.2 advantages and disadvantages of using files for data sharing/135
6.3 global data sharing using the application environment/136
6.3.1 Data sharing using application environment objects/137
6.3.2 advantages and disadvantages of using application environment objects to share data/138
6.4 share data with components/139
6.4.1 share data with data source components/139
6.4.2 share data using service components/140
6.5 Summary/140
Chapter 2 Android control parsing/7th
7.1 Android control framework/142
7.1.1 Android control composition/142
7.1.2 Android interactive event transmission/143
7.1.3 Android control properties/145
7.1.4 control measurement and drawing/150
7.2 Android window mechanism/150
7.2.1 basic principle of window mechanism/151
7.2.2 interface components and Windows/152
7.2.3 dialog box/154
7.2.4 pop-up window/156
7.3 introduction to basic Android controls/158
7.3.1 text control/159
7.3.2 image control/163
7.3.3 surface control/164
7.3.4 layout control/164
7.3.5 adapter control/167
7.3.6 tab controls/172
7.3.7 browser controls/173
7.4 custom controls/175
7.4.1 control customization/175
7.4.2 Composite Control/180
7.4.3 self-painted controls/183
7.5 new Android interface development/188
7.5.1 action bar/188
7.5.2 UI fragment/191
7.5.3 re-customize the tab/197
7.5.4 interaction interface adaptation/200
7.6 Summary/204
Chapter 5 application resources/8th
8.1 Android Application resource system/206
8.1.1 composition of Android Application resources/206
8.1.2 Application resource adaptation/208
8.1.3 dynamic matching of application resources/209
8.2 Application resource calls/213
8.2.1 compilation of application resources and R class/213
8.2.2 Application resource management/215
8.2.3 use application resources/216
8.3 Application resource type/217
8.3.1 interface and style/217
8.3.2 string and constant/221
8.3.3 images, graphics, and animations/223
8.3.4 other resource files/225
8.4 Summary/225
Chapter 4 Data Storage/9th
9.1 Android File System/227
9.1.1 Android directory structure/229
9.1.2 Android app data storage/229
9.1.3 Android File Operations/231
9.2 use the setting file/233
9.2.1 set the storage and use of files/234
9.2.2 set interface components/235
9.3 database use/238
9.3.1 Android database implementation/238
9.3.2 use of the android database/240
9.4 storage on the cloud/243
9.4.1 cloud storage Architecture/244
9.4.2 use of cloud storage/245
9.5 Summary/247
Chapter 2 network communication/10th
10.1 web communication/249
10.1.1 HTTP-based network connection/249
10.1.2 network mode selection/252
10.1.3 WiFi management/254
10.2 Bluetooth/256
10.2.1 Bluetooth implementation for Android/256
10.2.2 Bluetooth-based communication/257
10.3 near-field communication/259
10.3.1 NFC-based identification and communication/259
10.3.2 NFC-based point-to-point communication/263
10.4 P2P communication based on wi-fi connection/263
10.4.1 P2P connection Implementation of Android 4.0/264
10.4.2 use socket for data transmission/266
10.5 Summary/268
Chapter 2 Geographic Information Service/11th
11.1 Android positioning service/270
11.1.1 positioning service framework/270
11.1.2 Location Information Source/272
11.1.3 positioning selection/273
11.1.4 locate the instance/274
11.2 Android address service/277
11.2.1 framework of Address Service/277
11.2.2 address service/278
11.3 Android map service/279
11.3.1 use map/279
11.3.2 other ways to use the map service/282
11.4 Summary/283
Chapter 4 multimedia processing/12th
12.1 Android image processing/285
12.1.1 image representation/285
12.1.2 image reading and output/286
12.1.3 Image Rendering/288
12.1.4 image management/290
12.2 Android audio/video processing/291
12.2.1 Android audio and video support framework/291
12.2.2 Android audio and video playback/292
12.2.3 Android audio/video recording/294
12.3 use of cameras in Android/296
12.4 Summary/300
Chapter 5 other important modules/13th
13.1 calls and text messages/302
13.1.1 Android call and SMS framework/302
13.1.2 call handling/303
13.1.3 sending and receiving of text messages/305
13.2 use and implementation of APP widgets/308
13.2.1 Android app widget framework/309
13.2.2 interface construction of APP widgets and remote views/311
13.2.3 event handling and pending intent/313 for app Widgets
13.3 Android app search/317
13.3.1 Android app search implementation framework/317
13.3.2 custom search function for applications/318
13.3.3 global search/322
13.4 Android global notification mechanism/323
13.4.1 global Notification Type and implementation/324
13.4.2 toast usage/325
13.4.3 status bar notification/327
13.5 Android contact handling/331
13.5.1 Android contact data storage framework/331
13.5.2 Android contact operation/332
13.6 Summary/334
This book is from: China Interactive publishing network