Mock Locations

splatt

Active Member
Licensed User
Longtime User
Does anyone know how to use Mock Locations when testing GPS based apps?
 
Last edited:

derez

Expert
Licensed User
Longtime User
or sending the location using telnet:

geo <fix|nmea>The geo command supports the subcommands listed in the table below.

Subcommand Description Comments
fix <longitude> <latitude> [<altitude>] Send a simple GPS fix to the emulator instance. Specify longitude and latitude in decimal degrees. Specify altitude in meters.
 
Upvote 0

splatt

Active Member
Licensed User
Longtime User
Erel & David,

Thanks for the response, but I was meaning on an actual device, not the Emulator.

On my Galaxy S, under Settings\Applications\Development it gives a selectable option to allow mock locations. I was wondering if this can be set to allow testing indoors with a real device?
 
Upvote 0

splatt

Active Member
Licensed User
Longtime User
Thanks Erel, but please hurry up and add it, as it's damn cold outside! :)
 
Upvote 0
Top