So, we all know that the Android NDK does not have an API reference, but what frustrates me most of all is that I keep finding things in the code of people that I have never seen before. One example is the Android AssetManager, passed into its own method and used as such:
AAssetManager* mgr = AAssetManager_fromJava(env, assetManager);
It includes two files:
#include <android/asset_manager.h> #include <android/asset_manager_jni.h>
None of them are mentioned in the documentation.
In any Android document, neither AAssetManager_fromJava nor AAssetManager_fromJava are mentioned. Is there a place where I could find a good tutorial that mentions all of these JNI stuff for Android? Is there at least a list of them?
source share