Debian Codegraph @

templates/activities/common/jni_code_snippet.java.ftl

raw
1 <#if includeCppSupport!false>
2
3 /**
4 * A native method that is implemented by the 'native-lib' native library,
5 * which is packaged with this application.
6 */
7 public native String stringFromJNI();
8
9 // Used to load the 'native-lib' library on application startup.
10 static {
11 System.loadLibrary("native-lib");
12 }
13 </#if>