April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's activate and make use of the STL in DroidBlaster. Edit the jni/Application.mk file beside jni/Android.mk and write the following content. That's it! Your application is now STL-enabled, thanks to this single line:
APP_ABI := armeabi armeabi-v7a x86 APP_STL := gnustl_static
In only a single line of code, we have activated GNU STL in the Application.mk file! This STL implementation, selected through the APP_STL variable, replaces the default NDK C/C++ runtime. The following three STL implementations are currently supported:
Read now
Unlock full access