Rise of the Guitars: Air and Traditional Accepting the Gears award for “Most Innovative Product” from PCWorld at CES
Jan 08

Desktop iPhone Apps with AIR

Adobe, Facebook, Tech with tags: Add comments

If Ryan and I were in marketing then we would be talking about “making your iPhone applications BREAAAAATHE” or something ;)

Ryan has a wrapper that lets you run iPhone applications inside of the AIR container:

This implementation just uses the mx:HTML tag with the location set to http://iphone.facebook.com with some extra code to handle the custom chrome and the option to make it transparent. Ideally I could take all of the source code for the iPhone application and have all of those files locally installed with the application but going through that code was more time than I had. You’ll also notice that it just refreshes the entire page. My plan is to go through the iPhone facebook code more and call the function that loads the feed information and just refresh that. I’d also like to be able to detect when a new feed item comes in and bubble that up so I can show a notification but detecting changes to the DOM isn’t easily done with AIR so I need to check with the engineering team. I’m going to have some followup posts this week discussing little parts of the application and I’ll also post the source code later this week (I just need to clean it up).

This is a natural fit for certain applications such as Facebook. Doesn’t this application now look a little like Adium sitting over there?

This, once again, gets me back to Face IM. Similar form factor, just add a few more abilities than you get with the iPhone client (which is optimized for having a crappy keyboard etc).

Ryan, we should get together and hack on this bad boy sometime!

2 Responses to “Desktop iPhone Apps with AIR”

  1. replicahandbags Says:

    thanks for your share.

  2. Najam Says:

    i just wanted to know is there anyway to take the apps downloaded on desktop(windows xp) and place them into iphone and make them work there..?

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'