I guess you need something more consistent than just changing the screen color! But before showing awesome graphics in our application, we need to load some external resources.
In this second part, we are going to load a texture into OpenGL ES thanks to the Android asset manager
, an API provided since NDK R5. It allows programmers to access any resources stored in the
assets folder of their project folder. Assets stored there are then packaged into the final APK archive during application compilation. Asset resources are considered as raw binary files that your application needs to interpret and access using their filename relative to the
assets folder (a file
assets/mydir/myfile can be accessed with ...