Pro Android C++ with the NDK (Paperback)
暫譯: 專業 Android C++ 與 NDK (平裝本)
Onur Cinar
- 出版商: Apress
- 出版日期: 2012-12-07
- 售價: $2,280
- 貴賓價: 9.5 折 $2,166
- 語言: 英文
- 頁數: 416
- 裝訂: Paperback
- ISBN: 1430248270
- ISBN-13: 9781430248279
-
相關分類:
Android、C++ 程式語言
-
相關翻譯:
Android C++ 高級編程-使用 NDK (Pro Android C++ with the NDK) (簡中版)
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$800$632 -
$788Android Wireless Application Development (Paperback)
-
$620$490 -
$690$621 -
$520$411 -
$2,050$1,948 -
$1,480$1,406 -
$580$458 -
$580$458 -
$580$458 -
$1,080Android Recipes: A Problem-Solution Approach, 2/e (Paperback)
-
$980$774 -
$580$452 -
$580$458 -
$990Android Native Development Kit Cookbook (Paperback)
-
$352深入理解 Android 網絡編程-技術詳解與最佳實踐
-
$590$502 -
$352Android 驅動開發權威指南
-
$2,100A Practical Introduction to Computer Vision with OpenCV (Paperback)
-
$450$356 -
$620$608 -
$690$538 -
$5,550$5,273 -
$420$357 -
$352Android Launcher 應用開發
商品描述
Android is one of the major players in the mobile phone market. Android is a mobile platform that is built on the top of Linux operating system. The native-code support on Android offers endless opportunities to application developers, not limited the functionality that is provided by Android framework. Pro Android C++ with the NDK is an advanced tutorial and professional reference for today's more sophisticated app developers now porting, developing or employing C++ and other native code to integrate into the Android platform to run sophisticated native apps and better performing apps in general. Using a game app case study, this book explores tools for troubleshooting, debugging, analyzing memory issues, unit testing, unit test code coverage, performance measurement, on native applications, as well as integrating the Android NDK toolchain into existing Autoconf, Makefile, CMake, or JAM based build systems. Pro Android C++ with the NDK also covers the following:
·
- The Android platform, and getting up to speed with the Android NDK, and exploring the APIs that are provided in native space.
- An overview of Java Native Interface (JNI), and auto-generating JNI code through Simplified Wrapper and Interface Generator (SWIG).
- An introduction to Bionic API, native networking. native multithreading, and the C++ Standard Template Library (STL) support.
- Native graphics and sound using JNI Graphics, OpenGL ES, and OpenSL ES.
- Debugging and troubleshooting native applications using Logging, GNU Debugger (GDB), Eclipse Debugger, Valgrind, strace, and other tools.
- Profiling native code using GProf to identify performance bottlenecks, and NEON/SIMD optimization from an advanced perspective, with tips and recommendations.
What you’ll learn
- What is the Android platform, and getting up to speed with the Android NDK.
- Using the Eclipse IDE to streamline developing native applications
- How to use Java Native Interface (JNI) to connect native code to Java world.
- Auto-generate JNI code using Simplified Wrapper and Interface Generator (SWIG).
- Introduction to Bionic API
- Networking through POSIX sockets
- Developing multithreaded applications using POSIX Threads, and Java Threads.
- Debug through Logging, GNU Debugger (GDB), and Eclipse Debugger
- Analyze memory issues through Valgrind
- C++ Support and Standard Template Library STL
- Native Graphics through JNI Graphics and OpenGL ES
- Native Sound through OpenSL ES
- Profiling the native code using GProf to identify performance bottlenecks
- Optimize code using SIMD/NEON
Who this book is for
This book is for software professionals who are interested in leveraging the Android NDK to port their existing native-code app, such as C++, to the Android platform, as well as existing Android developers who are interested in improving their apps overall performance by utilizing native-code.
Table of Contents
- Getting Started with C++ on Android
- Exploring the Android NDK
- Communicating with Native Code using JNI
- Auto-Generate JNI Code Using SWIG
- Logging, Debugging, and Troubleshooting
- Bionic API Primer
- Native Threads
- POSIX Socket API: Connection Oriented Communication
- POSIX Socket API: Connetionless Communication
- POSIX Socket API: Local Communication
- C++ Support
- Native Graphics API
- Sound Native API
- Profiling and NEON Optimization
商品描述(中文翻譯)
Android 是手機市場的主要參與者之一。Android 是一個建立在 Linux 作業系統之上的行動平台。Android 的原生代碼支援為應用程式開發者提供了無限的機會,不僅限於 Android 框架所提供的功能。《Pro Android C++ with the NDK》是一本針對當今更為複雜的應用程式開發者的進階教程和專業參考書,這些開發者正在將 C++ 和其他原生代碼移植、開發或整合到 Android 平台,以運行複雜的原生應用程式並提升應用程式的整體效能。這本書使用遊戲應用程式的案例研究,探討了故障排除、除錯、分析記憶體問題、單元測試、單元測試代碼覆蓋率、效能測量等工具,並介紹如何將 Android NDK 工具鏈整合到現有的 Autoconf、Makefile、CMake 或 JAM 基礎的建置系統中。《Pro Android C++ with the NDK》還涵蓋了以下內容:
· Android 平台,以及快速了解 Android NDK,並探索在原生空間中提供的 API。
· Java Native Interface (JNI) 的概述,以及通過簡化包裝器和介面生成器 (SWIG) 自動生成 JNI 代碼。
· Bionic API 的介紹、原生網路、原生多執行緒,以及 C++ 標準模板庫 (STL) 的支援。
· 使用 JNI Graphics、OpenGL ES 和 OpenSL ES 的原生圖形和聲音。
· 使用 Logging、GNU Debugger (GDB)、Eclipse Debugger、Valgrind、strace 和其他工具來除錯和故障排除原生應用程式。
· 使用 GProf 對原生代碼進行性能分析,以識別性能瓶頸,並從進階的角度進行 NEON/SIMD 優化,提供提示和建議。
你將學到的內容:
· 什麼是 Android 平台,以及快速了解 Android NDK。
· 使用 Eclipse IDE 簡化原生應用程式的開發。
· 如何使用 Java Native Interface (JNI) 將原生代碼連接到 Java 環境。
· 使用簡化包裝器和介面生成器 (SWIG) 自動生成 JNI 代碼。
· Bionic API 的介紹。
· 通過 POSIX 套接字進行網路通訊。
· 使用 POSIX Threads 和 Java Threads 開發多執行緒應用程式。
· 通過 Logging、GNU Debugger (GDB) 和 Eclipse Debugger 進行除錯。
· 通過 Valgrind 分析記憶體問題。
· C++ 支援和標準模板庫 STL。
· 通過 JNI Graphics 和 OpenGL ES 進行原生圖形處理。
· 通過 OpenSL ES 進行原生聲音處理。
· 使用 GProf 對原生代碼進行性能分析,以識別性能瓶頸。
· 使用 SIMD/NEON 優化代碼。
本書適合對利用 Android NDK 將現有的原生代碼應用程式(如 C++)移植到 Android 平台感興趣的軟體專業人士,以及希望通過利用原生代碼來改善其應用程式整體性能的現有 Android 開發者。
目錄:
1. 在 Android 上開始使用 C++
2. 探索 Android NDK
3. 使用 JNI 與原生代碼進行通訊
4. 使用 SWIG 自動生成 JNI 代碼
5. 記錄、除錯和故障排除
6. Bionic API 入門
7. 原生執行緒
8. POSIX 套接字 API:面向連接的通訊
9. POSIX 套接字 API:無連接的通訊
10. POSIX 套接字 API:本地通訊
11. C++ 支援
12. 原生圖形 API
13. 原生聲音 API
14. 性能分析和 NEON 優化