How to get a supported version of JNI for Android on a device?

I need to know if JNI is supported on an Android device and which version. What function call can I use for this? Should this also be called Java or NDK?

+3
source share
1 answer

You can use JNI from any Android application on any device.

JNI provides a challenge GetVersion. You can also specify the minimum version as the return value from JNI_OnLoador as an argument to AttachCurrentThread.

Older versions of Android support 1.4. Newer versions support 1.6.

As always, it’s good to start with JNI Tips .

+5
source

All Articles