Instant Android Systems Development How-to
暫譯: 即時 Android 系統開發指南
Earlence Fernandes
- 出版商: Packt Publishing
- 出版日期: 2013-05-31
- 售價: $1,020
- 貴賓價: 9.5 折 $969
- 語言: 英文
- 頁數: 100
- 裝訂: Paperback
- ISBN: 1849519765
- ISBN-13: 9781849519762
-
相關分類:
Android
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$709Android 系統服務開發
商品描述
Get your hands dirty with Android Systems Development through carefully thought-out source code examples with this book and ebook
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- A gentle introduction to Android Platform Internals and how to make changes to the system
- Gain the skills necessary for building high quality systems code for the Android Platform
- Code examples are provided in a manner that facilitates the “Learning-by-doing” paradigm
In Detail
Android is by far the most popular open source mobile operating system. Learning to write high quality code at the platform level and learning how the systems works internally is a vital skill. This book teaches you these skills with clear and concise explanations and code examples.
Instant Android Systems Development How-to provides a gentle introduction to the platform internals without sacrificing depth. Source code examples are designed to be meaningful, but at the same time, do not disguise their real purpose, which is to illustrate systems development techniques and common design patterns in android systems programming. Readers will be guided through several examples that give a hands-on experience.
Readers begin by downloading the android source code, which is a topic of much discussion on android forums. They are then guided through the android boot process, and later on learn various common android systems development paradigms. More importantly, the book provides advice on when to use certain techniques which is often a mystery for the novice developer. Readers who complete the book will have high confidence in developing good systems code for Android.
The book discusses how to setup a development machine and how to obtain the android source code and kernel code. It describes the source code organization and how the system boots up with precise references to various points in the source code. It highlights the common systems design patterns followed and how to create a custom system service. It then covers the all important flashing of phones. This is a topic of much confusion and the book provides direct steps to achieve safe flashing of developer phones. It describes the user application library mechanism and the platform library mechanism. Native code is needed for certain operations and an example service utilizing native code is explained. Modification of core system applications is explained and useful tips are provided on how to speed up the build-test cycle. The book concludes with a case study of two real world android platform extensions which give the user a reference while developing their own extensions.
Instant Android Systems Development How-to is a well rounded book on platform internals that provides simple explanations without sacrificing depth and rigor.
What you will learn from this book
- Learn to correctly obtain the Android Platform sources and android kernel sources
- Gain knowledge about the Android boot process and new concepts introduced by Android into the Linux world
- Build custom system services and secure these using the correct security mechanisms
- Flash built OS images to several Google Developer phones and learn the concepts behind various flashing procedures
- Expose custom system services to SDK applications through user application linked libraries
- Understand the platform library mechanism and how this helps build platform extensions without changing the core system
- Modify the core Android system services and get knowledge about the rules to be kept in mind while doing so
- Gain tips and Tricks to shorten the build-test cycle
商品描述(中文翻譯)
獲得 Android 系統開發的實作經驗,透過這本書和電子書中精心設計的源代碼範例。
概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 溫和介紹 Android 平台內部結構及如何對系統進行更改
- 獲得在 Android 平台上構建高品質系統代碼所需的技能
- 代碼範例以促進「實作學習」的方式提供
詳細內容
Android 是目前最受歡迎的開源移動操作系統。在平台層級撰寫高品質代碼以及了解系統內部運作是至關重要的技能。本書以清晰簡潔的解釋和代碼範例教導您這些技能。
《即時 Android 系統開發指南》提供了對平台內部結構的溫和介紹,同時不犧牲深度。源代碼範例旨在具有意義,但同時不掩蓋其真正目的,即說明系統開發技術和 Android 系統編程中的常見設計模式。讀者將通過幾個範例獲得實作經驗。
讀者首先下載 Android 源代碼,這是 Android 論壇上經常討論的主題。接著,他們將被引導了解 Android 啟動過程,並學習各種常見的 Android 系統開發範式。更重要的是,本書提供了何時使用某些技術的建議,這對於初學者開發者來說往往是一個謎。完成本書的讀者將對開發良好的 Android 系統代碼充滿信心。
本書討論如何設置開發機器以及如何獲取 Android 源代碼和內核代碼。它描述了源代碼的組織結構以及系統啟動的過程,並精確引用源代碼中的各個點。它強調遵循的常見系統設計模式以及如何創建自定義系統服務。然後,它涵蓋了至關重要的手機刷機。這是一個常常令人困惑的主題,本書提供了安全刷機開發者手機的直接步驟。它描述了用戶應用程序庫機制和平台庫機制。某些操作需要原生代碼,並解釋了一個利用原生代碼的範例服務。核心系統應用程序的修改也有說明,並提供了加速構建測試週期的有用提示。本書以兩個現實世界的 Android 平台擴展案例研究作結,為用戶在開發自己的擴展時提供參考。
《即時 Android 系統開發指南》是一本全面的關於平台內部結構的書籍,提供簡單的解釋而不犧牲深度和嚴謹性。
您將從本書中學到什麼
- 學會正確獲取 Android 平台源代碼和 Android 內核源代碼
- 獲得有關 Android 啟動過程的知識以及 Android 在 Linux 世界中引入的新概念
- 構建自定義系統服務並使用正確的安全機制來保護這些服務
- 將構建的操作系統映像刷入多部 Google 開發者手機,並了解各種刷機程序背後的概念
- 通過用戶應用程序鏈接庫將自定義系統服務暴露給 SDK 應用程序
- 理解平台庫機制及其如何幫助在不改變核心系統的情況下構建平台擴展
- 修改核心 Android 系統服務,並了解在此過程中需要遵循的規則
- 獲得縮短構建測試週期的技巧和竅門