Android System Programming
暫譯: Android 系統程式設計

Roger Ye

  • 出版商: Packt Publishing
  • 出版日期: 2017-05-31
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 470
  • 裝訂: Paperback
  • ISBN: 178712536X
  • ISBN-13: 9781787125360
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Build, customize, and debug your own Android system About This Book * Master Android system-level programming by integrating, customizing, and extending popular open source projects * Use Android emulators to explore the true potential of your hardware * Master key debugging techniques to create a hassle-free development environment Who This Book Is For This book is for Android system programmers and developers who want to use Android and create indigenous projects with it. You should know the important points about the operating system and the C/C++ programming language. What You Will Learn * Set up the Android development environment and organize source code repositories * Get acquainted with the Android system architecture * Build the Android emulator from the AOSP source tree * Find out how to enable WiFi in the Android emulator * Debug the boot up process using a customized Ramdisk * Port your Android system to a new platform using VirtualBox * Find out what recovery is and see how to enable it in the AOSP build * Prepare and test OTA packages In Detail Android system programming involves both hardware and software knowledge to work on system level programming. The developers need to use various techniques to debug the different components in the target devices. With all the challenges, you usually have a deep learning curve to master relevant knowledge in this area. This book will not only give you the key knowledge you need to understand Android system programming, but will also prepare you as you get hands-on with projects and gain debugging skills that you can use in your future projects. You will start by exploring the basic setup of AOSP, and building and testing an emulator image. In the first project, you will learn how to customize and extend the Android emulator. Then you'll move on to the real challenge-building your own Android system on VirtualBox. You'll see how to debug the init process, resolve the bootloader issue, and enable various hardware interfaces. When you have a complete system, you will learn how to patch and upgrade it through recovery. Throughout the book, you will get to know useful tips on how to integrate and reuse existing open source projects such as LineageOS (CyanogenMod), Android-x86, Xposed, and GApps in your own system. Style and approach This is an easy-to-follow guide full of hands-on examples and system-level programming tips.

商品描述(中文翻譯)

建立、客製化及除錯您的 Android 系統

關於本書
* 精通 Android 系統層級程式設計,整合、客製化及擴展流行的開源專案
* 使用 Android 模擬器探索硬體的真正潛力
* 精通關鍵的除錯技術,創建無障礙的開發環境

本書適合誰
本書適合希望使用 Android 並創建本土專案的 Android 系統程式設計師和開發者。您應該了解操作系統和 C/C++ 程式語言的重要要點。

您將學到什麼
* 設置 Android 開發環境並組織源代碼庫
* 熟悉 Android 系統架構
* 從 AOSP 源碼樹構建 Android 模擬器
* 瞭解如何在 Android 模擬器中啟用 WiFi
* 使用自定義 Ramdisk 除錯啟動過程
* 使用 VirtualBox 將您的 Android 系統移植到新平台
* 瞭解恢復模式是什麼,並查看如何在 AOSP 構建中啟用它
* 準備和測試 OTA 套件

詳細內容
Android 系統程式設計涉及硬體和軟體知識,以進行系統層級的程式設計。開發者需要使用各種技術來除錯目標設備中的不同組件。面對所有挑戰,您通常需要經歷一個深奧的學習曲線,以掌握該領域的相關知識。本書不僅會提供您理解 Android 系統程式設計所需的關鍵知識,還會在您實際操作專案並獲得可用於未來專案的除錯技能時做好準備。您將從探索 AOSP 的基本設置開始,然後構建和測試模擬器映像。在第一個專案中,您將學習如何客製化和擴展 Android 模擬器。接著,您將面臨真正的挑戰——在 VirtualBox 上構建自己的 Android 系統。您將看到如何除錯 init 過程、解決啟動加載器問題以及啟用各種硬體介面。當您擁有一個完整的系統時,您將學習如何通過恢復進行修補和升級。在整本書中,您將了解如何在自己的系統中整合和重用現有的開源專案,如 LineageOS (CyanogenMod)、Android-x86、Xposed 和 GApps 的有用提示。

風格與方法
這是一本易於跟隨的指南,充滿了實用範例和系統層級程式設計技巧。