Embedded Android collaborative Translation
If you have basic Android and English,
Be willing to contribute to the open-source community,
If you are interested in the following directories,
Welcome to our collaborative translation of "Embedded Android"
This collaborative translation will use github. Please have a github account.
QQ Group of co-work: 15997841
1, The Content
| 1 |
Preface ....................................... .............................. vii |
| 2 |
|
| 3 |
1. introduction ....................................... .................... 1 |
| 4 |
History 1 |
| 5 |
Features And Characteristics 2 |
| 6 |
Development Model 4 |
| 7 |
Differences With "Classic" Open Source Projects 5 |
| 8 |
Feature compression Sion, Roadmaps, And New Releases 6 |
| 9 |
Ecosystem 7 |
| 10 |
A Word on the Open Handset Alliance 7 |
| 11 |
Getting "Android" 8 |
| 12 |
Legal Framework 9 |
| 13 |
Code Licenses 9 |
| 14 |
Branding Use 12 |
| 15 |
Google's Own Android Apps 13 |
| 16 |
Alternative App Markets 13 |
| 17 |
Oracle v Google 13 |
| 18 |
Hardware And Compliance Requirements 14 |
| 19 |
Compliance Definition Document 15 |
| 20 |
Compliance Test Suite 18 |
| 21 |
Development Setup And Tools 19 |
| 22 |
|
| 23 |
2. internals Primer ...................................... ................. 21 |
| 24 |
App Developer's View 21 |
| 25 |
Android Concepts 22 |
| 26 |
Framework Intro 25 |
| 27 |
App Development Tools 27 |
| 28 |
Native Development 27 |
| 29 |
Overall Architecture 28 |
| 30 |
Linux Kernel 29 |
| 31 |
Wakelocks 30 |
| 32 |
Low Memory Killer 31 |
| 33 |
Binder 32 |
| 34 |
Anonymous Shared Memory (ashmem) 33 |
| 35 |
Alarm 34 |
| 36 |
Logger 35 |
| 37 |
Other Notable Androidisms 37 |
| 38 |
Hardware Support 38 |
| 39 |
The Linux Approach 38 |
| 40 |
Android's General Approach 39 |
| 41 |
Loading And Interfacing Methods 40 |
| 42 |
Device Support Details 42 |
| 43 |
Native User-Space 43 |
| 44 |
Filesystem layout 44 |
| 45 |
Libraries 45 |
| 46 |
Init 47 |
| 47 |
Toolbox 48 |
| 48 |
Daemons 49 |
| 49 |
Command-Line Utilities 50 |
| 50 |
Dalvik And Android's Java 50 |
| 51 |
Java Native Interface (JNI) 52 |
| 52 |
System Services 53 |
| 53 |
Service Manager And Binder Interaction 55 |
| 54 |
Calling on Services 57 |
| 55 |
A Service Example: the Activity Manager 57 |
| 56 |
Stock AOSP Packages 57 |
| 57 |
System Startup 59 |
| 58 |
|
| 59 |
3. AOSP Jumpstart ...................................... ................. 63 |
| 60 |
Getting the AOSP 63 |
| 61 |
Inside the AOSP 65 |
| 62 |
Build Basics 68 |
| 63 |
Build System Setup 68 |
| 64 |
Building Android 69 |
| 65 |
Running Android 73 |
| 66 |
Using ADB 75 |
| 67 |
Mastering the Emulator 79 |
| 68 |
|
| 69 |
4. the Build System ..................................... .................. 85 |
| 70 |
Comparisons With Other Build Systems 85 |
| 71 |
Architecture 87 |
| 72 |
Configuration 88 |
| 73 |
Envsetup. sh 91 |
| 74 |
Directive Definitions |
| 75 |
Main Make Recipes 96 |
| 76 |
Cleaning 98 |
| 77 |
Module Build Templates 98 |
| 78 |
Output 102 |
| 79 |
Build Recipes 104 |
| 80 |
The Default droid Build 104 |
| 81 |
Seeing the Build Commands 105 |
| 82 |
Building the SDK for Linux And MacOS 105 |
| 83 |
Building the SDK for Windows 106 |
| 84 |
Building the CTS 106 |
| 85 |
Buildings the NDK 108 |
| 86 |
Updating the API 109 |
| 87 |
Buildings a Single Module 110 |
| 88 |
Construction Out of Tree 110 |
| 89 |
Basic AOSP Hacks 112 |
| 90 |
Adding an App 112 |
| 91 |
Adding a Native Tool Or Daemon 113 |
| 92 |
Adding a Native Library 114 |
| 93 |
Adding a Device 115 |
| 94 |
Adding an App Overlay |
| 95 |
|
2. github submission process
A. Go to the Project address and fork the project to your project.
B. clone your fork project to your local device.
C, git branch dev create a branch
D. Switch git checkout dev to the dev branch.
E, git remote add upstream https://github.com/koffuxu/embedded_android_in_chineseto release the project to your remote Repository
F. git remote update: remove the branch of koffuxu.
G, git fetch upstream master updates the maser branch of koffuxu to the local
H, git rebase upstream/master update merge
Use the following command to update
Git remote update upstream updates the modifications to koffuxu to the local device.
Git rebase upstream/master update merge
OK. You are the one to wait.