IPHONE:我可以在没有互联网的情况下使用 GPS 来获取当前的纬度和经度
我正在创建一个应用程序,因为我只需要使用 GPS(即使用 iPhone4)的设备的当前纬度和经度。
我只是想知道我是否需要 Wifi 或互联网连接?
我确实有运营商卡,并且我的设备将被越狱,并且还拥有 3g 设施意味着 iphone 3gs 或 iPhone 4。
那么我可以获得相同的纬度和经度吗?
提前致谢。
I am creating an application in that I need only current Latitude and longitude of the device using the GPS i.e. using iPhone4.
I just want to know Do I need the Wifi or internet connectivity or not ??
I do have operator card as well as my device will be jailbroken and also having 3g facility means iphone 3gs or iPhone 4.
So can I get Lat and Long for the same ?
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
数据连接仅由 A-GPS(辅助 GPS)使用,以更快更好地查找和使用卫星在无线电信号较差的情况下。独立 GPS 本身不需要任何数据连接来执行其功能。但是,如果您在信号低或差的区域启动应用程序或 iPhone,并且没有数据连接,则您的设备(和机载 GPS)将可能无法连接到卫星以获取卫星信息。位置信息。
Data connectivity is only used by A-GPS (Assisted GPS) to find and use satellites faster and better in conditions where there are poor radio signals. Standalone GPS, per se, does not require any data connectivity to perform its function. However, if you start your application or the iPhone in an area where signals are low or poor, and you don't have data connectivity, your device (and the GPS on-board) will not likely be able to connect to satellites to get location information.
是的,您可以使用 GPS,因为它不需要互联网连接,但
(1) 需要很长时间才能获得位置并且
(2) 在建筑物或街道内无法正常工作
通过这种方式可以做到:
Yes you can use GPS for it as it doesn't need internet connection, but it
(1) takes a long time to get position and
(2) doesn't work properly inside buildings or streets
By this way you can do it: