Android NDK Beginner's Guide (Paperback)
Sylvain Ratabouil
- 出版商: Packt Publishing
- 出版日期: 2012-01-28
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 436
- 裝訂: Paperback
- ISBN: 1849691525
- ISBN-13: 9781849691529
-
相關分類:
Android
-
其他版本:
Android NDK Beginners Guide, 2/e(Paperback)
買這商品的人也買了...
-
$420$332 -
$700$630 -
$990Criminalistics: An Introduction to Forensic Science, 9/e (paperback)
-
$400$316 -
$780$616 -
$480$379 -
$590$502 -
$520$411 -
$490$417 -
$550$435 -
$480$432 -
$1,560$1,482 -
$2,240$2,128 -
$990Android Native Development Kit Cookbook (Paperback)
-
$590$502 -
$352Android 驅動開發權威指南
-
$2,210$2,100 -
$450$356 -
$720$562 -
$449深入理解 Android 系統
-
$980$774 -
$1,080Expert Android Studio
-
$403Android底層開發技術實戰詳解:內核、移植和驅動(第2版)
-
$720$612 -
$650$553
相關主題
商品描述
Discover the native side of Android and inject the power of C/C++ in your applications
- Create high performance 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
In Detail
Android NDK is all about injecting high performance into your apps. Exploit the maximum power of these mobile devices using high-performance and portable code.
This book will show you how to create C/C++ enabled applications and integrate them with Java. You will learn how to access native API and port libraries used in some of the most successful Android applications.
Using this practical step-by-step tutorial, highlighted with comments and tricks, discover how to run C/C++ code embedded in a Java application or in a standalone application. You will create a real native application starting from project creation through to full implementation of native API and the porting of existing third-party libraries. You will discover OpenGL ES and OpenSL ES, which are becoming the new standard in mobility. You will also understand how to access keyboard and input peripherals and how to read accelerometer or orientation sensors. Finally, you will dive into more advanced topics such as debugging and ARM assembler instructions. By the end of the book, you should know the key elements to enable you to start exploiting the power and portability of native code.
What you will learn from this book
- Jump in the starting block and create your first Android native projec
- Communicate with Java through Java Native Interfaces
- Display 2D and 3D graphics with OpenGL ES
- Play sound and music with OpenSL ES
- Manage Android input and sensors
- Debug applications and discover advanced ARM instructions
- Port existing C/C++ code to Android
- Combine graphics, sound, input, sensors and physics in your application
Approach
This beginner's guide focuses on getting you through all the major learning points in a smooth, logical order. You'll also see how to avoid some common pitfalls.
Who this book is written for
Are you an Android Java programmer who needs more performance? Are you a C/C++ developer who doesn't want to bother with Java stuff and its out-of-control garbage collector? Do you want to create fast intensive multimedia applications or games? Answer yes to any of the above and this book is for you. With some general knowledge of C/C++ development, you will be able to dive head first into native Android development.
商品描述(中文翻譯)
發現 Android 的原生一面,並在應用程式中注入 C/C++ 的強大功能
- 使用 C/C++ 創建高效能應用程式並與 Java 整合
- 利用高級 Android 功能,如圖形、音效、輸入和感應
- 移植並重複使用您自己或第三方庫,來自豐富的 C/C++ 生態系統
詳細內容
Android NDK 的目標是為您的應用程式注入高效能。利用高效能且可攜式的程式碼,充分發揮這些行動裝置的最大潛力。
本書將向您展示如何創建啟用 C/C++ 的應用程式並將其與 Java 整合。您將學習如何存取原生 API 並移植用於一些最成功的 Android 應用程式的庫。
通過這個實用的逐步教程,並以註解和技巧為亮點,發現如何在 Java 應用程式或獨立應用程式中執行嵌入的 C/C++ 程式碼。您將從項目創建開始創建一個真實的原生應用程式,一直到完整實現原生 API 和現有第三方庫的移植。您將了解 OpenGL ES 和 OpenSL ES,它們正在成為移動性的新標準。您還將了解如何存取鍵盤和輸入外設,以及如何讀取加速度計或方向感應器。最後,您將深入研究更高級的主題,如調試和 ARM 組合語言指令。通過本書,您應該了解開始利用原生程式碼的強大和可攜性的關鍵要素。
本書的學習重點
- 跳入起跑線,創建您的第一個 Android 原生專案
- 通過 Java Native Interfaces 與 Java 進行通訊
- 使用 OpenGL ES 顯示 2D 和 3D 圖形
- 使用 OpenSL ES 播放音效和音樂
- 管理 Android 輸入和感應器
- 調試應用程式並了解高級 ARM 指令
- 將現有的 C/C++ 程式碼移植到 Android
- 在應用程式中結合圖形、音效、輸入、感應器和物理效果
方法
這本初學者指南專注於以流暢、邏輯的順序引導您通過所有主要學習點。您還將了解如何避免一些常見的陷阱。
本書的讀者
您是一位需要更高效能的 Android Java 程式設計師嗎?您是一位不想煩惱 Java 問題及其失控的垃圾回收器的 C/C++ 開發人員嗎?您想創建快速且密集的多媒體應用程式或遊戲嗎?如果對以上任何問題回答是肯定的,那麼本書就是為您而寫的。只要具備一些 C/C++ 開發的一般知識,您就能夠立即投入原生 Android 開發。