通过电缆同步 iPhone
我制作了一个 iPhone 应用程序,它通过调用 Web 服务并将数据交换为 xml 来与服务进行通信。为此,应该有 WIFI 访问。
我现在想做的就是在没有 WIFI 的地方做同样的事情。我能想到的唯一方法是通过 USB 电缆(底座电缆?)。不幸的是,无论在网上进行多少搜索,都没有找到实现这一点的方法。有可能吗?有谁知道该怎么做?至少在哪里寻找这些信息的一些指示会很好
I've made an IPhone App that communicates to a service by calling a webservice and exchanging data as xml. For this to take place, there should be WIFI access.
What I'm trying to do now is to do the same but in places without WIFI access. The only way I can think of doing this would be through the USB cable (dock cable?). Unfortunately, no amount of searching online has revealed a way to do this. Is it even possible? Does anyone know how to do this? Some pointers on at least where to look for this information would be nice
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
AFAIK 通过 USB 电缆同步是不可能的。您所做的任何同步都必须通过网络进行。
Syncing through the USB cable is not possible AFAIK. Any syncing you do has to be over the network.
这是可能的。 Cultured Code 确实通过 Wifi 进行同步,并且在他们的 wiki 上,他们发现你可以这样做通过 USB 和蓝牙实现同样的功能(前提是运营商支持网络共享,咳咳 AT&T 咳咳)。
所以基本上,据我所知,如果您通过计算机到计算机网络进行标准 Bonjour 同步,并且 iPhone 具有网络共享功能,那么它也可以通过 USB(甚至蓝牙)进行同步。
This is possible. Cultured Code does syncing over Wifi, and on their wiki, they've found that you can do the same thing over USB and Bluetooth (provided the carrier supports tethering, cough cough AT&T cough cough).
So basically, as far as I know, if you do standard Bonjour syncing over a computer-to-computer network, it'll work over USB (and even Bluetooth) if the iPhone has tethering capabilities.
该电缆就是 USB,您当然可以通过该协议与计算机通信。为此也有一个开发者计划。
http://developer.apple.com/iphone/program/accessories/
- t
The cable is simply USB, and you can certainly talk to a computer through this protocol. There is a developer program for this as well.
http://developer.apple.com/iphone/program/accessories/
-t