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

Add support for dynamic (remote) sensors

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • 1.2.0
    • None
    • Sensors

    Description

      Provide better support for dynamically-registered sensors.

      While you can call QSensorManager::registerBackend at any time applications cannot receive a notification that the registered sensors have changed. There is also no unregister function so a long-running app on a system that dynamically registers backends for remote sensors may end up with a large number of registered backends that can no longer be constructed (ie. the QSensorBackendFactory will return 0 because the remote device is no longer available);

      • Add an unregister function to solve part of the problem.
      • Make an object to emit a signal for apps to be notified about changes to the available sensors.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: