Is it possible to find out if the phone has been touched / moved (for example by lifting it) using some events? How do you code it?
I think you mean the sensors API in android. You can find information about device orientation. Here is the guide I used. Thanks to Marco Gargente
http://marakana.com/forums/android/android_examples/43.html