Bend me, shake me: iPhone accelerometer hacked

by Chris Davies on August 29, 2007





Vote This Post DownVote This Post Up
+2 rating, 2 votes)
Loading ... Loading ...


The same guys who showed you how to put together a two-buck MultiTouch interface have also come up with software that takes the fun back to the iPhone: they've figured out how to access the handset's accelerometers, opening up all manner of twisty game and general iPhone wankery possibilities.  Turns out that while it's possible to access the 3-axis data from within Safari, the sample rate there is generally too slow to be especially useful; the Medallia hack gives access to true third-party apps and at as fast a rate as the sensor can supply it.

 YouTube Preview Image

So aside from a swish demo, what does this mean?  Well, for a start you can finally use your iPhone as one of those "guide a ball around a maze" games, of the sort you sometimes get in Christmas crackers.  Medallia have been kind enough to release the source code, so it's up to the developers to make the most of it.  A driving game, tilting the iPhone to steer might be quite fun too.

Source Code

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Live
  • NewsVine
  • Reddit
  • SphereIt
  • Spurl
  • StumbleUpon
  • TailRank
  • Technorati
  • TwitThis
  • E-mail this story to a friend!

{ 1 comment… read it below or add one }

1 Rebles 08.29.07 at 11:05 am

!!!!
I looove the “guide a ball around a maze” game! :D

Fill in the required fields below to leave a comment or login to your account. If you haven't signed up, you can do so free here. With iPhone Buzz account, you will be able to participate on iPhone Buzz Forums discussion.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>