Detect car acceleration in Android app?
Posted
by Stud33
on Stack Overflow
See other posts from Stack Overflow
or by Stud33
Published on 2010-06-05T17:55:25Z
Indexed on
2010/06/05
19:22 UTC
Read the original article
Hit count: 399
I want to incorporate some Accelerometer code into a Android application im working and want to see if this is possible. Basically what I need is for the code to detect car acceleration motion. I am not wanting to determine speed with the code but just distinguish if the phone is in a car and has accelerated motion (Hence the car is moving for the first time). I have gone through many different accelerometer applications to see if this motion produces a viable profile to go off of and it appears it does. Just looking for something that popups a "Hello World" dialog when it detects your in the car and its moving for the first time down the street. Any help would be appreciated and a simple yes or no its possible would work. I would also be interested in compensating anyone that is capable of doing this as well. I need this done like yesterday so please let me know.
Thank You,
JTW
© Stack Overflow or respective owner