简体   繁体   English

如何在Android模拟器中使用网络位置模拟GPS?

[英]How to emulate gps using network location in the android Emulator?

I have test using gps location and success. 我已经使用gps定位和成功进行过测试。 But now i want to test using network location. 但是现在我想使用网络位置进行测试。 How can i do it? 我该怎么做?

If you are using eclipse and the AVD Emulator do the following: 如果您使用的是eclipse和AVD仿真器,请执行以下操作:

Window -> Show View -> Other
Android -> Emulator Control

This will open a tab in the IDE that will give you all the controls to interface with your running emulator. 这将在IDE中打开一个选项卡,该选项卡将为您提供与正在运行的仿真器接口的所有控件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM