April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's use the STL to read resources from the SD card instead of the application asset directory, as shown in the following steps:
sdcard or internal memory).Open the existing file, jni/Resource.hpp, and do the following:
fstream and string STL headers.std::string object for the file name and replace the Asset management members with an std::ifstream object (that is, an input file stream).getPath() method to return a C string from the new string member.descriptor() method and the ResourceDescriptor ...