I'm aiming to determine when I've got my phone resting on various mounts (desk cradle, car mount, etc) and then behave accordingly. I have two sets of min/max, but I do not see a clear way to test if I'm between them since I'm dealing with both positives and negatives.
Code: Select all
19.08.2014 12:12:14.248 [Flow4] Action 'Init Variables Device Orientation: in azimuth pitch roll' Measured azimuth=1.8208153547798112, pitch=1.0245795449671986, roll=72.01081992092307
19.08.2014 12:12:02.609 [Flow4] Action 'Init Variables Device Orientation: in azimuth pitch roll' Measured azimuth=344.03620128529883, pitch=339.1025039217734, roll=56.276156145297065