Android NDK Beginners Guide, 2/e(Paperback)
暫譯: Android NDK 初學者指南,第2版(平裝本)
Sylvain Ratabouil
- 出版商: Packt Publishing
- 出版日期: 2015-05-04
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 532
- 裝訂: Paperback
- ISBN: 1783989645
- ISBN-13: 9781783989645
-
相關分類:
Android
海外代購書籍(需單獨結帳)
商品描述
Discover the native side of Android and inject the power of C/C++ in your applications
About This Book
- Create high performance mobile applications with C/C++ and integrate with Java
- Exploit advanced Android features such as graphics, sound, input, and sensing
- Port and reuse your own or third-party libraries from the prolific C/C++ ecosystem
Who This Book Is For
Are you an Android Java programmer who needs more performance? Are you a C/C++ developer who doesn't want to bother with the complexity of Java and its out-of-control garbage collector? Do you want to create fast intensive multimedia applications or games? If you've answered yes to any of these questions then this book is for you. With some general knowledge of C/C++ development, you will be able to dive headfirst into native Android development.
What You Will Learn
- Build your first Android native project from scratch
- Communicate with Java through Java Native Interfaces
- Learn the key design intricacies of creating a native OpenGL ES 2.0 graphics application
- Initialize, play, and record sound and music with OpenSL ES
- Handle input events and sensors to create different interaction types
- Port an existing library on Android by compiling most common C++ frameworks on Android
- Interface and optimize the existing code with RenderScript
- Combine graphics, sound, input, sensors, and physics in your application
In Detail
Android NDK is all about injecting high-performance and portable code into your mobile apps by exploiting the maximum speed of the device they run on.
This book will show you how to create C/C++-enabled mobile applications and integrate them with Java. The books starts with teaching you how to access native API and port libraries used in some of the most successful Android applications. Next, you will move on to create a real native application project through the complete implementation of a native API and porting existing third-party libraries. Moving forward, you will learn how to access the keyboard and input peripherals and read accelerometer or orientation sensors. Finally, you will dive into more advanced topics such as RenderScript.
商品描述(中文翻譯)
探索 Android 的原生面向,並在您的應用程式中注入 C/C++ 的力量
本書簡介
- 使用 C/C++ 創建高效能的行動應用程式並與 Java 整合
- 利用先進的 Android 功能,如圖形、聲音、輸入和感測
- 從豐富的 C/C++ 生態系統中移植和重用您自己的或第三方的函式庫
本書適合誰
您是需要更高效能的 Android Java 程式設計師嗎?您是希望避免 Java 的複雜性及其失控的垃圾回收器的 C/C++ 開發者嗎?您想要創建快速且密集的多媒體應用程式或遊戲嗎?如果您對以上任何問題的回答是肯定的,那麼這本書就是為您而寫的。擁有一些 C/C++ 開發的基本知識後,您將能夠全心投入原生 Android 開發。
您將學到什麼
- 從零開始構建您的第一個 Android 原生專案
- 通過 Java Native Interfaces 與 Java 進行通信
- 學習創建原生 OpenGL ES 2.0 圖形應用程式的關鍵設計細節
- 使用 OpenSL ES 初始化、播放和錄製聲音和音樂
- 處理輸入事件和感測器以創建不同的互動類型
- 通過編譯 Android 上最常見的 C++ 框架來移植現有的函式庫
- 與 RenderScript 介面並優化現有代碼
- 在您的應用程式中結合圖形、聲音、輸入、感測器和物理效果
詳細內容
Android NDK 的核心在於通過利用運行設備的最大速度,將高效能和可攜式代碼注入您的行動應用程式中。
本書將向您展示如何創建支持 C/C++ 的行動應用程式並與 Java 整合。書中首先教您如何訪問原生 API 和移植在一些最成功的 Android 應用程式中使用的函式庫。接下來,您將進入創建一個真正的原生應用程式專案,通過完整實現原生 API 和移植現有的第三方函式庫。隨後,您將學習如何訪問鍵盤和輸入外圍設備,以及讀取加速度計或方向感測器。最後,您將深入探討更高級的主題,如 RenderScript。