How can you use the accelerometer to detect if the phone has come to a halt.
In my case iw want to use it for, i'd like to detect whether its changed direction on the same axis ( a u-turn) which would involve the device stopping.
Any ideas appreciated.
Thanks,
Sam.