How to determine if an Android device has been affected or moved

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?

+2


a source to share


1 answer


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

+3


a source







All Articles