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

Add support for dynamic (remote) sensors

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes