如果你有一定的Android的基础和英语基础,
有愿意贡献开源社区的心,
如果你对以下目录感兴趣,
欢迎加入我们协同翻译《Embedded Android》
此次协同翻译,将使用github的形式,请您务必有一个github的账号。
co-work QQ群: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 Inclusion, 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 | Building the NDK 108 |
| 86 | Updating the API 109 |
| 87 | Building a Single Module 110 |
| 88 | Building 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提交流程
a,进入项目地址,先fork这个项目到你的项目中。
b,把你fork的项目clone到你本地
c,git branch dev 新建一个分支
d,git checkout dev 切换到dev分支
e, git remote add upstream https://github.com/koffuxu/Embedded_Android_in_Chinese把项目添加你的远程仓库
f,git remote update 把koffuxu的分支拿下来
g,git fetch upstream master 把koffuxu的maser分支更新到本地
h, git rebase upstream/master更新合并
之后更新使用如下命令
git remote update upstream 把koffuxu的修改更新到本地
git rebase upstream/master更新合并
OK,等的就是你。
原文:http://blog.csdn.net/koffuxu/article/details/38984381