Android simulator manually sets latitude and longitude coordinates, android latitude and longitude

Source: Internet
Author: User

Android simulator manually sets latitude and longitude coordinates, android latitude and longitude

The first method can be set in Emulator control in DDMS of eclipse, as shown in figure

The other is to input telnet localhost 5554 in cmd (Note: 5554 is the port of the simulator on the local machine. It may be different. The specific port number is shown in the upper-left corner of the simulator ), the Android Console: type 'help' for a list of commandsOK is displayed. If the system prompts that the command is invalid, you need to go to the control panel of your computer --> program --> enable or disable the Windows function, and then select the Telnet server and Telnet client. Then, enter telnet localhost 5554 in cmd to display the Android Console: type 'help' for a list of commands OK.

Then enter the command: geo fix 121.4736999111 31.2303950509

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

 

Related Article

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.