December 2010
« Nov   Jan »



« | Main | »

AIRonAndroid Browser now runs on iPod/iPad/iPhone!

By Rich Tretola | December 27, 2010

My AIRonAndorid Browser application which was written as a test of the apis for Android was compiled to BlackBerry PlayBook back in November.

Now, after some struggles with the compilers, I have successfully compiled it to run on an iPod touch 4 which also means it will run on an iPhone and iPad. Although I had to comment out some of the apis, others still work. Yes, this application was created with Adobe Flash Builder Burrito as a mobile Flex project. I am not sure why I am getting only a 320 x 480 resolution. I can only assume this is a compiler setting that needs to be tweaked as the Android app runs at full 480 x 800.

Here is the visual proof.

Home screen:


Screen Orientation:

Topics: Adobe AIR, android, Announcements, Flex 4, Flex Builder, iphone | 11 Comments »

11 Responses to “AIRonAndroid Browser now runs on iPod/iPad/iPhone!”

  1. Kenneth Egholm Says:
    December 27th, 2010 at 3:55 pm

    Hi, Rich..

    That is exiting news..

    So has Adobe updated the Burrito? Last time I checked the iOS was not supported

    Best regards, Kenneth Egholm

    Reply to this comment

    Rich Tretola Reply:

    No, not yet. I had to hack around a bit using the command line compilers.

    Reply to this comment

  2. almog Says:
    December 27th, 2010 at 6:00 pm

    Will this be available on th app store?

    Reply to this comment

    Rich Tretola Reply:

    No, I don’t plan of releasing it. I don’t think Apple would approve it anyway.

    Reply to this comment

  3. How I compiled the Tour de Flex Mobile to iOS /iPhone with video | EverythingFlex: Flex & AIR Says:
    December 28th, 2010 at 11:33 am

    [...] AIRonAndroid Browser now runs on iPod/iPad/iPhone! [...]

  4. Todays Learning Journey | marcusjpotter Says:
    December 30th, 2010 at 5:51 pm

    [...] Building a “native” menu in Flex Mobile //Native ‘looking’ menu key popup in flex Mobile edition for Android emulation [...]

  5. Peter Says:
    January 3rd, 2011 at 1:07 pm

    Thanks for sharing, Rich!

    As one of the earliest adopters of the AIR packager, what do you think of its chances of becoming a viable/stable/reliable method for real-life (e.g. enterprise application) iOS development in the near-future?

    The reason I ask is that right now I’m trying to decide if/when we could realistically leverage our Flex/AIR skills to develop business apps directly for the iPad; or if it makes more sense to go directly to Objective-C. Our current experience with the Flex APIs (especially the charting components) would be a huge plus; but I’m skeptical about the limitations and bugs of getting everything to transfer over smoothly, and the lack of direct control over the code (both in development and in debug).

    Thanks for any comments!

    Reply to this comment

    Rich Tretola Reply:

    I am making the bet that it will be a viable programming platform for iOS. My early experiments have been a big sluggish for Flex based applications but this is expected since the methods I have used are not yet sanctioned or optimized by Adobe. My experience with AIR applications running within the PlayBook emulator have been more successful. So, I have little doubt that the dream of write once deploy to many will be a reality. The one drawback you will find will be that you will be limited to the iOS apis that Adobe has decided to expose to AIR. It you need access to something within iOS above and beyond those selected apis, you will need to go the Objective-C route.

    Reply to this comment

    Peter Reply:

    That’s understandable WRT performance at this stage. So then the hope would be that Packager gets AIR 2.5 support when Hero/Burrito hit prime time, right? So that the iOS apps can be based on the spark-based mobile-optimized components and design patterns?

    What I’m anxious to see then is the level of commitment/support that Adobe advertises to working with Packager, at the time that Hero/Burrito drop (this year, I assume). I don’t mind missing a few iOS APIs, so long as all the current stuff in the AIR libraries produce a nice experience, and the development path is smooth.

    I’ve also been quite surprised at the lack of data-visualization/charting APIs in Objective-C: this is one area where Flex/AIR could really have an advantage, especially for business apps on tablets.

    Reply to this comment

  6. Jeff Boothe Says:
    January 12th, 2011 at 6:17 pm

    Fist, thank you very much on your Tour de Flex to iPhone post. I was able to port my Android app over to iPhone with your help.

    Do you have any idea how to constrain an app built in Burrito to the iphone dimensions of 320×480? It seems to be taking on the larger dimensions of a typical android device.

    I’ve tried hardcoding width=”320″ height=”480″ in the MobileApplication file. I’ve tried Stage.EXACT on creation complete. I’ve tried setting the width to stage.width. None of these seem to have any effect on the sizing of the app.


    Reply to this comment

    Rich Tretola Reply:

    Try setting these in the application’s XML file.

    <!-- The window's initial width in pixels. Optional. -->
    <!-- <width></width> -->

    <!-- The window's initial height in pixels. Optional. -->
    <!-- <height></height> -->

    Reply to this comment