Native libraries can be called from Java code running under the Android Runtime using System.loadLibrary, part of the standard Android Java classes.[6][7]
For CPU profiling, the NDK also includes simpleperf[12] which is similar to the Linux perf tool, but with better support for Android and specifically for mixed Java/C++ stacks.
^Ratabouil, Sylvain (2015). Android NDK beginner's guide : discover the native side of Android and inject the power of C/C++ in your applications (2nd ed.). Birmingham. ISBN978-1-78398-965-2. OCLC910639612.{{cite book}}: CS1 maint: location missing publisher (link)
^Kosarevsky, Sergey (2013). Android NDK game development cookbook : over 70 exciting recipes to help you develop mobile games for Android in C++. Viktor Latypov. Birmingham. ISBN978-1-78216-779-2. OCLC880639342.{{cite book}}: CS1 maint: location missing publisher (link)