Minimize the application event.

Hello dear developers.

As up to now, I have another question regarding application development.

When I drag to minimize application and tap it to restore full screen - events that are accountable? I can't find...

BlackBerry Tablet OS 1.0.7, that was released this morning of 19 July 2011, there are ways to determine relieably the State of the application or window is.

There are 2 States of different applications

1 assets

2. turn off

Applications window has 3 States

1. full screen

2 miniature

3 hidden

It is important to understand that the query shows don't get maps not always directly to the window of its States.

This is the race to the bottom of what the average window States.

Normal

Your application window is full screen on the device and is active.

Vignette

Your application window has been thumbnailed. That would happen if the user crept upward from the bottom to reduce the application or we slide left and right to switch between applications.

Hidden

Your application window is not visible on the screen at all. This usually means that there is another application that is full screen.

Here's what the code looks like that will allow you to listen to different State on a window changes.


        var win:IowWindow = IowWindow.getAirWindow();
        win.addEventListener(IowWindowEvent.WINDOW_STATE_CHANGED, stateChanged );

        function stateChanged(event:IowWindowEvent):void
        {
            switch( win.state )
            {
                case IowWindowState.NORMAL:
                    trace( "app is full screen" );
                    break;
                case IowWindowState.THUMBNAIL:
                    trace( "app is minimized" );
                    break;
                case IowWindowState.HIDDEN:
                    trace( "app is hidden" );
                    break;
            }
        }

2 important things to note.

1 this update does not require an SDK Update and works in 1.0.7.

2. it works through window in an application and your main window and the window on the screen HDMI aura of States, if you're not in mirror mode.

Hope this helps

Tags: BlackBerry Developers

Similar Questions

  • The application has failed to start because its side-by-side configuration is incorrect. See the application event log or use the command-line sxstrace.exe for more details

    Hello

    I can t open Google Earth or Microsoft Office programs because I get this message - the application could not start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details.

    A few days ago I could open all what programs. I put t know what is the problem.

    I did sxstrace and that's what I have-

    =================
    Launch the activation context generation.
    Input parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US; en
    ManifestPath = C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe
    AssemblyDirectory = C:\Program Files (x 86) \Google\Google Earth\client\
    Application configuration file =
    -----------------
    INFO: File analysis shows C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe.
    INFO: Manifest definition identity is (null).
    INFO: Reference: Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053"
    INFO: Resolving reference Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    INFO: No found publisher policy.
    INFO: No redirect political connection is found.
    INFO: Start the detection of assembly.
    INFO: Can't find the assembly in WinSxS.
    NEWS: Try to detect manifest to C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
    INFO: Found no manifesto for the neutral culture.
    INFO: End detection of assembly.
    INFO: Resolving reference for ProcessorArchitecture x 86.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    NEWS: Control strategy of the Publisher C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_517247830f45081d.manifest
    INFO: Start the detection of assembly.
    INFO: End detection of assembly.
    ERROR: Activation context generation failed.
    End activation context generation.

    Help, please!

    This type of error can be caused if the Visual C++ library runtime components are missing or because of a third-party software.

    Follow the steps below:
     
    Method 1:
    If the problem is caused by the lack of Visual C++ libraries, you can download and install the Runtime components of Visual C++ libraries from the link below:
     
    This error can occur when the Microsoft .NET Framework installation on the computer is damaged or is missing.

    Try it out below step to reinstall and repair installation of Microsoft .NET Framework on the computer, then check if you can install the software.

    (a) click the Start button, select Control Panel, click programs and then click on 'Turn Windows has or not.' If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) search for Microsoft .NET framework 3.5.1 uncheck, click OK and restart the computer.

    (c) after the reboot, open again "Turn Windows features on or off" and place a check next to Microsoft .NET framework 3.5.1 and restart the computer.

    Step 2

    If the previous step fails, then I suggest that you manually download and install Microsoft Visual C++ 2005 and 2008 Redistributable Package and check to see if you can install the software.

    In programs and features, you do not show that you have installed Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2008 Redistributable? If this is not the case, download the links here.
     
    Package redistributable Visual C++ 2005 (X 86)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
     
    Visual C++ 2005 (x 64) redistributable package manager
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=eb4ebe2d-33c0-4A47-9dd4-b9a6d7bd44da&displaylang=en

    Package redistributable Microsoft Visual C++ 2008 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Package redistributable Visual C++ 2008 SP1 (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    I hope this helps.

  • "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    I have QQ (an international chat program) installed on the laptop. Then my hard drive crashed. Now when I try to reinstall it on my new hard drive I get the following message:

    "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for details" -how can I solve this problem? I have Windows 7.

    Hello

    Thanks for choosing Microsoft Community to post your question.

    It seems that you can not install application QQ, you get an error: "the application could not start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    We're here to help and guide you in the right direction. This problem could be caused when the computer is missing the correct C++ run time for your type of system components. (x 86 or x 64).

    Here are a few troubleshooting steps that you can try to solve this problem.

    Method 1: we will install Microsoft Visual C++ for your computer package.

    Note: If you use the 32-bit operating system, download and install 32-bit edition(X86).

    If you use the 64-bit operating system, download and install edition(X64) 64-bit.

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 86)
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=bd512d9e-43c8-4655-81bf-9350143d5867

    Method 2: Run the fixit available at the following link.

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Also, check the event log using Event Viewer.

    Please see the link below for more information on how to use Event Viewer to check the error message or information,

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    If you have additional problems, please reply to this post and we will be happy to help you further.

  • WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    «WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.»

    This cams almost for all the applications that I try to open. I read all kinds of things to solve problems, but I can't install anything because it is constantly on the screen.

    I think it's like that because my computer shuts off when I was doing the system restore, because he has not started.

    I don't know what to do.

    Hello

     
    You can view the event log by using Event Viewer. See the link below for more information about how to use Event Viewer to check the error message or information,
     
    Please check the information in Event Viewer and let us know the problem more briefly for a better solution.
     

    Method 1:
    However, try the SFC (System File Checker) scan on the computer. Check out the following link to do the same thing:
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
     
    Method 2:
    You try to run the fixit given in the following link and check if it works:
  • To minimize the application (all windows)

    Hello

    I have an application that has more windows (W1, W2,..., Wn) where W1 called W2, W2 W3 calls and so forth (when Wn is open Wn-1 is not accessible). I want to minimize all the windows when the user minimizes Wn. How can I do this? I could use references to all previous windows and minimize the using invoke node, but I don't like this method. Is there another way to do this? Maybe on the application level?

    Thank you!

    Hello

    I have an application that has more than one front to open at the same time, it creates problems sometimes, for example when you 'alt - tab' through open windows in Windows.

    To minimize the façade of my Vi at the same time, there is a button on the main VI, when the user presses it, I use this (attached) VI to minimize all open the FP.

    I'm sorry, it is not documented, but fundamentally, it should be placed in the main VI of your app and go in the ref of the main VI, by operating, should I take the ref of the all the screws in memory that have their open minized, façade all the and old their ref in the table which is located in a register to offset then he expected the main VI to be opened by the user and then redisplays all another FP that have been opened.

    Hope this helps

  • Minimize the catch event

    Hello

    I would like to run some code when the user reduces a window, but there is no event in the structure of the event that catches to minimize the events. Any ideas how to do this?

    in fact there are:

  • How do I get output or close the application event?

    Hello

    Anyone know how to leave me or close application event? I have to call webservice in this event.

    The solution.

    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__application.html#setautoexi...

  • Toolbar system tray - minimize the application in the bar of

    original title: toolbar, system tray
     
    Hello, would you please recommend me a tool that minimizes only the application icon in the system tray of taskbar without minimizing the window of the application itself?
    I have a very important application that must be shown all the time and starts with windows so I can't reduce it as well as I want to disappear from the taskbar icon.
    would be nice also if if "found" tool can be applied underground for the selected application with windows startup, thanks in advance!
    OS: Windows 7 Starter

    This is not possible, unfortunately.  The program itself should facilitate this by signing up to his window class differently.  You will need to contact the developer of the program.

  • Security-SPP in the Application event log

    Hello


    Since we installed the Agent Mirage to the Windows application log is filled with entries 'Security-SPP.

    I stopped the Service of Mirage and the flooding event log stopped also.

    Any ideas why this happens? Or someone at - it same problem?

    Thanks for your help.


    Cordially Sébastien


    Hi Sebastian,.

    The client of Mirage periodically polls WMI for Windows license information.

    This WMI query triggers an event log message. Because the Mirage makes this request every X minutes, you have more of these events in the event log.

    However, this event log is a log of the information only events. Although it appears several times, it indicates no problem with your machine.

    We already have an open problem on this in our backlog for fixing this behavior, I hope that this correction will be introduced in future releases.

    Kind regards

    Tal

  • Extension of HTML5 that meets the application events?

    If anyone understood and, if so, how, an application, say Photoshop, can communicate with panels HTML5?

    Minimum documentation, I understand that for some events in the Panel, you can set up a reminder and thus receive data, but is it possible of each program install an eventlistener in the Panel that responds to events in Photohop, let's say opening a document?

    Or else, if there is no method to call a panel of photoshop and run javascript, similar to how applescript has a command "do javascript" in Safari?

    For the moment, I use the workaround solutions that include the server call, loading js with meta refresh etc etc files

    I did some research and found this solution to listen for events from Photoshop:

    Use the "ps_host_adapter - 2.0.js" ("eclipse\plugins\com.adobe.cside.html.libsinstaller_1.0.0.201307260955\archive\jsar-1.0\ release\cs_host_adapter-2.0.js"), place it in your 'lib' directory and also link to your index.html, " ", "

    so that events work, you must install the plugin 'PSHostAdapter.8li', copy it from here: "\eclipse\plugins\com.adobe.cside.html.libsinstaller_1.0.0.201307260955\archive\csadapter s-3.0\ps_host_adapter\" in your Photoshop plug-ins directory.

    After that in your just ext.js add an event listener:

    PSEventAdapter.getInstance () .addEventListener (PSEvent.OPEN, listener);

    You can find more explanations inside of the "ps_host_adapter - 2.0.js", on how to register for an event so stringId.

  • Who hide or minimize the applications on the touch screen for HP Photosmart 7525 printer?

    Although I might decide to use the apps I prefer not to look at whenever I print.  Is there a way to reduce or damp them?  They appeared after I pressed the calendar button during installation.  If I knew what would happen then, I would have avoided this button.  I know how to remove them completely.  This could be the final step.  Thank you

    Hi gdwalker100,

    I understand that you want to delete apps from your printer.  I regret that applications cannot be completely removed from the front of your printer.

  • Windows live mail does not work next to configuration settings are incorrect, how do I fix see the application event log

    tried to open windows live mail message came on the screen indicating next to configuration are incorrect how this can be corrected

    Hello

    The question you have posted is related to Windows Live Hotmail and would be better suited in the Windows Live Solution Center.

    Alternatively, you can try to uninstall and then reinstall the Windows Live Application.

    How to remove and reinstall Windows Live Essentials

    http://support.Microsoft.com/kb/938275

    Please visit the link below to find a community that will support what ask you

    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hope this information helps.

  • River: Getting the application event get the focus

    Hello

    Is it possible to listen to when any application gain focus IE get application details when he user starts?

    Thank you

    -----------------

    P.Ramkumar.

    I use Applicationmanager for this.

    Thank you

    ----------

    P.Ramkumar.

  • The Application has failed to start because this is the side by side configuration

    Hello everyone
    I have a problem with my windows 7 32 bit
    I can't run some programs!
    something to say:
    The application could not start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.
    I installed C++ 2008 and did not help
    can anyone help?

    None of these solved my problem. What I finally did changed the properties to have my photos open with a different program, because that's what my problem was, I couldn't open all the images. Previously, I had my photos open with Syncup, but now I see that I can not open this program. I still don't know why. But at least my photos open now. Thanks anyway.

    Figaro_1

    Hello

    If you cannot run some programs, then they could be in conflict with each other. As uninstall several programs at the same time see if it makes a difference?

    Minimize your startup programs and no windows services using msconfig, and consider also uninstall programs that you do not use or rarely use.

    To solve this problem, it is better to uninstall all the programs you have recently installed that might have caused the problem.

    There are many guides online (try Google) how to use sxstrace.exe tool to solve this problem.

    Hope that help the above!

  • Error - the application failed to start because its configuration side by side is not correct when you use Microsoft Safety Scanner

    Original title: microsoft security scanner is Guy accounts.

    It shows the following error - the application has failed to start because its side by side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details. can u please help?

    Hello

    You can uninstall all existing Microsoft Visual C++ Redistributable Package and install the latest Microsoft Visual C++ 2010 Redistributable Package and check if it helps.

    Method 1:

    Step 1: To uninstall the package:

    a. open programs and features.

    b. in the list, find the Package redistributable Microsoft Visual C++ and click on it.

    c. click on uninstall at the top of the list.

    Step 2: Download and install the latest package and see if it helps.

    Before you download, you can check am I running the 32-bit version or 64-bit Windows?

    For 32 bit: Download Details: Package redistributable Microsoft Visual C++ 2010 (x 86)

    For 64-bit: Download Details: Package redistributable Microsoft Visual C++ 2010 (x 64)

    Method 2:

    You can try to perform a clean boot and check if it helps.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    In addition, after you fix the problem, you can see step 7 above to restore your computer to a Normal startup mode.

Maybe you are looking for

  • Why the change of track information return?

    I always like to make sure that the songs on my computer have the correct information. I'm in my 'My music' folder and set the information in the properties for each song. When I do this, it is also changed in my wmp 11 library. A few hours later, al

  • My mails are in Arabic. How can I change to English?

    My account has been hacked.  I tried to come in and change my password that worked, but when I connect is is available in Arabic, not English.  How can I fix it?

  • Several errors at the start of Vista

    These are my mistakes immediately after the computer starts: IM32FAX. DIL not foundPrinter card Transfer Monitor has stopped workingInteractive Services dialog detection... Runtime error c:\windows\system32\spoolsv.exe...application asked to terminat

  • restore the orginial Administrator profile

    When connecting to my computer after putting my password in my profile is completely different and all my files are gone... It just seems that when I got to my computer... It invites at the bottom of the screen I use a default temporary cause that my

  • Is there a file where are stored the data pause & rewind live TV in Windows Media Center?

    Is there a file where are stored the data pause & rewind live TV in Windows Media Center? More to the point - how can I save the time shift buffer in WMC? I would like to know if it is possible to find the data that Windows Media Center is to store d