• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Location/Movement simulation on map

Hello, I'm trying to simulate movement on the MapView. For that I used the android shell and a program that connects to localhost:5554 and sends a message at a few hundred milliseconds with the following format: geo fix [coord1] [coord2]
I tested by increasing the numbers coord1 and coord2 (floats) with values like 0.001f, 0.01f, 0.00001f but it seams that the emulator wont update My Location on map if the new location is very close to the old one (so i can't simulate movement)

Is there any other way to simulate the coords of My Location ? (programatically for example)

Thanks!
 
I also used LocationManager and requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 100, listener) method sending the coords with locManager.setTestProviderLocation(LocationManager.GPS_PROVIDER, location) , but the method onLocationChanged() is called only once.

Can anyone help?
 
Back
Top Bottom