开发者

Getting an iPhone app communicating with an Adobe Air desktop app

I am creating a desktop version of an iPhone app and would like to have some sort of 开发者_开发问答sync option. The desktop version of the app is an Air app.

I know that I can have them communicate by:

  1. Starting a server on the desktop or the phone
  2. Ask the user to enter the IP of the device into the other one
  3. Make GET and POST requests over the http server

This seems very clunky to me, however, and I would like for them to automatically recognize each others presence when the sync button is pressed. How can this be done between an iPhone and an Air app?


Figured out a way myself: Bonjour

It is possible to implement on the Air side
It is possible to implement on the iPhone side:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜