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.
]]>« Restart LLX? (Previous Post)
(Next Post) LL not supported Scripts (only LLX). But in LL action for LL is option Custom scripts menu, this is bug. »
< ![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.
]]>
< ![CDATA[
Thanks a lot 🙂
]]>
< ![CDATA[
Pierre Hébert 3d desktops coming soon? 🙂
]]>
< ![CDATA[
Carolyn Boyle no, that’s out of question
]]>