Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
It measures how sleepy you are when you slowly lower the device until you become inactive, then it feeds on your brainwaves and rants for you!
-
@Dacexi
Well screen orientation (at least in java) is declared in android manifest as
android:orientation="<orientation value>" -
Dacexi119968y@CozyPlanes I'm not sure but since this app isn't native java, it's JavaScript running in titanium. So i think that titanium needs the accelerometer for orientation (don't quote me on this, i have only made android apps in native, react and cordova, not titanium)
-
Found out titanium,uses accelerometer to detect orientation.
Possible flags...
Ti.UI.UNKNOWN – the app cannot detect the position
Ti.UI.PORTRAIT
Ti.UI.UPSIDE_PORTRAIT
Ti.UI.LANDSCAPE_LEFT
Ti.UI.LANDSCAPE_RIGHT
Ti.UI.FACE_DOWN – like resting on a table with the screen downward
Ti.UI.FACE_UP – like resting on a table but with the screen upward
Related Rants
!Rant
Does anybody know why devrant uses the accelerometer sensor?
undefined
devrant