Lag when another application is running in the background

Hello

IM, building an application with Flash which strongly relies on the transformation of 3DMatrix

My application runs smooth and hits a framerate of 30 frames per second, so this isn't the problem.

The problem is that when I switch to another application, Angry Birds for example, and then switch back, my application gets horrible lag.

The only thing that helps is to kill the other application that is running in the background.

I use Air 2.6, but the same thing happened when I was using the REIT

Did anyone here know how to solve this problem, or why this happens?

Thank you!

-Edit - it's on iPad

Hey there all,

If I had tried all week with 2.6 and thought I understood, but this discussion completely helped.

I had been cacheAsBitmap parameter to true for items in my screen and saw some gains performance - 20 fps at 27, my FPS is set to 30). the problem was that all the background apps caused late major development of animation during the test on the ipad. LOW quality setting back me at 30 fps (even 60 fps), but some of my rotated bimtaps suffered in Visual quality.

I just went back inside and cacheAsBitmap set to false for all the items on the screen that I have tested and while the performance returned to 20 fps max, it is very regular and don't lag when other applications are in the background. I noticed that even if I only hide the context item, I start to see stuttering if there are background running applications.

It seems as if you are not dynamically bitmaps, and you use just bitmaps, then by setting quality step to LOW and not cached anything (no cacheAsBitmap or cacheAsBitmapMatrix) you can get a solid 60 fps without lag, even when there is background applications.

you will see also much faster additions of items to the list of display when caching is not enabled.

for 3d, is the only thing I can think is that you cannot forcibly turn off cachAsBitmap, then you could try making it to an another bitmap and use this new bitmap to the screen. I think that as long as you don't add all cached items to the display list, you can see the performance you want.

Tags: Adobe AIR

Similar Questions

  • Firefox does not start because he says that it's another instance that runs in the background, but I checked and it is not a!

    Firefox does not start because he says that it's another instance that runs in the background, but I checked and it is not a! I have Linux Fedora 15 and I'm not the root. I spoke to the Manager and he said I should delete a file in the folder where firefox is installed and which can solve the problem. Can you help me?

    Thanks, Marius
    

    Upgrade your browser Firefox 8 and check

  • Application that runs in the background

    Hello

    I have an application which auto runs on the boot device. Currently, the application runs in the background.

    The application is supposed to display a popup to the user screen whenever they capture an image using the native camera application. In the popup screen is a textfield where the user can enter a tag for the captured image.

    The problem is after I have capture an image, I don't see the pop-up screen. Only when I get the app I see the pop-up screen. So, how to display the popup screen without having to enter in my application?

    Any help is very appreciated!

    Thank you

    Saket

    You can use requestForeground to bring your application to the top.

    Another option would be a global popupscreen.

  • Disable the GPS application that runs in the background after a while

    Hello

    I develop application GPS, who will be running in the background. I want to disable the request after a certain period of intervals & then activate automatically after a certain time... I just want to know is possible, if so, how it is...?

    A code example would be a great help...

    How can I use my GUI application in the background...?

    I suspect that you ask for the location provider until the Blackberry OS has initialized, then it is you say there is not one.  I think you need to stall until the OS is ready.  This article should help.  Other related articles from starting up in the KB that could also help.

    How - to detect the availability of the system at boot
    Article number: DB-00642
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_to_-_Detec...

  • TouchEvent injection application that runs in the background

    Hello

    I have a problem with the injection of TouchEvent.CLICK and TouchEvent.UNCLICK from an application that is in the background at the time of the injection. If my application is in the foreground, everything works fine. My logs, I see that the injection goes smoothly, but there is no effect on the foreground app. KeyEvent injection works as expected when it is injected background or foreground.

    Tested on Simulator 9550 and 9700 device, the two OS 5.0, also compiled for OS 5.0.

    Is this expected behavior? Is there a solution?

    Thank you very much

    Eva Rezkova

    Hello

    Finally, I found the solution. So far I inject me like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    It works well in my own application and in the situations I have described before.

    It works as expected if I inject the event like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.DOWN, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UP, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    Thank you much for the help.

    Eva Rezkova

  • I want an application that runs in the background while I 'back' menu Chick, how do

    I didn't quit, I just want the application runs in the background while I 'back' menu Chick, how?

    You can use the Application.requestBackground method.

    See the following post:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=19444&query.ID=79...

  • Adobe AIR iOS app is not running in the background

    I have an iOS with Adobe AIR application. It does not in the background even if I did the following things that I can think of,

    1 NativeApplication.nativeApplication.executeInBackground = true;

    It's the first thing I did. I got another application that runs in the background without problem, and it's the only thing I know that I used there.

    2. experienced with direct < renderMode > < / renderMode >, < renderMode > gpu < / renderMode > and < renderMode > auto < / renderMode >. None worked.

    3 added,

    < key > UIBackgroundModes < / key >

    < table >

    Audio < string > < / string >

    < / array >

    Does not work either.

    Whenever I pass the app at bottom, no matter how short time, it always starts at the beginning when put in the back. The only exception is when I take a phone call, in which case it seems to continue where it left off. Is someone can you please tell me what is happening? Is there still hope for me? Thanks to a bouquet.

    BTW, the same app packaged for Android has no problem running in the background, and I didn't do anything to turn it on.

    I forgot to update here once I found the problem.

    There's a UIApplicationExitsOnSuspend key that was for some reason the true value in my application.xml file.

  • Application of webworks continues to run in the background

    To the best of my understanding from what I've read, it seems that a Blackberry Webworks application stops running in the background. If this is true, is there a way to make a request of webworks continue to operate even in the background?

    Thank you very much for your time.

    Hi bigjavajoe,

    BlackBerry WebWorks appc continues to run in the background (for smartphone, for playbook depends on parameters of the device).

  • How should I detect the application runs in the background?

    Hello friends,

    I use 2 statement to run the application in forground and background.

    UiApplication.getUiApplication () .requestBackground ();
    UiApplication.getUiApplication () .requestForeground ();

    I need to check my application is running in the background or forground? someone help me how should I detect that my application in what state?

    {if (condition)}

    System.out.prinltn ("application run in Background");

    }

    Else if (condition111) {}

    System.out.prinltn ("application in the foreground");

    }

    What is this condition? and condition111? Please help me with this...

    Thank you and best regards,

    Ajay Patil.

    Hello

    With the help of UiApplication.getUiApplication () .isForeground (); You should be able to determine if the application is in the foreground. Hope that helps.

  • Stop the App from running in the background

    Hi all

    Anyone know how to stop an application from running in the background when you press the END key?

    Normally, if the user has pressed the end key the app will will then in the background but not stop running.

    Thanks in advance

    guys I solved this problem using the method the Application getProcessId()

    Thanks for your response

  • A method that runs when an application is called in the foreground?

    Just back to Java after a year of Action Script only and trying of don't forget do not put "var" in front of my variables. In any case, I remember to do that just do not remember how. My application runs in the background, how do I run a power supply... uh... method every time that the application is in the foreground? I use a right headphone?

    Yes, that's correct.

  • Activity monitor close unexpectedly when running in the background on the left

    Recently upgraded to Mac OS Sierra and Activity Monitor to close unexpectedly when running back plan left (do not smoke and open the activity monitor window) to a blank desktop when you use an application in another office. Clean install I tried but the activity monitor would still be down at random times when left running in the background to another empty office. Someone at - there experience this problem? For most browsing on the web using Safari on another desktop computer when Activity Monitor quit unexpectedly.

    Activity monitor also using a lot of energy since the upgrade?

    Any help would be appreciated. Thank you.

    Model: MacBook Pro (retina, 13 inches, early 2015)

    OS: macOS Sierra: 10.12 (installed via the upgrade, own installed after this problem).

    Do not forget that you are using the activity monitor version which was installed when you upgraded to Sierra. Activity monitor located in the your Mac utilities folder.

    If you have moved a previous version to a different location, it will not work.

    If you are using the correct version, post crash report. Error reports lies in the application of the Console under System reports or reports from usersand end in the suffix .crash. If you choose to do so, omit or hide any information that you consider personal.

  • my windows says that another computer is running in the same network with the same ip address, please contact

    Today morning when I opened my samsung mini, it displays a message that another computer is running on the same network with the same ip address please find a solution for this

    In most home networks where multiple devices are connected to a router, router will assign an IP address to each device (via DHCP). This method keeps usually different devices to get the same IP address, but if you restart your router, it will not address remembered that he released before it was restarted.  This condition can also occur if you manually assigned an IP address to a device located in the router's DHCP range.  If the problem is not due to manually assign an IP address, then this condition will be corrected over time.  But if you're in a hurry, you can unplug your router from the wall and stop all computing devices on it.  Then plug the router back in and bring up all your devices again one by one.

    HTH,

    JW

  • Cannot open outlook express on windows xp pro, error message is impossible began another version is running on the system

    It started when could not send email with pictures, I can't even delete the email then after outlook express does not open. The error I got is outlook express could not be started another version is running on the system

    Before attempting to open OE, right-click on the taskbar and open the Task Manager and check that there is no mention of OE or MSOE in the running processes. If it's OK, try a new Folders.dbx file.

    MSIMN. EXE is the real process of OE

    Steve

  • When I close thunderbird is still running in the background and always using data?

    I'm with an internet provider that has limited use of data per month. If I close Thunderbird when done using it it is still running in the background and using the data or is it closed here for not to retrieve messages or using the data?

    When you close Thunderbird, it cannot check or retrieve new messages.
    Not sure what you mean with "always running in the background.
    When you close Thunderbird is closed. Period.

Maybe you are looking for