Android System Programming (Android 系統程式設計)

Roger Ye

  • 出版商: Packt Publishing
  • 出版日期: 2017-05-31
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 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的有用提示。

風格和方法

本書是一本易於理解的指南,充滿了實際示例和系統級編程技巧。