How to use QML in java Android
-
Hello,
here is my problem.
I have QML/QT code developped on QT Necessitas (most of it is UI) and on the other hand i have an Android app that have 2 fragments.
One is in java and use android stuff like phone camera, etc and the other fragment should be the QML UI. But i don't know how i can 'import' the QT/QML part on Eclipse and use it in the fragment.Any help is appreciated.
-
I think the way to go is, to use the "JNI":https://en.wikipedia.org/wiki/Java_Native_Interface to call the native C++ stuff with your QML, that will bring up its own UI and render itself.