Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53616

[Android] NFC doesn't work

    XMLWordPrintable

Details

    Description

      Steps to reproduce the issue:

      1. Run NFC poster example
      Qt5.6.0\Examples\Qt-5.6\qtconnectivity\nfc\poster
      -> It will fail in BasicTagTechnology.java:85

      It seems that it fails on not understanding the status code returned when trying to connect with the tag in BasicTagTechnology.java.

       
      Running Poster: 
      W System : ClassLoader referenced unknown path: 
      W linker : /data/data/org.qtproject.example.qml_poster/qt-reserved- 
      files/plugins/platforms/android/libqtforandroid.so: is missing DT_SONAME will 
      use basename as a replacement: "libqtforandroid.so" 
      I Qt : qt start 
      W linker : /data/data/org.qtproject.example.qml_poster/qt-reserved- 
      files/plugins/bearer/libqandroidbearer.so: is missing DT_SONAME will use 
      basename as a replacement: "libqandroidbearer.so" 
      D : (null):0 ((null)): QML debugging is enabled. Only use this in a 
      safe environment. 
      D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true 
      I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: 
      Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I3f4bae6ca5) 
      I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00 
      I Adreno-EGL: Build Date: 02/14/16 Sun 
      I Adreno-EGL: Local Branch: mybranch18261495 
      I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.10 
      I Adreno-EGL: Local Patches: NONE 
      I Adreno-EGL: Reconstruct Branch: NOTHING 
      I OpenGLRenderer: Initialized EGL, version 1.4 
      I Timeline: Timeline: Activity_idle id: android.os.BinderProxy@8a33be1 
      time:33432484 
      W linker : /data/data/org.qtproject.example.qml_poster/qt-reserved- 
      files/qml/QtQuick.2/libqtquick2plugin.so: is missing DT_SONAME will use 
      basename as a replacement: "libqtquick2plugin.so" 
      W linker : /data/data/org.qtproject.example.qml_poster/qt-reserved- 
      files/qml/QtNfc/libdeclarative_nfc.so: is missing DT_SONAME will use basename 
      as a replacement: "libdeclarative_nfc.so" 
      D QtNfc : getStartIntent 
      W System.err: java.io.IOException 
      W System.err: at 
      android.nfc.tech.BasicTagTechnology.connect(BasicTagTechnology.java:85) 
      W System.err: at android.nfc.tech.NfcA.connect(NfcA.java:39) 
      
      Running corcboard: 
      (...) 
      W System.err: java.io.IOException 
      W System.err: at 
      android.nfc.tech.BasicTagTechnology.connect(BasicTagTechnology.java:85) 
      W System.err: at android.nfc.tech.IsoDep.connect(IsoDep.java:40)
      

      Tested on devices:

      • Sony Xperia 2 Android 6.0.1
      • Samsung Galaxy Tab
      • Sony M4 Aqua

      The same tags (buscard, access chip for work, library card etc) are read
      successfully when using for instance NFC tools from Google Play.

      Attachments

        For Gerrit Dashboard: QTBUG-53616
        # Subject Branch Project Status CR V

        Activity

          People

            ablasche Alex Blasche
            kileppal Kimmo Leppälä
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes