亚行的动车组-s地理修复工程不无使用telnet车组、地理、工程、telnet

由网友(萌汉药)分享简介:我的应用程序适用于谷歌蜜蜂17.我想设置的GPS位置的仿真器发射后。My app works on Google Apis 17. I want to set the gps location after an emulator is being launched.我尝试这个遵循how-to-emulate-gps...

我的应用程序适用于谷歌蜜蜂17.我想设置的GPS位置的仿真器发射后。

My app works on Google Apis 17. I want to set the gps location after an emulator is being launched.

我尝试这个遵循how-to-emulate-gps-location-in-the-android-emulator.

1。得到仿真器的连续数。

1st. get the serials number of the emulator.

>adb devices
emulator-5554

第二次运行

adb -s emulator-5554 emu geo fix 121.4961236714487 31.24010934431376

有没有警告和错误。我编程上的Windows7。

There are no warnings and errors. I am programming on windows7.

它不起作用。然而,当我手动发送GPS信息在Eclipse(ADT22.6),它的工作原理。我的应用程序可以找到正确的位置。什么日食呢?如何使亚行命令?谢谢

It not work. However when I send gps info manually in eclipse(ADT22.6), it works. My app can locate the location correctly. What did eclipse do? How to make the adb command work? Thanks

推荐答案

你有没有尝试通过telnet发送呢?首先,你必须连接到仿真器:

Have you try sending it via telnet? First you have to connect to the emulator:

telnet localhost 5554

然后就可以用地理命令发送纬度和logitude:

Then you can use the geo command to send latitude and logitude:

geo fix 121.4961236714487 31.24010934431376
阅读全文

相关推荐

最新文章