Android NDK Beginners Guide, 2/e(Paperback)
Sylvain Ratabouil
- 出版商: Packt Publishing
- 出版日期: 2015-05-04
- 售價: $2,160
- 貴賓價: 9.5 折 $2,052
- 語言: 英文
- 頁數: 532
- 裝訂: Paperback
- ISBN: 1783989645
- ISBN-13: 9781783989645
-
相關分類:
Android
下單後立即進貨 (約3~4週)
相關主題
商品描述
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。