Android, creating mock geo locations

Hello Everybody,

Today I was playing a lot with GPS and found that in some places, and exactly at my working place in office GPS is not working :)) I saw that my co-workers walking a lot outside the office with devices on hands, but I don’t guess what they are doing untill I got a task to implement GPS based service. What a surprise, I have to walk outside the office too xDD to make LocationManager generate location changed events.
I have found, that we are able to simulate geo locations using a telnet, it is very easy and saves a lot of time:
Ubuntu:
telnet localhost 5554 (where 5554 emulator’s port)
geo fix latitude longtitude
for example: geo fix -32.5 25.2
For generation of mock locations on the physical device, I have found a great posts:
1) http://stackoverflow.com/questions/2531317/android-mock-location-on-device
2) http://pedroassuncao.com/2009/11/android-location-provider-mock/
Happy locating! (:
Best regards,
Yahor