編輯:關於Android編程
如果你有一定的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,等的就是你。
近段時間來Android上最火的框架非react native莫屬了,這裡我不去評價這個框架的好壞,畢竟只有用過的人才會有深刻的體會。但是我個人有一個習慣,在使用一個開源
AppBarLayout 是繼承LinerLayout實現的一個ViewGroup容器組件,它是為了Material Design設計的App Bar,支持手勢滑動操作的
今年6月的Google I/O大會上,Android L的初次見面我相信讓會讓很多android粉絲有些小激動和小期待,當然作為開發者的我來說,激動不言而喻,畢竟這是自0
本文實例講述了Android實現便於批量操作可多選的圖片ListView。分享給大家供大家參考,具體如下:之前項目需要實現一個可多選的圖片列表,用戶選中一到多張圖片後,批