Android NDK Beginner's Guide (Paperback)
暫譯: Android NDK 初學者指南 (平裝本)
Sylvain Ratabouil
- 出版商: Packt Publishing
- 出版日期: 2012-01-28
- 售價: $2,050
- 貴賓價: 9.5 折 $1,948
- 語言: 英文
- 頁數: 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$387 -
$550$468 -
$480$408 -
$1,590$1,511 -
$2,280$2,166 -
$990Android Native Development Kit Cookbook (Paperback)
-
$590$502 -
$352Android 驅動開發權威指南
-
$2,100A Practical Introduction to Computer Vision with OpenCV (Paperback)
-
$450$356 -
$720$562 -
$449深入理解 Android 系統
-
$980$774 -
$1,080Expert Android Studio
-
$403Android底層開發技術實戰詳解:內核、移植和驅動(第2版)
-
$720$612 -
$650$514
商品描述
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 開發。