How to use QML in java Android
Mobile and Embedded
2
Posts
2
Posters
3.0k
Views
1
Watching
-
wrote on 21 Sept 2012, 09:26 last edited by
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.
-
wrote on 21 Sept 2012, 13:01 last edited by
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.
1/2