AIR 2.6 performance on iOS devices

When I first tried iOS packager it looked too raw and slow to use in real applications. But the technology was very promising and product was obviously far from release. A new version of AIR (2.6) was released recently and it is claimed that performance on iOS devices was improved. I downloaded new AIR SDK and repackaged sample iOS application. However, I wasn't able to detect any significant performance boost. In fact, application seemed to work even slower on iPad. What is weird, I could see some speed increase on iPhone 4. But neither execution performance on iPad, nor on iPhone is not even close to the execution speed of the same application (although packaged with AIR 2.5) on Android device (Galaxy Tab). I can imagine that Android packaging could work for me. But execution on iOS devices is definitely too slow so far. Btw, I use Flash Builder Burrito and Flash Hero SDK with new mobile flex components for the development.
The question is, what is your experience with AIR 2.6 iOS packager? Any significant increase in performance? Are there any special steps required to turn on iOS performance optimization in builder or packager?
I'm going to try AIR 2.6 Android packager next. Will post an update when done.

sorr for the dupe, but i already posted this in the iOS packager forum:
the one big  advantage with 2.6 publishing is, that the app behaves as it should when  it comes to moving objects performance slowdown.
Before performance  would break down in strange ways if I inserted too many moving objects  in my sandbox. Now the framerate just goes down when raising  the  objects count.
If you want, check out the video of my proto: http://www.youtube.com/watch?v=uE56XCG06FM
Same principle as with FlashKevin. Just Sprites and scripting no timeline stuff, one enterframe thats handles all the object controllers. GPU accelerated.
You absolutely have to use cacheAsBitmapMatrix or else Sprites/Bitmaps will look jaggy and performance just sucks bigtime. I am also setting cacheAsBitmap = true.
I had some bad performance, when i packaged a project that ran fine with the old packager due to a stage scaling issue.
Performance  on the ipad seemed to be really bad when publishing a iPhone project  without "stage.scaleMode = StageScaleMode.NO_SCALE"  with 2.6.
I am actually pretty happy with this release (at the moment).
Simon

Similar Messages

  • Adobe AIR stream publish breaks on iOS devices

    Hi All
    I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server.
    This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5 minutes).
    Here are my relevant code segments:
    private function CreateConnection():void
      netconn = new NetConnection();
      netconn.client = this;
      netconn.objectEncoding = flash.net.ObjectEncoding.AMF3;
      netconn.connect(rtmpPath);
      netconn.addEventListener("netStatus", netConnection_eventHandler);
    netStream = new NetStream(netconn, NetStream.CONNECT_TO_FMS); 
    metaSniffer=new Object();
    netStream.client=metaSniffer;
    metaSniffer.onMetaData=getMeta;
    netStream.addEventListener(NetStatusEvent.NET_STATUS,netConnection_eventHandler);
    netStream.attachCamera(cam);
    netStream.attachAudio(mic);
    netStream.publish(InterviewID, "record");
    Thanks,
    Koby.

    Hi All
    I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server.
    This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5 minutes).
    Here are my relevant code segments:
    private function CreateConnection():void
      netconn = new NetConnection();
      netconn.client = this;
      netconn.objectEncoding = flash.net.ObjectEncoding.AMF3;
      netconn.connect(rtmpPath);
      netconn.addEventListener("netStatus", netConnection_eventHandler);
    netStream = new NetStream(netconn, NetStream.CONNECT_TO_FMS); 
    metaSniffer=new Object();
    netStream.client=metaSniffer;
    metaSniffer.onMetaData=getMeta;
    netStream.addEventListener(NetStatusEvent.NET_STATUS,netConnection_eventHandler);
    netStream.attachCamera(cam);
    netStream.attachAudio(mic);
    netStream.publish(InterviewID, "record");
    Thanks,
    Koby.

  • HT204291 I cannot get air play icon on my iOS devices please help

    I cannot get the AirPlay icon on my iOS devices please help

    In IOS 7, the air play button lies below the bottom of the iTunes page. You need to click along the bottom for it to come up. Air play is there! Wow! I spent so much time trying to figure out what was wrong and as usual, it was me!

  • Just got a new Macbook Air.  Music library from ios devices/itunes isn't showing up on itunes on the mac.  How can I get it to work?

    How can I get my previously purchase music to show up in itunes on my macbook air?  Not sure I want to import and use up hard drive, but would like to have access to my songs/playlists on my computer.  It says homesharing is turned on for all my devices using the same apple id.

    iTunes prefs > Store - Show iTunes in the Cloud.
    You must be signed into the iTunes store.

  • Why is my Air application taking so long to show the first view on iOS devices?

    I built an Air application that runs on Android devices and iOS devices. The application uses Air 3.4 and Flex SDK 4.6. On my Android device, the application starts in 5 seconds. On my iPad device, the application starts in 90 seconds.
    My application has a splash screen, which is launched via the ViewNavigatorApplication property, splashScreenImage.
    The application was built in release mode and the SWF file is 1.384M. After I create the ad-hoc build, which includes the Air Captive Runtime, I see the following file sizes and startup times.
    iPad 2 - ipa size, 8.6M
    12 seconds of black screen. Then my splash screen appears. 80+ seconds of splash screen. Then my first view appears.
    Android Nexus 7 - apk size, 4.0M
    2.5 seconds of black screen. Then my splash screen appears. 2.5 seconds of splash screen. Then my first view appears.
    Here are more details about my app.
    It's a video conferencing app. So I have to set renderMode to "cpu". The app has 5 views and several popups. The popups use the SkinnablePopupContainer. The app uses dependency injection as provided by the Parsley framework to share two small data objects between the views. The app uses web service calls to manage the conference state.
    The problem occurs at startup. I haven't rendered a view with video logic, and the first view is a welcome page with a scrollable text area for terms and conditions, one button with an icon, one toggle button, and one hyperlink button.
    The app has about 400k of embedded images which are rendered using the MultiDPIBitmapSource.
    The app has 43.3K of icons for the various sizes as specified in the application xml file.
    Any help would be greatly appreciated.

    I figured out how to resolve the issue. I had to change the renderMode from "cpu" to "direct". That solved the problem, and the application performs perfectly. Even the video displays work ok. It's interesting that Adobe advises against using "gpu" or "direct" renderMode when displaying video. I need to figure out why and make sure the application is acceptable as is.
    I have more testing to conduct, but I'm very encouraged.

  • Apple TV 2 choppy video playback when mirroring from Macbook Pro (Yosemite) and Macbook Air (Yosemite) but not iOS devices

    Video playback is choppy (cuts out every 30-45 seconds) when air playing from both my MacBook Air 1.3 GHz Intel Core i5 running Yosemite and my husbands new MacBook Pro, but runs perfectly when mirroring from any of our iOS devices (iPhone 6+, iPad mini 3, etc.) We have Apple TV 2. This problem just started a few weeks ago, was working fine around Christmas. The problem seems to have coincidentally started right after our son tried plugging in and setting up his Chromecast on our tv. I disconnected the Chromecast, but we still have the problem. All of our software if up to date and I've tried disconnecting blue tooth, we do not have a microwave and our wifi network has a very strong signal. We have an Airport Extreme base station. Is there a solution to our problem?

    Hi leahmturner,
    I see that you are experiencing an issue with choppiness while AirPlay Mirroring from your computers to your Apple TV. I have an article that contains some helpful troubleshooting steps for you regarding this issue:
    About AirPlay Mirroring in OS X - Apple Support
    http://support.apple.com/en-us/HT201343
    Optimizing image quality
    Resolution matching modes
    You can choose between two desktop resolution matching modes that let you select which display will have the best image. When AirPlay Mirroring is turned on, select an option under "Match Desktop Size To:" in the AirPlay Mirroring menu extra.
    Match Desktop Size To: Apple TV
    AirPlay Mirroring changes the desktop resolution to best match your Apple TV, resulting in a 16:9 image that fills the HDTV screen. This setting often produces the sharpest image on the HDTV. The aspect ratio and/or resolution of the built-in Mac display may change to accommodate the Apple TV.
    Match Desktop Size To: This Mac
    AirPlay Mirroring scales the contents of the desktop to fit on the Apple TV, leaving the resolution of your Mac's display unchanged. Use this setting for the sharpest image on your Mac's display. Depending on your Mac model, the resulting image may not fill the HDTV screen.
    Troubleshooting AirPlay Mirroring
    If you don't see mirroring options
    If your Mac and Apple TV are on the same network, but no AirPlay Mirroring menu appears, your Apple TV may be asleep. Simply press a button on your Apple TV remote to wake it up. After a few seconds, the AirPlay Mirroring menu extra appears. If you still don't see the options you expect, make sure your Apple TV has the current software update installed. Also make sure that you have the "Show mirroring options in the menu bar when available" option selected in the Displays pane of System Preferences.
    If the menu bar or Dock is cropped
    Some HDTVs have bezels that cover a small percentage of the screen. This can result in a slight cropping of a full-resolution HDTV image. Depending on the HDTV model, AirPlay Mirroring may automatically adjust the picture size to prevent cropping.  If you are using OS X Mountain Lion or later, and you see cropping of the menu bar or Dock when using AirPlay Mirroring, toggle the Overscan correction option in Displays preferences.
    Minimize video post-processing
    HDTVs often apply picture quality enhancements intended to improve the look of film and video sources. In some cases, these enhancements can lead to over-sharpening artifacts when displaying your Mac desktop. Some HDTV models have built-in settings to change or disable the enhancements for use with a computer (computer, presentation, or game modes). Otherwise, the controls for sharpness, detail enhancement and noise reduction can be used to optimize the appearance of the Mac desktop. Consult your HDTV’s manual for guidance on the appropriate settings for use with a computer.
    Firewall security settings
    If you use a firewall, make sure the following firewall security options have been set to allow AirPlay Mirroring to work:
    Choose System Preferences from the Apple menu ().
    Click Security & Privacy, then click Firewall.
    Click the lock icon to unlock it if it's locked, then type an administrator name and password.
    Click Firewall Options.
    Deselect (uncheck) the “Block all incoming connections” checkbox.
    Select (check) the “Automatically allow signed software to receive incoming connections” checkbox.
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • We have 4 different iOS devices in the same household. 2 iPhones, iPad Air

    Hello. We currently have 2 iphones, an iMac & an iPad Air in our household. We have 1 iTunes account & have always had one email address. We would like each iOS device to basically have its own identity. Mainly when using something such as Facetime. I would like each phone to only be contacted on Facetime by someone calling that particular phone's number. And then when someone calls the iMac on Facetime, as of right now, it's being reached by someone calling our email address. And we just got the iPad Air & I would like that to be reached separately. So when having 1 iTunes account & 1 email, as of now, how can I set this up? Because right now when someone tries calling us on Facetime using our email address, it contacts all the devices.  Also, I would like iMessages coming into one of the iPhones & the iPad to be linked, and the other iPhone & the iMac to be linked for iMessages. Could someone please help? Thanks!

    You will all need to be on the same itunes account ID.
    You can however all have seperate icloud accounts aswel.

  • Cant connect my ios devices to my mac book air

    I cant connect my IOS devices (iphone 4s + ipad 2) to my macbook air mid/2013 by usb or bluetooth.
    when connecting by usb the devices dose not charge or sync with itunes. it charges for split a second and disconnect anther time and it go forever in the his loop.
    I tried using two cables.
    The devices are working on my windows pc.
    my macbook works with usb sticks and other android phones.
    note:
    -both devices are on ios 8.1
    -my macbook is on Yosemite
    -my ipad 2 worked well before updating  my mac to yosemite

    iPods that have the Window format should continue to work on a Mac, because Macs can read/write the Windows format used on iPods.  (The opposite is not true - Windows cannot read the Mac format.)
    You can change the formatting, by doing a Restore on the iPod, but that is done in iTunes, so iTunes needs to see the iPod when you connect it.  The Restore will also erase the iPod.
    Since it continues to work on your friends Windows PC, your iPod itself is probably OK, so you may want to first look at the connection to the Mac.
    Did you use the same USB docking cable when you connected it to your friend's PC?  If so, you can rule out the USB cable as the cause.  If not, it's possible that your USB cable is faulty.
    If you are connecting the iPod to a USB hub, try a direct connection to the Mac's USB port.  If other USB devices are connected at the same time, try disconnecting the other devices (except for standard keyboard and mouse if normally used).  You may also want to shut down (power off) the Mac, if you have not done so in a while.  Also, do this to Reset the iPod
    http://support.apple.com/kb/ht1320
    Start up the Mac, run iTunes, and connect the iPod by itself to a direct USB port.

  • Autocomplete no longer working on my iOS devices even though it works on my MacBook Air

    I migrated all of my settings and info to a new macbook air from an older macbook air a few days ago.  Now the mail "to" field only autocompletes addresses on the Air, but it no longer works on my iPad or iPhone.  When I open the address book on the iOS devices, the email addresses are still intact.  All of the software is up to date.  Have spent hours today trying to figure out how ot fix this.
    Can anyone please help me with this?  I work at a tech company, but even the former apple engineers I asked are not sure how to fix this one. Could this be an iCloud issue?  iOS software bug?

    It could well be an iCloud issue.
    Are your contacts stored in iCloud?  This article makes it sound like that's required for autocompleting addresses in mail on your iPhone.
    iCloud: Store and find email addresses

  • Air Play from my Apple TV can't been seen on any of my iOS devices?

    I've tried everything... Rebooting my router, rebooting my modem, restarting my Apple TV, changing the language on my iPad and nothing seems to work. Even though my Apple TV shows that it has a strong connection to my network and all of the other iOS devices are working properly, I can't get my Apple TV to been seen by my iPad2, iPad mini, or either one of our two Mac Book Pros.  I know Air Play works on my MacBook because I use it at work all the time for displaying on conference room displays, but our Apple TV remains invisible to all of the other iOS devices in our house. 

    make sure the required ports are not blocked in your router
    Well known TCP and UDP ports used by Apple software products
    and test by connecting the Apple TV by ethernet and the computer by ethernet
    and some routers keep ethernet, 2.4Ghz and 5Ghz as separate networks and one needs to bridge them in other for devices to talk
    and finally if you own the old aluminium Apple TV then it does not support airplay at all

  • I can't get Apple TV mirroring to work from any of my iOS devices (Ipad2, iPhone 5 and iPad air).

    I can't get mirroring to work from any of my iOS devices (Ipad2, iPhone 5 and iPad air). I click on airplay, and select mirroring, but nothing appears on the tv screen and the connection with the Apple TV drops off after 5 seconds. Any ideas why

    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
        1.    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
        2.    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
        3.    Restart the Apple TV (Settings > General > Restart).
        4.    Restart the Apple TV by removing ALL the cables for 30 seconds.
        5.    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
        6.    Restart your mobile device.

  • It appears that I can not share documents between my iMacs and mac air without first opening document in an IOS device.  Is this correct?  If so then iCloud for me is a giant step backward especially since idisk will be discontinued next year.

    It appears that I cannot share documents between my iMacs and and Mac air using icloud without first opening document in and IOS device.  Is this true.  If so, then icould is petty much worthless for me, especially since idisk will be discontinued next year.

    jack198 wrote:
    You are correct.  However, a document can not be opened by another computer unless the document has first been open by an iDevice.
    iwork on iOS uses different file formats ( *.tef ) then iwork09 on Mac ( *.key , *. number , *.page ).
    Uploaded documents to icloud.com must first be updated to the *.tef format and then re-written to the cloud system. The online service behind the iwork web-app does the re-conversion to Mac formats, pdf or Microsoft office. All that is happening "in the cloud", not on your Mac as he misses the engine to do the transcoding from the *.tef to the other formats. Mac simply does not know what *.tef is.

  • File.upload on Air SDK for iOS devices failed to send http request to server.

    I am trying to use ActionScript's File.upload to upload a file on Air SDK for iOS8 environment, but the File.upload does not work properly. No handler about the file upload is executed after File.upload is invoked, and no exception is caught. When I check the network traffic of the server side, I found that no http request even hit the server after File.upload is executed. The code snippet here is very simple.
      private var file:File;
      private var dir:File;
      //This method is executed to create a file and upload it when the Upload Button is pressed.
      protected function OnUploadButtonPressed(event:MouseEvent):void{
      var str:String = 'This is test';
      var imageBytes:ByteArray = new ByteArray();
      for ( var i:int = 0; i < str.length; i++ ) {
      imageBytes.writeByte( str.charCodeAt(i) );
      try{
      dir = File.applicationStorageDirectory
      var now:Date = new Date();
      var filename:String = "test" + now.seconds + now.milliseconds + ".txt";
      file = dir.resolvePath( filename );
      var stream:FileStream = new FileStream();
      stream.open( file, FileMode.WRITE );
      stream.writeBytes( imageBytes );
      stream.close();
      file.addEventListener( Event.COMPLETE, uploadComplete );
      file.addEventListener( IOErrorEvent.IO_ERROR, ioError );
      file.addEventListener( SecurityErrorEvent.SECURITY_ERROR, securityError );
      file.addEventListener(ErrorEvent.ERROR, someError);
      file.addEventListener(ProgressEvent.PROGRESS, onProgress);
      file.upload( new URLRequest("http://10.60.99.31/MyPath/fileUploadTest.do"));//This line does not work. No handler is executed. No http request hit the server side.
      } catch( e:Error ) {
      trace( e );
      //Complete Handler
      private function uploadComplete( event:Event ):void
      trace( "Upload successful." );
      //IOError handler
      private function ioError( error:IOErrorEvent ):void
      trace( "Upload failed: " + error.text );
      //SecurityError handler
      private function securityError(error:SecurityErrorEvent):void{
      trace( "Security error:" + error.text );
      //Other handler
      private function someError(error:ErrorEvent):void{
      trace("some error" + error.text);
      //Progress handler
      private function onProgress(event:ProgressEvent):void{
      trace("progressHandler");
    When executed on Air Simulator, it works fine as expected, and the file is successfully uploaded to the server. But When executed on iOS devices(in my case, iPad), as I explain early, no handler about the file upload is executed, and no the http request even hit the server. So I think the problem may be in the client side. It seems that the Air SDK for iOS just failed to send the http request for some reason.
    To make my problem more clear, I list my environment below:
    Development Environment:  Windows7 (64bit)  / Mac os 10.9.4 (Tested on  OS platforms.)
    IDE: Flash Builder 4.7
    Air SDK:  3.8 / 16.0.0 (After I updated to the lastest Air SDK 16.0.0 , the problem still exists.)
    Application Server:  Tomcat7 + Spring
    Target OS: iOS 8
    I have been struggling for this for days. So I really appreciate it if anyone has any idea about this.
    Thanks in advance.

    Hi bluewindice ,
    As you have quoted ( ActionScript's File.upload does not work on Air SDK for iOS devices ) , this issue has been replicated at our end, and our team will be working on it.
    Thanks,
    Tushar

  • Flash builder mobile app hangs on Realease Build after air 3.1 (3.2 - 3.8) for IOS devices

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

  • Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    HI Chris,
    Thanks for taking the time to reply.
    Could you expand on your answer, which bit is very doubtful?
    Also in your knowledge would Apple work with a company and license it if the software they were developing was desired by consumer demand?
    Thanks
    Gary

Maybe you are looking for

  • InfoObject Help taking more time in BI web report Input screen

    Hi all, i am having a report consist of 3 variables .So, when ever i will execute it, variable screen will pop up. Now, There is an object name as "Master Location" , and it is having variable . Now, the problem is when i click on the help of Master

  • Multiple Queries in a workbook

    Hi Gurus If we have multiple queries in a workbook in  3.5 version and when we upgrade it to BI 7.0 version the data got overwrited........ (I heard this scenario from my friend) But how to solve this kind of scenario. Does scrolling option works...

  • IPhoto 09 folder structure bug

    Let me start by saying that I am a big Apple fan. I have a Macbook Pro (end 2006) running 10.6 with a 30 inch Cinema Display, a 23 inch iMac (mid 2007), and an iPhone 3G and a Nano 5th G. I am an Apple Certified Systems Administrator and was also the

  • Power Adapters & Replaceable Batteries For 20G Zen Tou

    Hi there: I'm going on an overseas trip to India in a few months, and I'd like to take all my muzak with me. Since the flight is 36 hours long and the battery life is 24 hours, is there a replaceable battery for the Zen Touch? Also.. I'd like to rech

  • Adding an iAd Banner above a Tab Bar in existing app

    I am trying to add the iAd Banner above the Tab Bar in an existing app. The tab bar has 4 Buttons/Views (HomeView.xib, FirstView.xib, SecondView.xib, ThirdView.xib). In Interface Builder, I have tried to drag the iAd banner into the MainWindow.xib ab