Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I know how to set locatlon for emulators using device configuration interface from Motodoev Studio for example. But, how I can set locatlon for a device?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

this is possible using ADB shell:

$ telnet localhost 5554
Android Console: type 'help' for a list of commands
OK
geo fix -82.411629 28.054553
OK

Please read: http://stackoverflow.com/a/2587369/950427

share|improve this answer
    
isn't this for a device? AFAIK, there is no way to set the location other than mock the location on your device, and add a test location provider. –  Avinash R Jul 14 '13 at 17:39
    
Yes, I believe this is what he was looking for. What is your question? –  Jared Burrows Jul 14 '13 at 18:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.