Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
-
5
-
722529e84b (qt/qtconnectivity/dev) 722529e84b (qt/tqtc-qtconnectivity/dev)
-
Foundation Sprint 62
Description
With the recent improvements of QJniObject, it is much easier to write JNI-related code. No more long and confusing Java function signatures are needed.
See Volker's blog post for all the improvements.
I think this can be useful not only for Qt users, but also our own code can benefit from that.
This task is to apply the improvements for QtNFC Android backend.
The module has a handful of java type strings, ObjectMethod calls, and a native JNI method declaration that may need refactoring.
Careful testing needs to be done as the errors can be runtime errors.
Attachments
For Gerrit Dashboard: QTBUG-104184 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
423544,3 | Android NFC: Use templated JNI interface for QNearFieldTargetPrivateImpl | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423551,3 | Android NFC: Modernize QNearFieldManagerPrivateImpl | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423733,2 | Android NFC: inline MainNfcNewIntentListener::updateReceiveState() | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423889,2 | Android NFC: Remove write-only QtNfc.m_filters | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423921,3 | Android NFC: Remove unused code | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423922,3 | Android NFC: Improve exception message | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423923,3 | Android NFC: Make QtNfc fields private | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423924,5 | Android NFC: Move MainNfcNewIntentListener into the Qt namespace | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
423925,7 | Android NFC: Move code from AndroidNFC to <Qt>::QtNfc namespace | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |