QT NFC Not Working
-
wrote on 31 Mar 2016, 05:49 last edited by
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. -
"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?
-
wrote on 31 Mar 2016, 06:22 last edited by
- In Qt 5.6 if you run the qml crockboard example it will through errors as qt nfc 5.5 is not installed.
- When i deploy this application to nexus 7 tablet which supports nfc then the application ui is blank.
- I tried to write c++ code using QNearFieldManager.
QNearFieldManager.isAvailiable() function returns always false even though nexus 7 tablet supports NFC.
-
Is NFC activated?
-
wrote on 31 Mar 2016, 06:37 last edited by
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" -
wrote on 31 Mar 2016, 07:47 last edited by
-
wrote on 31 Mar 2016, 08:15 last edited by
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.
-
wrote on 7 Apr 2016, 14:26 last edited by
Any Help Please?
-
wrote on 7 Apr 2016, 15:50 last edited by
Any help is appreciated. I am stuck at the initial level and not able to continue further.