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 Native Development Kit) 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 more graphically intense apps, more sophisticated game apps and better performing apps in general.
Introduces the Android platform, and getting up to speed with the Android NDK, and exploring the APIs that are provided in native space.
Gives an overview of Java Native Interface (JNI), native multithreading, the C++ Standard Template Library (STL), and NEON/SIMD optimization from an advanced perspective, with tips and recommendations.
Using a native-code (C/C++) 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.
What you’ll learn
What is the Android platform, and getting up to speed with the Android NDK
What are the Android NDK APIs including Native Activity support, OpenGL ES, OpenSL ES, OpenMAX AL, JNI Graphics, and Sensor APIs.
How to use Java Native Interface (JNI), Simplified Wrapper and Interface Generator (SWIG) to automatically generate the JNI code to connect native-code to the Java world.
What are and how to use C++ and the Standard Template Library (STL)
How to do multithreading through POSIX Threads How to optimize code through NEON/SIMD, compiler vectorization, and intrinsics
How to debug through GDB, DDD, and the Eclipse Debugger How to analyze memory through Valgrind, Electric Fence, Memwatch, YAMC
How to measure App performance through GProf
How to do unit testing and code coverage through GCov
How to use and integrate the Android NDK toolchain into existing build systems such as Autoconf, Makefiles, CMake, and JAM
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.
0 有用 熊想躺平 2012-12-27 08:24:15
基本入门书,步骤很详细,例子略显简单。
0 有用 nwind 2013-07-15 19:36:37
比较入门,主要是实例介绍
0 有用 丸子(^.^)v 2013-09-28 11:54:38
队里的元老走了= = 留下的那一块native code的空白由我来填充 挑战与机会并存哇 …… 紧跟技术的脚步 加油>o</
0 有用 大憨 2015-11-30 01:18:13
和慕课网的这个视频教程http://www.imooc.com/learn/411结合起来看更棒
0 有用 流沙 2017-02-22 20:52:20
读过中文版的
0 有用 lyx2007825 2017-09-18 12:08:32
感觉一般,知道了swig
0 有用 流沙 2017-02-22 20:52:20
读过中文版的
0 有用 Gin 。 2016-08-28 13:53:14
知识分散
0 有用 大憨 2015-11-30 01:18:13
和慕课网的这个视频教程http://www.imooc.com/learn/411结合起来看更棒
0 有用 sinojelly 2015-08-15 22:32:52
较系统的介绍了NDK的使用,调试定位方法。还介绍了相关的多个C/C++库的用法,bionic,pthread用法,CPP STL有多种选择,介绍了每一种怎么用。还介绍了android下如何用ndk操作bitmap,以及ANativeWindow,并且有个播放器的例子,完成同样功能,如何用这两种方式实现。