API Suggestion

API Suggestion

int getCurrentRotation()

returns rotation degree hopefully or just land/port mode(0/1).

We can deduce phone’s orientation by comparing desktop.getHeight()/getWidth().

But in the strict sence, it is not rotation index. For example, most of Android watch has the same width/height(LLx in watch???) I think this phenomenon can be happend in any other devices.

And can’t LL app know some infos like device’s resoltion, current navbar on/off state/navbar height, statusbar transparency/overlapping, which are all about screen sizes.

If LL itself knows those infos, please support LL or Android object can provide those infos directly.

]]>

4 Commentsto API Suggestion

  1. Anonymous says:

    < ![CDATA[

    I think that this has been requested earlier together with accelerometers data (maybe +Ren Shore ?). At that time I preferred to wait, but now I changed my mind.


    There are different things though, there are orientation and rotation data. Most probably I will start with simple data (screen orientation: portrait and landscape, screen rotation: degrees) and X/Y/Z data later.


    Screen characteristics are available, but some data such as status bar and navigation bar size are only guessed, this is not reliable.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thanks a lot 🙂

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Pierre Hébert 3d desktops coming soon? 🙂

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Carolyn Boyle no, that’s out of question

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *