Posted by & filed under android.

shake_phone_demo

Some people need challenges to do stuff, I am one of them. From the Enigma Android challenge of the month I tested out the sensor technique to act out as an extension of the hand. This month challenge was to make a rock, paper, scissors application. It was quite fun to play with and the implementation was straight forward, tho I do recommend following a tutorial for the initial setup.

From whats worth taking away, the sensor is very sensitive and even if the phone is just flat out on the table it will still compute some very low numbers. You might have to find out what boundaries to act on in your own case. Also the sensor uses a loot of power when its in use, so wort turning it off when application enters onPause etc..

The app it self is uploaded to Google Play and can be accessed here: https://play.google.com/store/apps/details?id=com.olavz.rock.the.paper

Leave a Reply

  • (will not be published)