移动设备之间通信位置
我只是在这里集思广益。假设我有 2 个移动设备,iPhone、Android、WinPhone7、BlackBerry、Palm 等等。我想将我的位置(纬度/经度)从我的设备传送到另一台设备。这样做的最佳方法是什么?
假设每个设备都具有内置地图功能或定制的本机应用程序。
我提出了一些想法,例如短信/彩信或嵌入链接的电子邮件。然而,它们似乎都很笨拙。
还有其他想法吗?
I am just brainstorming here. Let's say I have 2 mobile devices, iPhone, Android, WinPhone7, BlackBerry, Palm, whatever. I'd like to communicate my location (latitude/longitude) from my device to another one. What is the best way of doing this?
The assumption that each device has either built-in mapping capabilities or a custom-built native app.
I've thrown around ideas like SMS/MMS or email with links embedded in them. However, they all seem to be cludgy.
Any other ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每部手机都可以轮询位置变化的网络服务(或者,如果您必须且不关心安全性,则可以使用 Twitter)可能会奏效。显然,网络服务必须接受坐标,并且能够轮询每个设备的更新。安全性显然是一个问题,但这可能是另一种方法,前提是每个设备都有一个自定义应用程序来完成此任务,并且可以通过网络访问来轮询更改。
A web service (or, if you must and don't care about security, Twitter) that each phone could poll for changes to location might work out. The web service would have to accept the coordinates, obviously, plus be able to be polled for updates by each device. Security is obviously a concern, but that might be another way to go provided that each device had a custom app to accomplish this task as well as web access to poll for changes.
我会选择短信。它保证私密、可靠、低成本且易于使用电池。
Web 服务也是一种选择,但是:
与短信相比:
无论如何,这两种设备仍然必须有一个“地图应用程序”,您可以对其进行编程以与 SMS/网络服务数据进行交互。
I would go for SMS. It is guaranteed to be private, reliable, low-cost and easy on battery.
Web service is also an option, however:
Compare that with SMS:
In any case, both devices still have to have a "mapping app" that you can program to interface with the SMS/web-service data.