I have the habit of forgetting to put my mobile phone in silence mode, when I go to class or to restaurant, so I thought, actually, my phone doesn't need to make noise when it's in my pants. So I made this little app, which uses the orientation sensor of the phone to detect if it's upside down in my pants (the way I put my phone in my pocket). So if it's upside down for a couple of ms, it goes to vibrate mode, but when I take it out of my pants, to put it on my desk or something, it will go back to normal mode, making noise when being called.
Take a look: http://code.google.com/p/snowservices/w ... vityRinger


.





