Active Topics

 



Notices


Reply
Thread Tools
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#11
Google is helpful though the documentation still is pretty cruddy and without an actual accellerometer to check with I have no idea what the values will end up being:
http://wiki.maemo.org/Accelerometers

My thought was simply to have a daemon that read the accelerometer values once per second, and compared those values with the values from 1 second ago. If any of them have changed by signficant amount and the device is "idle", then wake up.

Tie that in with the proximity sensor, and you're all set. So when promixity sensor + accelleromters change values together while device is "idle", it wakes up. Simplest theory I could come up with... half way through coding very basic test app as we speak...

Hmmm although prox sensor is only on front of the device... so if you had it sitting face up and you picked it up, it wouldn't change... so maybe not so handy... which brings us back to the old "phone wakes up as I walk" problem...

Last edited by jolouis; 2010-02-18 at 19:03.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:37.