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. How to use QML in java Android
Forum Updated to NodeBB v4.3 + New Features

How to use QML in java Android

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 3.0k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    Hachioji
    wrote on 21 Sept 2012, 09:26 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MichelS
      wrote on 21 Sept 2012, 13:01 last edited by
      #2

      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 Reply Last reply
      0

      1/2

      21 Sept 2012, 09:26

      • Login

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