Android Simulator manually set latitude and longitude coordinates

Source: Internet
Author: User

The first method can be set in emulator control in Eclipse's DDMS, such as

The other is in cmd input telnet localhost 5554 (note: 5554 is the emulator in the port of the machine, there may not be the same ha, the specific port number, the emulator is shown on the top left), this will appear Android Console:type ' help ' for a The words of the list of Commandsok. If the prompt command is not valid, you need to turn Windows features on or off in your computer's control panel---and then check the Telnet server and Telnet client. Then enter telnet localhost 5554 in cmd, which will show Android Console:type ' help ' for a list of commands OK

Then enter the command: Geo Fix 121.4736999111 31.2303950509

I this is the latitude and longitude of Shanghai, longitude query can refer to the website: http://www.gpsspg.com/maps.htm

Android Simulator manually set latitude and longitude coordinates

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.