I'm writing a DLL that needs to perform different initialization steps
in JNI_OnLoad, depending on the system API level. Currently I'm using
JNI calls to get the value of android.os.Build.VERSION.SDK_INT, but I
wonder if it could not be made in a simpler way. Any suggestions?
Thanks in advance.
--
"The flames are all long gone, but the pain lingers on"
--To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/-JA2t61J9EMJ.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Ok, but just out of curiosity, why is sys/system_properties.h
distributed with the NDK if that is not a published API?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
Cool, fair enough.
I was just worried since H.B. did say that the string could change or
the function could stop returning anything in future Android versions in
his post.
Tim