March 2013
Intermediate to advanced
346 pages
8h 4m
English
Assets provide a way for Android apps to include various types of files, including text, image, audio, video, and so on. This recipe discusses how to load asset files from Android NDK.
We will modify the example we developed in the Mapping texture in OpenGL ES 1.x recipe in Chapter 4, Android NDK OpenGL ES API. Readers are suggested to read through the recipe or take a look at the code first.
The following steps describe how the sample application is developed:
NativeAssets. Set the package name as cookbook.chapter5.nativeassets. Please refer to the Loading native libraries and registering native methods recipe of Chapter 2, Java Native Interface, if you ...