Can the accelerometer tell you which way the device is being held?
IntelligentDesigner
Member Posts: 517
I want to make a set of rules that do things differently depending on the orientation. There must be a way to act on that information...
Comments
device orientation: Landscape left, landscape right, portrait or portrait upside down.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I find only Devices>Accelerometer>(X, Y, Z) in the attribute browser...
If attribute device.Orientation = Landscape
do this
If attribute device.Orientation = Portrait Upsidedown
do this
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Landscape Left/Right, Portrait
Thanks, Bro!