The Java redesign broke the ability of users' Java and C++ code to interact via JNI. This is due to using two separate class loaders.
I made and tested the necessary changes to work around this issue. With this patch, all JNI interaction will work AS BEFORE. If it worked before alpha3, it should work now. This also preserves all the aspects of the Java redesign.
For more information, see https://groups.google.com/d/topic/necessitas-devel/hbNkOj5wwSo/discussion . The most significant change is that it moves qtmain_android.cpp to its own .so file, which must be loaded at application start, instead of linking it in with the application library. Qt Creator deals nicely with this, but I don't know about Ministro and how it should deal with pre- and post-patch versions of the library.
Log in to post a comment.