为什么黑莓 GPS 比其他技术(iPhone 和 Android)慢
大家好,我正在开发一个应用程序,该应用程序根据当前位置对事件进行攻击。当我的应用程序启动时,我将根据当前位置在我的 ListField
中显示事件。发送 Latitude
& 后,应用程序在模拟器中运行良好。从模拟器手动经度
。
当我在我的设备 BBstorm2 9550 中测试此应用程序时,设备无法在 3 或 4 秒内获取当前位置(在启动屏幕期间)。但一段时间后它成功获取当前位置。
如何才能像 iPhone 和 Android 一样快速获取当前位置? 有什么方法可以从我们在 Refresh GPS
上获取的设备 GPS
系统获取当前经纬度。
如果有人有任何想法,请建议我。 提前致谢!
hi all i am working on Application which is bashed on Event according to current location .when my application start i am displaying Event in my ListField
according to current location. Application works fine in Simulator after sending Latitude
& Longitude
manually from simulator.
When i test this app in my device BB storm2 9550, device cant get current location within 3 or 4 second (during Splash screen) . but after some time it get current location successfully .
how can i get my current location as fast as iphone an Android ?
is there any way to get current lat long from device GPS
system which we are getting on Refresh GPS
.
please suggest me if any one have any idea.
Thanks in Adavance !!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您没有快速获得纬度/经度,那么听起来您正在尝试使用 GPS 无线电获取位置。这意味着连接到卫星需要一些时间。这还需要手机能看到天空,即它无法在室内工作。
获取纬度/经度的最快方法是
这些不会像使用 GPS 无线电那样消耗电池,所以如果可以的话,请尝试使用这些。尽管纬度/经度不如 GPS 无线电纬度/经度准确。
请检查以下内容,了解您需要的黑莓 GPS 技术的所有信息。
if you are not getting lat/long quickly then it sounds like you are trying to get the locations using the GPS radio. This would mean it will take time to connect to the satellites . this would also require sky in sight of the phone, ie it will not work indoors.
The quickest way to get lat/longs are
These doesnt drain the battery as much as using the GPS radio so if you can , try using these. Although the lat/long are not accurate as GPS radio lat/longs.
Please check the following for all the info you would ever need for blackberry GPS techniques.
在硬件层面,黑莓设备过去常常安装高通的 gpsOne 芯片组,在我看来,该芯片组比最新的 Android 或 Apple 设备(SiRFstar 或 Broadcom 等)中的芯片组要慢。或者黑莓操作系统可能没有以有效的方式与其交互。无论出于何种原因,在特定地点,我在 BlackBerry 设备中体验到的 TTFF 高于 Android 设备。我在这里可能是错的,这只是一个意见。
我认为较新的 BlacBerries 现在正在安装其他芯片组。此外,自 2011 年 9 月起,OS 6.0 及更高版本中也提供了 WiFi 地理定位服务。在此之前,BB中唯一的定位服务是A-GPS和celltower(仅OS 5.0以上)。
一些有用的链接:
位置 API – 开始到结束< /a>
简单位置 API
At a hardware level, BlackBerry devices used to mount Qualcomm's gpsOne chipset, which, in my opinion, is slower than the ones you could find in most recent Android or Apple devices (SiRFstar or Broadcom, etc). Or maybe the BlackBerry OS didn't interface with it in an efficient manner. For whatever reason, I've experienced higher TTFFs in BlackBerry devices than in Android, for a given place. I may be wrong here, it is just an opinion.
I think newer BlacBerries are mounting other chipsets now. And also, as of September 2011, WiFi geolocation service is also available in OS 6.0 and later. Before that, the only location service in BB was A-GPS and celltower (only OS 5.0 onwards).
Some useful links:
Location APIs – Start to finish
Simple Location API