lwuit
  1. lwuit
  2. LWUIT-456

Feature request: device orientation

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      any

      Description

      Another request for something that would fit nicely into LWUIT:

      Being able to find out the device orientation at any given time. Maybe introduce an event for that.
      http://www.blackberry.com/developers/docs/4.7.0api/net/rim/device/api/system/Display.html#getOrientation%28%29

      Querying LWUIT display width+height is really only reporting the drawing area. One cannot safely assume anything about the device orientation given these numbers as a virtual keyboard might mess this up.
      Now that the tablet computer class becomes common, developer's can adjust their layout for those devices. Device orientation information is important for that.

        Activity

        Hide
        vprise added a comment -

        Agreed, I would also like a feature to request orientation on devices that support it. This has been in my todo list for quite a while now.

        Show
        vprise added a comment - Agreed, I would also like a feature to request orientation on devices that support it. This has been in my todo list for quite a while now.
        Hide
        vprise added a comment -

        I just committed this although I couldn't find a sensible way to detect orientation on RIM other than width/height. Maybe I didn't look enough.

        Show
        vprise added a comment - I just committed this although I couldn't find a sensible way to detect orientation on RIM other than width/height. Maybe I didn't look enough.

          People

          • Assignee:
            vprise
            Reporter:
            thorsten_s
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: