diff --git a/Doc/Manual/Android.html b/Doc/Manual/Android.html index eb87ea162..4d1be3944 100644 --- a/Doc/Manual/Android.html +++ b/Doc/Manual/Android.html @@ -17,6 +17,7 @@
  • C++ class example
  • Other examples +
  • C++ STL @@ -752,6 +753,29 @@ Run the app to see the result of calling the C++ code from Java: The Examples/android directory contains further examples which can be run and installed in a similar manner to the previous two examples.

    +

    +Note that the 'extend' example is demonstrates the directors feature. +Normally C++ exception handling and the STL is not available by default in the version of g++ shipped with Android, but this example turns these features on as described in the next section. +

    + +

    18.3 C++ STL

    + + +

    +Should the C++ Standard Template Library (STL) be required, an Application.mk file needs to be created +in the same directory as the Android.mk directory containing information about the STL to use. +See the NDK documentation in the $NDKROOT/docs folder especially CPLUSPLUS-SUPPORT.html. +Below is an example of the Application.mk file to make the STLport static library available for use: +

    + +
    +
    +# File: Application.mk
    +APP_STL := gnustl_static
    +
    +
    + + diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index eeb059598..74040ff0e 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -647,6 +647,7 @@
  • C++ class example
  • Other examples +
  • C++ STL