Is there a good resource that discusses the Android NDK API somewhat decently?

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?

+6
source share
1 answer

See the installation docs / ndk folder as it really is.

For example, grep shows that two header files that you use as an undocumented / non-referenced example are mentioned in one or both of the following files (NDK versions that support this functionality):

 docs/STABLE-APIS.html docs/opensles/index.html 
+4
source

Source: https://habr.com/ru/post/894223/


All Articles