I would like to detect shake movement in a service that is running in
the background, even when the phone is not currently being used.
Is it true that the only way to do this is to hold a wake lock? I
suppose this would consume a lot of energy and drain the battery very
fast.

Is there no way to wake up the phone whenever a shake movement occurs?
Maybe with the native sdk? I would imagine the accelerometer causing
some kind of interrupt.

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to