Programming Android Motion Sensors

Posted by tuxchick on Feb 1, 2013 12:04 PM EDT; By Juliet Kemp
Mail this story
Print this story

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.

Full Story

» Read more about: Story Type: Tutorial; Groups: Android, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.