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

QtNFC: revisit and update examples

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.2.0 Alpha
    • None
    • Connectivity: NFC
    • None
    • 8
    • Qt6_Foundation_Sprint 35

    Description

      The following issues with examples are identified:

      • As we now do not have any support for desktop platforms, the examples UI need to be updated to look good on smartphones. Currently ndefeditor application looks ugly when loading large image and/or creating multiple data fields. Note also that the UI expands to the right and some controls become unavailable (see screenshot).
      • The ndefeditor application hangs with a black screen when trying to load a message from incompatible format (not a previously saved NDEF message, but random file).
      • The annotatedurl example does not work when we turn on NFC after the application startup. On my phone the default NFC-processing app handles the NFC tag instead. This can probably be solved by subscribing to adapterStateChanged() signal and calling startTargetDetection() when the adapter is enabled. The example description has to be adjusted accordingly.
      • It might make sense to extend the annotatedurl example to use QNdefFilter to verify the incoming message. The QNdefFilter class currently lacks the usage examples (be that unit tests or example applications).

      Attachments

        Issue Links

          Activity

            People

              ivan.solovev Ivan Solovev
              ivan.solovev Ivan Solovev
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: