Is sensor emulation what you need? I'm not a physics expert, but I'd think that if you're not changing your speed you're not going to be feeling any acceleration :-P...
You can do the mock location, I'm not sure how quickly you can change it, but how about you write a shell script to send the adb command to update your location every few milliseconds, or quick enough as is required to be able to find out the speed of your vehicle. I know that somebody posted here a while back that accurately tracks your speed on your car, this surprised me, as I wasn't sure that a gps fix was accurate enough to be able to find a reliable speed... Kris On Tue, Dec 27, 2011 at 11:18 AM, Vladimir Chtchetkine <[email protected]> wrote: > With r16 SDK you can use sensors emulation as described in here: Sensor > emulation > > > On Thu, Dec 22, 2011 at 10:56 AM, poncho <[email protected]> wrote: >> >> On 12/21/2011 05:36 AM, Shabnaz wrote: >>> >>> hi >>> Iam trying to develop an app for accident detection and notification >>> system. >>> >>> For tat I need to get the speed and acceleration of the mobile >>> phione equpped with android >>> >>> how do I simulate ht espeed of the phone using the emulator because >>> the mibile phone does not physically change its location >>> >> >> Hi, >> >> Not sure about the speed, you can set the location by: >> >> telnet localhost 5554 >> geo fix 32.00 37.00 >> geo fix 32.00 37.10 >> geo fix 32.00 37.20 >> ... >> >> If you have more than one emulator the second emulator should be listen on >> port 5556. >> >> Hope this helps >> /Poncho >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

