How can I make accelerometer work for android?

I'm making a simple racing game, and I need to know how its possible to make it where you just tilt to move. I have been Googleing the answers, but it seems everything is for the iPhone. So could someone please supply me with a script?


what was wrong with the previous answer to this question which you asked?