问题标签 [jsr179]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
707 浏览

blackberry - Location API not working for custom/third-party applications

I'm trying to write a simple GPS based application for my BB 8800 (with Airtel, India).

But for some reason my code getLocation(timeout) always returns with a non-valid location (only after timing out). I tried different combinations of criteria parameters with no success.

I'm pretty sure that the problem is not with my code because even the BlackBerry GPS demo application does not work. However, my GPS receiver is working fine because "Wayfinder", a maps application that came bundled with my BB, works fine.

To test it further, I tried running SpotFinder and Google Maps. But they did not work either. Google Maps could determine location using cell tower info but not GPS.

Here are some more details about my environment, 1. Phone Model: BlackBerry 8800 2. Carrier: AirTel (India) 3. Device Version: 4.2.168 (Platform 2.3.0.54)

Can my carrier block it? [I spoke with AirTel technical support but they wouldn't budge to help developers]

Thanks In Advance

0 投票
2 回答
2374 浏览

blackberry - Blackberry - 更改设备上的纬度和经度以测试应用程序

我想在设备上测试我的应用程序。是否可以在设备设置中的某处硬编码纬度和经度值,以便应用程序读取这些值而不是当前位置?

我想针对当前位置以外的不同位置测试我的应用程序。

0 投票
3 回答
2177 浏览

blackberry - 如何在黑莓中启动 GPS 程序?

我想如何在 BlackBerry 中创建 GPS 程序?

0 投票
3 回答
11064 浏览

google-maps - 在黑莓应用程序中使用谷歌地图

谁能告诉我如何在黑莓应用程序开发中使用谷歌地图而不是黑莓地图?

0 投票
1 回答
1631 浏览

blackberry - 如何以编程方式关闭黑莓上的 GPS

有谁知道如何以编程方式关闭黑莓内部 GPS 接收器?

0 投票
1 回答
4941 浏览

blackberry - 如何在 BlackBerry Map 中显示我们自己的图标?

我想知道如何使用我们自己的标志来显示BBMap中的特定位置?谁能知道该怎么做?

0 投票
2 回答
3507 浏览

blackberry - 黑莓 - LocationProvider.getLocation() 挂起

我编写了一个非常简单的应用程序,它向 LocationProvider 询问位置并将其打印到 System.out。这在模拟器中效果很好。但是,当我在我的黑莓设备上运行它时,对 getLocation 的调用似乎无限期挂起。我在一个单独的线程中运行代码,该线程只是获取提供者并询问位置。我尝试使用空标准(应该给我默认值对吗?)以及应该提供辅助然后自治的标准。我在下面包含了我的代码。当我在我的设备上运行它时,它会挂起对 getLocation 的调用。下面是我的代码..plzz 告诉我可能做错了什么......

0 投票
1 回答
2977 浏览

blackberry - 如何在黑莓中找到两个地方之间的路线?

如何在黑莓中找到两个地方之间的路线信息?

我正在使用 MapField 在我的应用程序中显示地图。

0 投票
2 回答
4350 浏览

blackberry - 如何在 Blackberry MapField 中显示多个位置?

我可以使用坐标或经度和纬度显示一个位置,但我不知道如何在黑莓 MapField 中显示多个位置。如果可能,请与我分享如何做到这一点..

0 投票
1 回答
1496 浏览

blackberry - Blackberry - 无法从事件线程调用 getLocation() 方法

我想获得设备的经度和纬度。我使用位置 api 来获取经度和纬度,现在我面临的问题是我无法getLocation()在按钮单击事件中调用该方法。getLocation()由于无法从事件线程调用方法,因此会引发错误。谁能告诉我如何解决这个问题?