Top "Java-native-interface" questions

The Java Native Interface (JNI) gives both the ability for JVM implementations to run system native code and the ability for native code to run Java code (by creating new JVM instances).

Use C++ with Android ndk/jni

All the ndk samples only make use of basic C functions declared as extern in the header and defined in …

c++ android c java-native-interface android-ndk
Embed Java into a C++ application?

I got an application written in C++ and I am able to extend the applications functionality by writing plugins in …

java c++ java-native-interface embed
Managing DLL dependencies with Maven

I have a Java program with Maven managing its dependencies. One of those dependency is a JNI wrapper for another …

java dll maven-2 java-native-interface
JNI - How to callback from C++ or C to Java?

I have Java application that invokes native C++/C code. The C++/C code needs to callback into Java. Could …

java callback java-native-interface
Unable to launch cygpath in android

When i am trying to import a project to my workspace it shows an error [2013-03-17 16:14:15 - Unable to …

android android-ndk java-native-interface cygpath
Java: InputStream too slow to read huge files

I have to read a 53 MB file character by character. When I do it in C++ using ifstream, it is …

java inputstream large-files java-native-interface
Building OpenSSL on Android NDK

I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2. Can someone help me get started (tutorials, howto, pointers …

android java-native-interface openssl android-ndk datagram
jstring(JNI) to std::string(c++) with utf8 characters

How to convert jstring (JNI) to std::string (c++) with utf8 characters? this is my code. it worked with non-utf8 …

android c++ c++11 java-native-interface share
Android ICS 4.0 NDK NewStringUTF is crashing down the App

I have a method in JNI C/C++ which takes jstring and returns back jstring some thing like as below, …

android android-ndk java-native-interface android-4.0-ice-cream-sandwich android-ndk-r7