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. Exceptions when running "poster" NFC example on Android (Qt 5.6)

Exceptions when running "poster" NFC example on Android (Qt 5.6)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 481 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.
  • TiddanT Offline
    TiddanT Offline
    Tiddan
    wrote on last edited by
    #1

    Hi, I'm interested in testing the NFC capabilities of Qt and I'm running the "poster" example on a NFC capable Android device.

    When detecting a tag I get an exception:

    W/System.err(13495): java.io.IOException
    W/System.err(13495): 	at android.nfc.tech.BasicTagTechnology.connect(BasicTagTechnology.java:85)
    W/System.err(13495): 	at android.nfc.tech.IsoDep.connect(IsoDep.java:40)
    

    Digging into the BasicTagTechnology.java code I see that it doesn't understand the status code returned when trying to connect with the tag.

    I have tried 2 different devices and they both return the same exception.

    Anyone been able to get past this? Is this "Android's fault" or does Qt use the API in a wrong manner?

    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