ALT return switch application problem

Hello

I have problems with a claim on the toolbar to switch application Alt + return. I use a 8900 with v.5.0.0.592 device and the problem arises as well when the tests run in the emulator.

The question is this. I have a few requirements of the carrier that makes us stop the sound application when the switch application bar pops up (after pressing alt + key at the same time):

In previous firmwares (v4.6 who were the original for the 8900 device), when you perform this action, an event is initiated by the Application, so you can manage with the eventOccurred method (as the main class has an added GlobalEventListener).

However, in this Application switch firmware don't lance not any event, and even no event is run when the application is in the background.

You have a way to detect that the application Alt menu + back switch jumped upward?

I also tried to detect this event in keyListener, but the KeyStatus method that recognizes the alt key does not detect let us when the levels of alt is held, just at the time when it has been activated at the same time.

Thanks in advance.

Kind regards

Fabian

Don't bother to intercept keys - there are three or four ways how a user can call the selector of the task (for example, ALT + ESC, press long the Application Switch menu item Menu key to name a few). Just follow standard practices proposed by previous posters and detect whether your application is no longer in the foreground (the events Application.activate/deactivate, Application.isForeground polling stations) or if your audio playback screen is hidden or invisible (Screen.onObscrured/onVisibilityChange events).

Tags: BlackBerry Developers

Similar Questions

  • Problem of the blackBerry Smartphones switching Applications

    Hi all.  I am new to BB in general... but I can say that I wonder why it took me so long to convert!

    Here's my problem... When you press and hold the menu button, it gives you the opportunity to switch applications (home page, Messenger, phone, messages, application Center, browser, etc.).  Well all links put me to the proper place, except the center application.  When I select it, nothing happens.  The "application switching" screen disappears and I go to fullscreen I was looking at previously.  I just want that he take me to the center of the Application when selecting it.  Please help and thanks in advance!

    Note: I tried already to take out the battery and it does not solve the problem.

    OK, I got the problem!  It is not at all a difficult solution, and apparently, many users have this same problem

    Go to the center of the Application, press the Menu key and uncheck the box/deselect 'Auto Refresh List'.  Second, you must remove the battery while the phone is still on and keep it removed for 30 seconds.  Turn back on him and Viola... it will be deleted.  Make sure that the list of auto-refresh is always disabled in the Application Center.

    I guess that the reason why it didn't disappear is in the first place because of the automatic refresh running in background.  But when the setting is deselected, just restart the phone will not remove it.  The battery had to be removed for the phone to restart completely.

  • List of switching applications

    Hi, I already asked about it here, but he wasn't real solution for my problem.

    So I try once more...

    I want to add a feature to my app, hidden in list of applications switching (Alt + ESC).

    I have the following code:

     public boolean keyChar(char key, int status, int time)
        {
            if(Application.getApplication().isForeground())
            {
                Application.getApplication().requestBackground();
                //Do something to remove from switch application list.
                return false;
            }
        }
    

    Can someone help me with the commented line?

    Thank you!

    Just add to your class that extends UiApplication

    protected boolean acceptsForeground() {}

    Returns false;

    }

  • How to stop pop-up screen 'See the keyboard, Switch Application, full Menu'?

    Hi all

    I always get this pop-up screen when switching from one screen to the other. I don't know what is the reason for the pop up screen and how to stop it. If you have encountered this problem before and know how to deal with it please give me help.

    The pop-up screen contains the following choices:

    Display the keyboard

    Switch application

    Full menu

    Thank you very much for your help!

    I found the solution to this problem here http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=10933

  • See the two icons of the application in the "Switch Application".

    When I train following the steps in my application I get two icons of the application Ribbon switch application.

    Steps to follow:

    -Application launched
    -Left the application using System.exit (0)

    -Select "Switch Application" of the menu "device"

    After completing these steps when I try to run the application from the application switch, isn't launching.

    If I went out without System.exit (0) and repeat the two processes above times then get two icons in the "Switch Application".

    I found the solution:

    I solved this problem using method

    protected boolean acceptsForeground() {}

    }

  • How to upgrade the Switch application icon

    Hello

    I'm working on a UiApplication in Java that runs in the background all the time.  I need support the 7290, some 8,000 s and the "BOLD".  The screen resolution is very different between the 7290 and "BOLD" and the icon that looks good on the 7290 seems jerky on the "BOLD". And the icon that seems good on the "BOLD" is not full screen on the 7290, and we know, that there is a problem.  So, I followed the information contained in these two links to update my icon based on that screen resolution that we, to make my icon looks good no matter what device has a user.

    BB in Knowledge Center article - how to set an icon of overview

    BB Forum of Discussion on the overview icon

    Now on the 7290, I use an icon of size 32 x 32 pixels and on the "BOLD", I use an icon of size 64 x 64 pixels.  I know that 64 x 64 is not the recommended size for the "BOLD"... and it looks better for what I do.

    OK, so to enter some details, I have a main entry point, which has an icon associated with it (which is the icon that I have 'default', you can tell).  And it's the icon of my startup code updates (via HomeScreen.updateIcon (getHomeScreenIcon (), 0) and is what you see in the Applications folder (or on the main Menu, depending on what device, of course).)  And on the menu, when you click this icon, it brings my application in the foreground and here we go. It works just as advertised and is great.  I have the icon on the right showing on the right screen resolutions.  No problem.

    Is then where I run into trouble.  I have another point of entry, who calls my startup code and gets my application running in the background.  It has an associated icon also (once again just the icon I want 'default' before I can get the Update icon.  It is the icon that can be found on the Ribbon for switching applications (when the user presses ctrl-esc).

    And once again, in my startup code, I try to use - HomeScreen.updateIcon (getHomeScreenIcon (), 3); -Please note the different entry point number that corresponds to this entry point.  I checked the CAP file to determine the correct entry point number and this update still does not take effect.  I also tried each number from 1 to 5, no chance.  I can't get this icon to update.

    How to upgrade the icon that appears on the Ribbon for switching applications?  And if I can't be updated for a reason, how can I specify a different icon for different screen resolutions?

    Thank you, Tara

    PS. I use JDE 4.1.0.185, simulators and devices of 7290, 8100, 8300, 9000 (Bold).

    The issue of the HomeScreen.updateIcon do not update the icon displayed in the application of task switch has been resolved in BlackBerry handheld software version 4.7.0.  The only work-around from earlier versions is to have several versions of the application that are built with different application icons.

  • Hide the icon of the application of the switch application

    Hello

    I want to ask you if anyone knows how to hide the icon from the application of the Switch Application, the sample called FolderListener of Developer Lab have this kind behavior, I didn't know how to do this on my own application

    Thank you

    In this case make an application Autostart background that will be pushed to the user since the Blackberry Enterprise Server (BES) devices.

    Please note that it can be done in Blackberry Enterprise Server BES administrator.

    If your application will be installed in another way - there are problems with the permissions. For the applications installed by default it is not allowed to access the internet or send data to the outside. But on BES - BES admin can configure permissions for the push application.

  • application problem "Chameleon Bob" in Firefox 29, help

    application problem "Chameleon Bob" in Firefox 29, very small line
    Help...

    I think you are talking about the Chameleon Bob toolbar?

    You can remove all the unwanted extensions by going to

    > Modules > Extensions

  • Switching applications during the presentation on a separate screen

    Hello

    No help available here would be much appreciated.

    I have the Mac connected to a video projector. Under system preferences / poster I have the 'mirror' screen of the Mac projector.

    I have two applications using the screen of the Mac: a spreadsheet (in mode full screen) and a Keynote presentation. I wish I could choose what is shown on the projector - the spreadsheet or Keynote presentation - and * easily * switch between the two.

    I'm having difficulties in reaching this goal. When I "play" the Keynote presentation, Keynote seems to get their hands on everything: the projector becomes 'Display format' and the Mac screen display "presenter". If, during the presentation, I need to momentarily display the worksheet on the projector, I leave the presentation of Keynote ("ESC") and to the spreadsheet on the Mac (the spreadsheet now displays on the projector). On the way back, I have to switch applications on the Mac, then press 'Play' on the Keynote presentation (the projector display now the presentation again).

    All this is fine except that it is long. It significantly breaks the tempo of the presentation session, the public gets distracted by what I do on the computer, and the emphasis is more.

    Ideally I would be able to spend what is shown on the projector (presentation of the worksheet for the presentation) with one or two at most, mouse clicks. I thought that I could do it by changing just the applications on the Mac, but, unfortunately, when the speech is 'Play' there is no way to access the docking station to change application.

    Does anyone know of a combination of Options of setting display, number of jobs defined on the Mac, the Keynote presentation options,..., which would allow this switch quick and easy?

    Thanks in advance.

    Use the application Switcher: the keyboard command is: command tab

  • my right alt key switches eng/kor to Korean ime

    my right alt key switches eng/kor to Korean ime

    I also tried something with regedit.exe I saw somewhere
    and I changed my Korean keyboard 101/103
    Help me

    Hello

    What is the brand and model of the keyboard?
    You can visit the following links and check if it works:
    Keyboard shortcuts
     
    Add or change an input language
     
    Change your keyboard type
  • my computer recently crashed and when I tried to use photoshop, then I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    My computer recently crashed. A fixed it but! When I then tried to use photoshop I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    Update or restore your graphics driver.

  • Problem with default system menu item "Switch Application"

    I used the system menu item in my app screen. If I select 'Application Switch', I noticed that my app icon becomes empty. The problem doesn't stop here. If I go back to the home screen and in all cases, my icon of gets too empty.

    The system has lost somehow, the application icon.

    Anyone see this problem and suggestions on how to fix?

    Version of Blackberry 6, 9800 Simulator.

    Thank you

    Sherry

    So you see your application autostart - unless it is enforcement, not UiApplication. Also focus on the method of Application.acceptsForeground - you might want to tinker with it.

    Check all the icons in the 'Application Switch' strip - it will be your main application with an icon as well.

  • By clicking several times for switching Applications and other problems of Click

    I would like to know when it started, because then maybe I could narrow it down. I have actually some problems, but I strongly suspect that they are related. I do not think that this started immediately when I upgraded to El Capitan, but I can't say when it started.

    1. If I Mail to Safari and I click on Safari to bring it forward, nothing happens. If I click a second time, then Safari comes forward. The problem is not limited to these two requests. Maps, Finder, TextEdit and others do, but it doesn't happen in all cases. For example, if I click on a TextEdit window it before now, but if TextEdit is in front, the other application is not until the second click.

    2. If I double-click a file or application in the Finder, it tries to open the point three times. This usually results in two dialog boxes telling me that the application cannot be opened because the third opens.

    3. I have my user folder and disk in my dock to quickly navigate to a specific folder using the grid. However, when I click on an item in the grid, the icon blinks but nothing happens and the view disappears, won't let me choose something or drilling to the location I wanted.

    What I tried

    A different user account - another user account, all right. It tells me that the problem is at my user account level and not at the level of the system. It's good, almost.

    Connection with the elements of wide opening (SHIFT key is pressed) - This resulted in no change in the above problems.

    Watch the Console - I ran the Console to see if all the messages when problems occurred. Zip fastening. Zilch. Nada.

    What I think

    I am sure that this is a problem with an article by third party due to the fact that it happens to other users on the same computer, but since this is not an element of connection, so I'm stumped on how to refine the problem down to find the cause.

    Does anyone have any suggestions?

    Okay i ' l jump to... Maybe you're more think it is a little. Have you tried another mouse or trackpad, then a reboot before going too far into other possible problems?

  • < alt > < tab > switching does not not in ACR

    Hello

    I recently encountered a problem trying to pass the cab to a different application/Office using the standard < alt > < tab > combination of key race.

    When I try this, icons for all open application (+ office) appear correctly in the usual area.  However, when I select an application and release the keys, it jumps to ACR.

    When I get dumped in ACR, the Open Image, OK and Cancel buttons are missing.  A simple click on the window back in focus, and the buttons reappear.

    The alt - tab combination works very well in the PS, LR and other applications.

    Aero switching < start > < tab > fails as < alt > < tab >.

    I've recently updated to the latest versions of CC of the bridge and Psalm

    Any thoughts?

    Thanks, Jono

    Windows 7, 64 bit.

    There is another cab on this forum thread: ACR 8.7 always in the foregound. Reported it "occurs only in mode full screen. Normal mode works as usual. "Do you feel the problem during ACR is not full screen mode?

  • How can I Alt - Tab between Application Windows even?

    Chromebook/Windows/Linux I can alt tab between the application windows, but on mac, I can only switch between the applications themselves.

    Is there a way I can do so that I can alt tab between chrome windows?

    Thank you

    ADIN

    ADIN,

    Try (⌘ + ~).

Maybe you are looking for