Embedding Android Activity in to QML window using the JNI
Unsolved
Mobile and Embedded
-
I have been able to call and show a full screen Activity window written in java using the JNI from an app written in Qt. Hooray!
What I would like now is to render the contents of the Activity inside a QML component so that I can wrap some UI around it.
Are there any examples of this I could follow? I am assuming I have to render off screen and then draw the contents into the QML screen or frame buffer. I'm not too familiar with Android yet and know if a few concepts like fragments that might come in handy but not sure of a good clear path forward.
If I can add some clarification please let me know.