don/cordova-plugin-hello

can you improve a jni example?

yaonie084 opened this issue · 3 comments

your example had help me create a custom plugin few days ago, thanks. I think it's very useful.

but it's not enough for me, I need a JNI example, that would be great for me. Thanks in advance.

Great! thanks for simple demonstration!

Yeah it would be cool if you can show us how to

don commented

For JNI, I'd work with the Android NDK and get a simple JNI example working without Cordova.

Once you have the JNI example working, you should be able to add it to a Cordova plugin. Javascript will still call a Java class (e.g. Hello.java) and your Java class will make the JNI call.