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

Android: sensors give wrong results on landscape devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.0
    • Component/s: Sensors
    • Labels:
      None
    • Platform/s:
      Android

      Description

      In the android API, the orientation of the x and y axes are fixed for a given device, and does not rotate when the screen rotates. However, this orientation depends on the native orientation of the device: phones and small tablets are typically portrait devices, and large tablets are landscape devices.

      This means that the same application in the same orientation will give different sensor readings depending on the type of device, and there is no Qt API that tells the type.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tvete Paul Olav Tvete
              Reporter:
              tvete Paul Olav Tvete
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes