【问题标题】:Simulate GPS speed and heading on Android Emulator在 Android Emulator 上模拟 GPS 速度和航向
【发布时间】:2011-10-11 22:24:26
【问题描述】:

我正在尝试在 Android 模拟器上测试我的 phonegap gps 定位应用程序。

我需要在 Android Emulator http://dev.w3.org/geo/api/spec-source.html 上模拟 W3C gps 速度和航向。

使用 DDMS 我能够设置 kml 路径。然而navigation.watchPosition只看到经纬度变化,航向和速度参数未定义。

有什么办法解决吗?

【问题讨论】:

    标签: android geolocation cordova


    【解决方案1】:

    我没有使用 android 模拟器,而是使用 chrome 中的波纹扩展作为模拟器。您可以使用它更改地理定位所需的一切。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-17
      • 2012-10-20
      • 2014-12-10
      • 2011-05-18
      相关资源
      最近更新 更多