ViewNavigatorApplication.pushView delayed when in the background on iOS

I have a Flex Mobile app that uses an iOS native extension to allow it to run in the background using the "voip" background mode. When I recieve a certain message via a native socket, I push a view onto the stack using ViewNavigatorApplication.pushView. All is well when the app is in the foreground. However, when it is in the background the call to ViewNavigatorApplication.pushView does not result in the new view being created immediately, i.e. its creationComplete event is not fired. When I bring the app to the foreground by clicking on its icon, the creationComplete event is immediately fired. It acts as though the creation of the view is put on a queue until the app comes to the foreground. What is up with that? Is the Adobe AIR gui event processor in a sleep state when the app is in the background? Other events are fired and processed as per normal, so I know that AIR is "alive". I've only seen this behavior with ViewNavigatorApplication.pushView. Note also that I don't see this behavior on Android. On Android the view is created regardless of wether the app is in the foreground or background.
I think I can work around this behavior on iOS, but I would like to fully understand it.
Any help would be greatly appreciated.

Can you please tell me what extension you are using? I'd really like to use native sockets aswell. Can't find anything about it.
Thanks in advance.

Similar Messages

  • Significant delay when using the "tap to click" trackpad function

    (I accidently post this in the wrong forum -- for the old MBP -- so this is a repost)
    Hello everyone! I bought a 2.4 Ghz unibody MBP like 3 weeks ago. I had an issue and they replaced the computer with a new one at the store. Today is the first day of using the new laptop. They switched out the ram upgrade and the hard drive.
    The issue seems to be that when using the tap to click function on the trackpad, there is a relatively significant delay (at least for a click). With the regular mouse button the delay isn't there. Such as if I'm clicking on the finder or the file tab, there's a bit of a delay before they pop up, compared to instantaniously with the mouse button. When using the trackpad for regular types of tasks, there is a bit of a delay sometimes too. Such as I'll be moving the mouse across the screen and it will stop.
    Please help me out. If I could solve it without going back to the Apple store that would be great. Thanks everyone in advance.

    Update: I think the 1/2 second delay is too long of an estimate, but the delay is significant enough to make me notice something has to be wrong. My previous MBP had no delay.
    When moving the mouse around, I'm not sure if it's a MBP issue, but occasionally the mouse seems to "get stuck" on the screen and I have to begin moving my finger again on the trackpad. This happened on the first MBP too.

  • How do I keep the little hair strands visible when blurring the background?

    I am trying to blur the background of a portrait, what's the easiest way to keep all the little hair strands in focus but keep the background blurred?
    M:)

    In Photoshop CS5, this can be done with great precision using the smart radius option in the Refine Edge dialog.
    In PSE, you can make a selection first using a soft brush around the hair. If the color of the hair doesn't vary much, you can also try using the Magic Selection brush.
    Regards,
    Chhaya

  • How can I delete the apps that run in the background in iOS 7

    HOw can I delete the apps running I the background in the new Ios7. Earlier all that I had to do was to press continuously and then could delete when the   Mark would appear. now I am unable to do it.
    AAlso, I am unable to save a photograph as a wall paper.

    Thanks so much. This solved my problem.
    Can you tell me how to save a photograph as a wall paper on the new IOS 7
    Thanks

  • HT201205 How do I close applications that are running in the background on iOS 7.0?

    I used to close apps that stayed open in the background by. Double clicking on the home button and the holding one the apps till a Red X came on how can I do the same on iOS 7?

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

  • Playing Videos in the background in IOS 6.1

    Since I updated to IOS 6.1, I cannot play the sound of a minimized video in the background. Does someone else also has that problem and how can I fix it?

    No, not Apple?  This is a public user forum and surely this was pointed out to you when you signed up to post in the forum?
    The highest software update for an iPhone 4s is 6.1.3 and that's it.  An iPhone 5 can be updated to 6.1.4, so the chances are that you friend in the US probably has either an iPhone 5 with 6.1.4 or is mistaken and has a 4s that has 6.1.3 on it.
    The highest for a 4s is 6.1.3 which you already have.

  • Can iCloud documents stay in sync in the background on iOS devices?

    Hi everyone.
    I've been using iCloud document syncing for a few years and now I feel a little bit puzzled.
    My DayOne app on iPhone & iPad only start downloading entries after I launch the app. Is it true that I have to open the app for iCloud documents to start syncing? Or is it supposed to sync in the background (periodically or pushed) and that I just do not get it work?
    The same goes for my Readdle Documents app. Everything starts syncing when the app is open and active. Is that the way iCloud document should work?
    (I am running iOS 7.1 on iPhone 5 & iPad 3, OS X 10.9.2 on MBA 2013; iCloud documents set to ACTIVE on all devices; background apps are all turned ON for both iPhone & iPad.)
    Thanks.
    -Teng

    Many thanks to @randers4
    Just can't believe Apple do not sync docs in the background (still do not after 3 years)

  • Is there anyway to play video from camera roll iphone 4 in the background with ios 7?

    Hi . I updated my iphone 4 with the IOS 7 today. Well i contained a lot of videos in my camera roll which i love to listen to, because they r not the internet. Well, i used to be able to play these videos from the camera roll in the background or with a locked screen, but now I can't with the IOS 7 . I dont know if i can or cant with the IOS 7 because im confused on how to use. Anyway please help me asap.

    Download the free app Oplayer lite in appstore and you can play videos in that app in lock screen too.

  • I am wondering when is the update for ios 7 is going to come out for the ipod touch 5gen

    when is the ios 7 update is going to come out for ipod touch

    Surprisingly on the same day - Sep. 18th.

  • Synaptics touchpad blocked & delay when using the keyboard in Windows 8.1

    Sometimes (possibly when I use the keyboard and then quickly attempt to move the mouse arrow on the screen with the Synaptics touchpad), I am unable to move the cursor for a half of second-or-so.
    Sometimes I cannot tap to click, maybe, few seconds (it is very annoying).
    There are some Mouse and touchpad settings in Windows 8.1 ("To prevent the cursor from accidentally moving while you type, change the delay before clicks work") which I set to "No Delay (always on)" but it does not work, either.
     I also checked the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre​ntVersion\PrecisionTouchPad
    but "AAPThreshold" is set correctly to 0 (No delay).
    But I still experiences problems and touchpad does not work while typing and sometimes also few moments after.
    Using HP Zbook 14, Win 8.1 x64, Synaptics driver 17.0.18.23.

    Hi,
    If you trying connect two Universal apps through Bluetooth, can you check if the
    Windows 8.1 Bluetooth RFComm sample runs fine on both the devices? I successfully tested the Windows 8.1 Bluetooth RFComm sample on Laptop (Windows 8.1) and Windows Phone 8.1 (paired).
    Make sure the service which you are trying to advertise/listen is supported by both the devices. 
    -Sagar

  • Why is there an odd delay when invoking the task switcher w/"Reduce motion" off?

    Sometime after updating to iOS 7.1 (and 7.1.1), I noticed that when I double-clicked the home button in order to invoke the task switcher (and when I pressed on an app preview or icon in order to switch to it), that there was a 2-3 second delay before the task switcher actually appears (or I switch to the chosen app). What is doubly strange is that if I turn "reduce motion" to OFF in Settings > Accessibility, the delay goes away.
    To make matters worse, a friend of mine with an "iPad 3" (i.e. the first iPad with a retina display) tells me that he does not see the delay. I've restored the iPad and set it up as a new iPad, yet the delay does not disappear.
    Has anyone else observed this problem?

    I see this problem as well. 
    There is a 2-second delay from when I hit the HOME button twice on my iPAD 2 before any of the open Apps appear. 
    There is also a lag when selecting some settings (ex. Wallpapers & Brightness ... about 2-3 seconds after I make the selection).
    My Settings -> General -> Accessibility -> Reduce Motion is set to ON as well.

  • When useing Adobe Flash in for example youtube. The player will get more and more delays when using the player tools untill firefox freezes for about 10 sec.

    After freezing the player's delay will be reset to 0. I can replicate this "crash" by just moving my mouse on the youtube progress bar and see the delay building up. This only happens when firefox is my main window.

    hello, there are some reports by users that comodo products might not work well with the protected mode for firefox that adobe has introduced in its flash plugin since version 11.3.
    http://forums.adobe.com/thread/1074253
    http://forums.comodo.com/empty-t85399.0.html
    please make sure that firefox.exe, plugin-container.exe and FlashPlayerPlugin_*.exe aren't blocked or sandboxed in any way by your security software or in case this doesn't work either try switching your AV provider (I'd recommend microsoft's security essentials, it is quite reliable and lightweight) or [https://support.mozilla.org/en-US/kb/flash-113-doesnt-load-video-firefox#w_solution-2-downgrade-flash downgrade to flash version 10.3].

  • How do you close apps running in the background in iOS 7?

    Do you know how to close apps in iOS 7?  In iOS 6 you held your finger on them and when the minus sign came up you closed them that way.  This saved the battery.  Now there is no way to close the apps once you close them and it runs the battery down rapidly. 

    To close out apps, simply double click the home button and instead of holding down the app icons and clicking on the X mark in older versions, you have to swipe the app window up and away.
    Also you can save on battery by turning of background app refresh from settings, as explained in this article .... http://nyacomputing.com/how-to-close-apps-in-ios-7-and-save-on-battery/

  • How do I close programs running in the background with iOS 7?

    Could someone please help me with this? Thanks!

    double tap the home button, then swipe up the apps that you want to close
    dante

  • When is the next release of ios 6.0.2 for ipod 4g? Ios 6.0.1 not pleasing

    When is the next update ios 6.0.2 available for ipod 4g? Any date?
    Cause i encounter apps crashing with a lot of space available (56.9 gb) and the longer i use my ipod 4g the more it is laggy, unresponsive and delay, then i need to restart or turn off then turn on, to be able to use my ipod 4g normal again (then after long run same situation) But before posting my concern in the apple support, i tried downgrading as a result, error. i tried resetting and putting 50% apps plus music plus video and it turns out the worst (what if 80%?). In my readings some people with 64gb ipod 4g encountered this too, some friends of mine who updated there ios into ios6 are encountering the same way. So i concluded ios 6.0.1 might be the problem. I apologize but i am waiting impatiently, the service of my ipod 4g, i am not very contented and disappointed.
    Please fix this issues on the upcoming update.
    I hope the update will be as soon as possible.

    There is no way to know such a thing unless Apple announces, which is rare.

Maybe you are looking for