March 2013
Intermediate to advanced
346 pages
8h 4m
English
The previous recipe described how to build an existing library
with its own build system. We obtained a compiled static library libbmp.a of the open source libbmp library. This recipe will discuss how to use a prebuilt library.
The following steps build an Android NDK application which uses prebuilt library. Note that the sample project is based on what we have done in the previous recipe. If you have not gone through previous recipe, you should do it now.
PortingWithBuildSystem project that you created in previous recipe. Add a Java file MainActivity.java under the cookbook.chapter8.portingwithbuildsystem package. This Java file simply loads the shared library PortingWithBuildSystem ...