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 NFC Not Working
Forum Updated to NodeBB v4.3 + New Features

QT NFC Not Working

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 3 Posters 1.9k 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.
  • R Offline
    R Offline
    RohitIti
    wrote on last edited by
    #1

    Hello,
    did some tried working with NFC in QT 5.6. I am trying to run CrockBoard example but its not working and nor the application is able to launch properly.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      "its not working and nor the application is able to launch properly" - a pretty vague description. What is not working? What happens if you try to start the example application? Do you get any errors?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RohitIti
        wrote on last edited by
        #3
        1. In Qt 5.6 if you run the qml crockboard example it will through errors as qt nfc 5.5 is not installed.
        2. When i deploy this application to nexus 7 tablet which supports nfc then the application ui is blank.
        3. I tried to write c++ code using QNearFieldManager.
          QNearFieldManager.isAvailiable() function returns always false even though nexus 7 tablet supports NFC.
        1 Reply Last reply
        0
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Is NFC activated?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RohitIti
            wrote on last edited by
            #5

            You mean is it enabled in nexus tablet ? If so then yes ,
            I have selected the option that we will get in phone
            " NFC, Allow data exchanging when tablet touches another device"

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mvuori
              wrote on last edited by
              #6

              Does this help?
              http://stackoverflow.com/questions/33346378/howto-get-nfc-working-on-android-using-qt-5-6

              1 Reply Last reply
              0
              • R Offline
                R Offline
                RohitIti
                wrote on last edited by
                #7

                I checked this post earlier and also thank you for sending this link.
                For me the code ,

                nfc_ = new QNearFieldManager(this);
                if (nfc_->isAvailable()) {
                nfcLabel_->setText("NFC available");
                } else {
                nfcLabel_->setText("NFC not available");
                qWarning() << "NFC not available";
                }

                always tells me as NFC not available.

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  RohitIti
                  wrote on last edited by
                  #8

                  Any Help Please?

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    RohitIti
                    wrote on last edited by
                    #9

                    Any help is appreciated. I am stuck at the initial level and not able to continue further.

                    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