Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.1.0
-
None
Description
Running the ndefeditor example on Android. An attempt to write a MIME image record fails.
The log shows the following exceptions on Java side:
W System.err: java.lang.NoSuchMethodError: no non-static method "Landroid/nfc/tech/Ndef;.setTimeout(I)V" W System.err: at org.qtproject.qt.android.QtNative.startQtApplication(Native Method) W System.err: at org.qtproject.qt.android.QtNative$7.run(QtNative.java:628) W System.err: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61) W System.err: at java.lang.Thread.run(Thread.java:923) W System.err: java.io.IOException W System.err: at android.nfc.tech.Ndef.writeNdefMessage(Ndef.java:320) W System.err: at org.qtproject.qt.android.QtNative.startQtApplication(Native Method) W System.err: at org.qtproject.qt.android.QtNative$7.run(QtNative.java:628) W System.err: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61) W System.err: at java.lang.Thread.run(Thread.java:923)
A quick look at the docs shows, that Ndef class does not have the setTimeout() method, so the QNearFieldTargetPrivateImpl::setCommandTimeout() method should be fixed.
Attachments
Issue Links
- resulted from
-
QTBUG-93854 Investigate QtNfc readiness for 6.2
- Closed