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. Qt 5.2.1 & JNI & Android, some basic questions
Forum Updated to NodeBB v4.3 + New Features

Qt 5.2.1 & JNI & Android, some basic questions

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.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.
  • A Offline
    A Offline
    Arne.Burghardt
    wrote on last edited by
    #1

    Hi,

    I am starting to explore the possibility to develop apps with Qt on Android devices and after reading a lot of websites, code snippets and Qt/JNI/Android documentation, I am still puzzled... The Qt environment is working well, I am able to deploy some simple Qt apps on my smartphone, but now I want to use some special Android features via the JNI interface.

    I have just some very basic beginner questions, maybe some experts may help ?

    1. How can I call a standard Android method (i.e. connect() in android.nfc.tech.IsoDep) ? Do I really need a Java wrapper for such calls ? Or can I simply use QAndroidJniObject::callMethod ?

    2. How can I exchange data (Qt<->Android) with these Android methods (i.e. byte[] transceive(byte[] data in android.nfc.tech.IsoDep)

    3. How can I get a Qt signal, if an event (i.e. presenting or removal of a NFC tag) is happening ?

    Thank you for your help & support :-)

    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