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

Android: sensors give wrong results on landscape devices

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • 5.1.0
    • Sensors
    • None
    • 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

              tvete Paul Olav Tvete
              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