Skip to content

Instantly share code, notes, and snippets.

@raid5
Created April 2, 2010 18:35
Show Gist options
  • Select an option

  • Save raid5/353519 to your computer and use it in GitHub Desktop.

Select an option

Save raid5/353519 to your computer and use it in GitHub Desktop.
Script for sending GPS coordinates to the Android emulator
#!/usr/bin/expect --
# Test expect script to telnet.
spawn telnet localhost 5554
expect "OK"
send "geo fix -122.03180 37.33081\r"
expect "OK"
send "exit\r"
# end of expect script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment