Mastering Android NDK (Paperback)
Sergey Kosarevsky, Viktor Latypov
- 出版商: Packt Publishing
- 出版日期: 2015-09-30
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 382
- 裝訂: Paperback
- ISBN: 1785288334
- ISBN-13: 9781785288333
-
相關分類:
Android
海外代購書籍(需單獨結帳)
相關主題
商品描述
Master the skills you need to develop portable, highly-functional Android applications using NDK
About This Book
- Develop portable games using Android NDK and debug them on your desktop
- Familiarise yourself with different popular C++ libraries on Android and use them in your games
- Write multi-threaded code with graphics, sound, networking, and resource storage
Who This Book Is For
If you want to leverage your C++ skills in mobile development and increase the performance of your Android applications, then this is the book for you. Knowledge of C or C++ is assumed, including pointer manipulation, multi-threading, object-oriented programming concepts, and the basics of C++11. It would be an added advantage if you know how to develop applications without any IDE.
What You Will Learn
What You Will Learn
- Explore popular C++ libraries and use them on Android
- Write portable, multithreaded native networking code
- Create portable audio framework using OpenAL
- Implement portable rendering framework using OpenGL ES 3
- Debug mobile applications on your desktop machine
- Access resources from APK archives
- Render text with FreeType
In Detail
Android NDK is used for multimedia applications that require direct access to system resources. NDK is also the key for portability, which in turn allows a reasonably comfortable development and debugging process using familiar tools such as GCC and Clang toolchains.
This is a hands-on guide to extending your game development skills with Android NDK. The book takes you through many clear, step-by-step example applications to help you further explore the features of Android NDK and some popular C++ libraries and boost your productivity by debugging the development process.
Through the course of this book, you will learn how to write portable multi-threaded native code, use HTTP networking in C++, play audio files, use OpenGL ES 3, and render high-quality text. Each chapter aims to take you one step closer to building your application. By the end of this book, you will be able to create an engaging, complete gaming application.
Style and approach
This book adopts a step-by-step approach and each chapter is based on the material from the previous ones. The book focuses on putting to your knowledge of C++ use while you develop Android applications of your own.
商品描述(中文翻譯)
掌握開發可攜、高功能的 Android 應用程式所需的技能,使用 NDK。
關於本書:
- 使用 Android NDK 開發可攜遊戲並在桌面上進行調試
- 熟悉 Android 上不同流行的 C++ 函式庫,並在遊戲中使用它們
- 撰寫具有圖形、音效、網路和資源儲存的多執行緒程式碼
本書適合對 C++ 技能在移動開發中有興趣並提升 Android 應用程式效能的讀者。須具備 C 或 C++ 的知識,包括指標操作、多執行緒、物件導向程式設計概念和 C++11 的基礎。如果您知道如何在沒有任何整合開發環境的情況下開發應用程式,將是一個額外的優勢。
學到什麼:
- 探索流行的 C++ 函式庫並在 Android 上使用它們
- 撰寫可攜、多執行緒的本機網路程式碼
- 使用 OpenAL 建立可攜的音效框架
- 使用 OpenGL ES 3 實現可攜的渲染框架
- 在桌面機器上調試行動應用程式
- 從 APK 檔案中存取資源
- 使用 FreeType 渲染文字
詳細內容:
Android NDK 用於需要直接存取系統資源的多媒體應用程式。NDK 也是可攜性的關鍵,這反過來又允許使用熟悉的工具(如 GCC 和 Clang 工具鏈)進行相對輕鬆的開發和調試過程。
本書是一本實用指南,旨在通過 Android NDK 擴展您的遊戲開發技能。本書通過許多清晰的、逐步的實例應用程式引導您進一步探索 Android NDK 的功能以及一些流行的 C++ 函式庫,並通過調試開發過程來提高生產力。
在本書的過程中,您將學習如何撰寫可攜的多執行緒本機程式碼、在 C++ 中使用 HTTP 網路、播放音訊檔案、使用 OpenGL ES 3 以及渲染高品質文字。每一章都旨在讓您更接近構建應用程式的目標。通過本書,您將能夠創建一個引人入勝、完整的遊戲應用程式。
風格和方法:
本書採用逐步指南的方式,每一章都基於前一章的內容。本書著重於在開發自己的 Android 應用程式時運用 C++ 知識。