views:

63

answers:

1

I want to run automated tests with location on the android emulator.
I can setup coordinates via Telnet, but that means starting up a console and manually configuring the emulator before running my junit tests.

Is there a possibility to preconfigure the emulator with a KML file or something like that to ensure that there are always coordinates available?

+1  A: 

Have you looked at using LocationManager.setTestProviderLocation(String provider, Location loc) from within your tests already?

Marc Bernstein