Created
April 2, 2010 18:35
-
-
Save raid5/353519 to your computer and use it in GitHub Desktop.
Script for sending GPS coordinates to the Android emulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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