Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Embedding Android Activity in to QML window using the JNI
QtWS25 Last Chance

Embedding Android Activity in to QML window using the JNI

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 144 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chubs
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved