O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

The present chapter introduced a fundamental aspect of the NDK: portability. Thanks to the recent improvements in the building toolchain, the Android NDK can now take advantage of the vast C/C++ ecosystem. It unlocks the door of a productive environment where code is shared with other platforms with the aim of creating new cutting-edge applications efficiently. More specifically, we learnt how to enable, include, and compile STL and Boost and use them in our own code. We also enabled exceptions and RTTI, and selected the appropriate STL implementation. Then, we ported Open Source libraries to Android. Finally, we discovered how to write makefiles with advanced instructions and features.

In the next chapter, these foundations will allow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required