LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Programming Android Motion Sensors (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-programming-android-motion-sensors-4175448181/)

LXer 02-01-2013 10:10 AM

LXer: Programming Android Motion Sensors
 
Published at LXer:

One of the really neat features of coding for a portable platform like a phone is that you can use its motion sensors to control the UI. How useful this is in a particular app varies from "neat gimmick" to "UI perfection" -- admittedly the example here is more on the "gimmick" end of the spectrum, but it'll get you started with using the Android motion sensors. We'll carry on using the code from the previous three tutorials, but this time, we're going to add a detector which enables you to start the timer by shaking the phone.

Read More...


All times are GMT -5. The time now is 04:16 AM.