Emulating GPS in android emulator

Using the “geo” command in the emulator console

To send mock location data from the command line:

  1. Launch your application in the Android emulator and open a terminal/console in your SDK’s /tools directory.
  2. Connect to the emulator console:

telnet localhost 5555 (Replace 5555 with whatever port your emulator is running on)

  1. Send the location data: * geo fix to send a fixed geo-location.
It's only fair to share...Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someoneBuffer this pageDigg thisFlattr the authorShare on StumbleUponPin on PinterestShare on YummlyShare on VKShare on RedditPrint this pageShare on Tumblr
Related Posts

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *