← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1131765] Re: QML Accelerometer is always (useless) dummy.accelerometer

 

** Project changed: ubuntu-ui-toolkit => qtsensors-opensource-src
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtsensors-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1131765

Title:
  QML Accelerometer is always (useless) dummy.accelerometer

Status in “qtsensors-opensource-src” package in Ubuntu:
  New

Bug description:
  Tested on gnex, nex4 phones. Using QML to create the Accelerometer,
  the identified device is "dummy.accelerometer" and it returns no
  useful data (static x:0, y:g (aka 9.81m/s), z:0).

  Snippet:

              Row {
                  Label {
                      text: "Accel: "
                      fontSize: "large"
                  }
                  Label {
                      id: sensor
                      text: "..."
                      fontSize: "large"
                  }
              }
              Accelerometer {
                  id: accel
                  onReadingChanged: { sensor.text = accel.identifier; stop() }
                  active: true
              }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtsensors-opensource-src/+bug/1131765/+subscriptions