ENGLISH

Learning embedded android programming

Book information

Publisher
Packt Publishing Limited
Year
2016
ISBN
9781785283284, 1785283286
Language
english
Format
PDF
Filesize
26 MB (26913695 bytes)
Pages
282\282
Topic
Computers
Time added
2018-11-20 18:36:08

Description

Cover......Page 1 Copyright......Page 3 Credits......Page 4 About the Authors......Page 5 About the Reviewer......Page 6 www.PacktPub.com......Page 7 Table of Contents......Page 8 Preface......Page 16 Chapter 1: Understanding the Architecture ......Page 22 An overview of the Android system......Page 23 Linux kernel......Page 24 Hardware abstraction layer – HAL......Page 25 The application framework......Page 26 The application layer......Page 27 Android compatibility......Page 28 Device types......Page 29 Software compatibility......Page 30 Native API......Page 31 Maintaining 32-bit support......Page 32 From Dalvik to ART runtime......Page 33 The Android runtime......Page 34 Garbage collection and other improvements......Page 35 Waiting for Android Nougat......Page 36 Meeting the Compatibility Test Suite......Page 37 Device setup......Page 40 Media files setup......Page 41 Run!......Page 43 Analyzing the test results......Page 44 Setup......Page 46 Manual testing......Page 48 Retrieving the results......Page 50 Summary......Page 51 The Android philosophy......Page 52 The license......Page 53 The Android development model......Page 54 Source code tags and builds......Page 56 Tablets......Page 57 Source code tools......Page 58 Repo......Page 59 Free space......Page 60 Installing the required tools......Page 61 Getting ready......Page 63 Downloading the code......Page 66 Hands on the code......Page 67 A look inside AOSP......Page 69 The build directory......Page 71 The device directory......Page 72 The packages directory......Page 73 The rest of the directory structure......Page 74 Summary......Page 75 Preparing the host system......Page 76 Software requirements......Page 77 Installing Java JDK......Page 78 Installing system dependencies......Page 79 Setting up a Mac OS X environment......Page 80 Creating a case-sensitive disk image......Page 81 Installing the required software......Page 82 An overview......Page 83 Bootstrap......Page 85 Setup......Page 87 The TARGET_PRODUCT variable......Page 88 The TARGET_BUILD_VARIANT variable......Page 89 The buildspec.mk file......Page 90 The lunch command......Page 91 Building the system......Page 92 More about make......Page 93 Beyond the system image......Page 94 Inside an AOSP module......Page 95 Diving into Android.mk......Page 96 Android.mk variables ecosystem......Page 98 Module template examples......Page 101 Creating a custom device......Page 102 Diving into device configuration......Page 103 From zero to the screenlock......Page 104 Setup......Page 105 Build......Page 106 Run......Page 107 Summary......Page 108 Introducing ADB......Page 110 Pushing files to devices......Page 113 Installing Android APK files......Page 115 Logcat......Page 116 Fastboot......Page 119 Choosing our hardware......Page 120 Minimum requirements......Page 121 System on Chip – SoC......Page 122 Our hardware choice......Page 123 Motorola Nexus 6......Page 124 UDOO Quad......Page 125 Nexus 6......Page 127 UDOO Quad......Page 130 Bootloader......Page 131 System......Page 132 Nexus devices......Page 133 UDOO family boards......Page 136 Nexus 6......Page 137 UDOO......Page 138 Summary......Page 142 An overview of the Linux kernel......Page 144 Obtaining the kernel......Page 146 Retrieving the kernel's binary version......Page 147 Obtaining the kernel source code......Page 148 Setting up the toolchain......Page 150 Preparing the host system......Page 151 Configuring the kernel......Page 152 Compiling the kernel......Page 155 Working with non-Google devices......Page 156 Altering the CPU frequency......Page 160 An overview of the governors......Page 161 Creating the boot image......Page 163 Android boot sequence......Page 166 An overview of bootloader......Page 167 The Init process......Page 168 Actions......Page 169 Options......Page 170 Triggers......Page 171 Commands......Page 172 Summary......Page 174 History of custom ROMs......Page 176 Cyanogenmod......Page 178 Installing a pre-build version......Page 180 The Android Open Kang Project......Page 181 Installing AOKP......Page 183 Minor ROMs......Page 184 Samsung – TouchWiz......Page 185 Huawei EMUI......Page 186 HTC Sense......Page 187 Xiaomi MIUI......Page 189 Diving into Android recovery......Page 191 Installing an alternative recovery......Page 193 Clockworkmod......Page 194 TWRP – Team Win Recovery Project......Page 196 Device permissions......Page 197 SuperSu......Page 198 Chef toolkit......Page 199 Android kitchen......Page 200 Other developers' tools......Page 201 Manipulating DEX files with APKTool......Page 202 Cooking our first ROM......Page 203 Dumping system partitions......Page 204 Modifying an Android system binary image......Page 206 Modifying an Android binary boot image......Page 207 Flashing our custom ROM......Page 208 Summary......Page 209 Chapter 7: Tailoring Your Personal Android System ......Page 210 Receiving over the air updates – OTA......Page 211 Applying a single component update......Page 212 Creating over the air updates......Page 213 OTA internals......Page 215 Edify syntax......Page 216 OTA for custom ROM......Page 218 ROM customization from binary......Page 219 Customizing ROM from source......Page 220 Adding a package by binary......Page 221 Adding packages by source code......Page 224 Customizing the boot sequence UI......Page 230 Customizing the Android Settings menu......Page 234 Customizing the system property file......Page 239 Adding a custom init sequence......Page 241 Diving into CPU frequency management......Page 242 Adding a custom CPU frequency governor......Page 243 Exploring I/O schedulers......Page 245 Looking forward......Page 246 Summary......Page 250 Chapter 8: Beyond the Smartphone ......Page 252 Meeting Arduino......Page 253 Android ADK......Page 255 Getting ready......Page 256 Flashing the Arduino board......Page 257 Creating the Android app......Page 262 Exploring the possibilities of the Internet of Things......Page 265 Android Auto......Page 266 Android Wear......Page 269 Domotics......Page 270 Multimedia......Page 272 Toys......Page 273 Summary......Page 275 Index......Page 276

Similar books