Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1895

Autostart on NFC tag touch: xml file location

    XMLWordPrintable

Details

    • cc4e0a4ec2ebf3231e523f56240dfbe1167cf80d

    Description

      Follow-up to the resolved bug report from: https://bugreports.qt.nokia.com/browse/QTMOBILITY-1836
      Another issue has appeared, which needs to be documented:

      Installation drive of the ndefhandler .xml file
      ------------------------------------------------
      Ndef app autostart on tag touch only works if the ndefhandler.xml file is on the C: drive. If the file is created on another drive, the QtM tag handler doesn't seem to find it.

      The code snippet in the QtM documentation always copies the xml file to the app install drive - which is E: by default when installing apps through the Nokia Store: http://doc.qt.nokia.com/qtmobility-1.2/qnearfieldmanager.html#symbian-3

      Current (non-working) documentation:

      symbian

      { ndefhandler.sources = myapplication.xml ndefhandler.path = /private/2002AC7F/import/ DEPLOYMENT += ndefhandler }

      Proposed documentation fix:

      symbian

      { ndefhandler.sources = %APPNAME%.xml ndefhandler.path = c:/private/2002AC7F/import/ DEPLOYMENT += ndefhandler }

      This is important to fix, as with the current code snippet no app downloaded from the Nokia Store would work with ndef autostart, unless the developers have the right deployment statement in their .pro file.
      Autostart also works if the xml file is on C: but the app is installed on E:

      Attachments

        Activity

          People

            jukukkon Juha Kukkonen
            ajakl Andreas Jakl (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: