I'm trying to write an android code that uses the device sensors to detect freefall scenario. I searched the web a lot for a solution to this problem but I was unable to find anything useful. I did see that there are several apps that does exactly this so it is possible, but i didn't find any code sample or tutorial on how to do that. Can anyone please help me with a code snippet or even with a mathematical calculation using the sensors data?
Thanks in advance