Allowing the Application Switch

After looking at a lot of post about how to remove the context menu item Application Switch, I have an application that doesn't show at all, and I want it to be displayed.

I have a great class called (summary btw) BaseScreen that overrides the makeContextMenu call method to the method of the superclass.

protected void makeMenu (menu Menu, for example int) {}

super.makeMenu (menu, for example);

}

My screens inherit from BaseScreen, and they also overrides this method and finally calling the super method

protected void makeMenu (menu Menu, for example int) {}

menu. Add (myMenuItem);

.....

super.makeMenu (menu, for example);

}

But I don't see that the menu item close. And want to support the Application Switch menu item.

If anyone have experienced this?

I work with 9000 "BOLD" (4.6) and Curve 8310 (4.5) and I see the same behavior.

Thank you

-f4

----

http://supportforums.BlackBerry.com/T5/Java-development/add-quot-switch-application-quot-menu-item-i...

If you look at the second post of MSohm, it says that the Application Switch menu item was introduced in 4.7. So you won't see it on the 9000 Bold and Curve 8310.

Tags: BlackBerry Developers

Similar Questions

  • How to prevent activation of the application switcher function the central button of the mouse

    I use a mouse third with a scroll wheel (button 3) as the central button of the mouse.  How can I prevent this activation of the application switcher function button?

    System Preferences > mouse allows you to assign actions to the buttons on the mouse. Some mice come with their own drivers/preferences.

  • An error has occurred all in allowing the application.

    Hello

    I get an error while allowing the application. error when clicking on the item menu new bc app. I tried both, the "Hello World" and the app "Meet the team" passed the conversion a few times. This is due to the beta and just State temporarily or I did something wrong?

    Dennis

    HI Dennis,

    Is your site administrator in a language other than English? We have a known issue (which will be fixed by the next release) with permissions app's fault if the admin of the site does not use English. The solution is to switch to English, allow the application and return to your language.

    Cristinel

  • Close application when the application switch menu item to invoke

    Hello, I made application for blackberry (os 5,6,7), but it has a strange behavior.

    When I press the switch application menu item, my request is close, so I can't get back to my application once I switched to another application.

    I have replace my onClose to be like this

    public boolean onClose()
    {
    This.Close ();
    Returns true;
    UiApplication.getUiApplication () .requestBackground ();
    getApplication () .requestBackground ();
    Returns true;
    }

    but the problem remains.

    Please help me solve this problem

    When you change your application, the close method is not pushed directly so I think that you look elsewhere this

    Try to use the Application Switch with an application example - say the sample HelloWorld application.  I think he won't, which suggests that the problem is in your application.

    There are three places to look:

    (a) the Application disable method is pressed when the request is sent to the background.  Maybe you have coded it and it closes the application

    (b) you have a certain type of background processing controls (isForeground()) and reacts according to what it finds.

    (c) in the method onObscured() to one of theFields/screen on the display at once.  .

    Other than that, I think you're looking for a general bug in your application.  The starting point is to look at the debugging log when you do this - look for anything from your application you consider odd.

  • Can manage us the Application Switch default menu item event?

    Hello

    I want to do a specific action on the Application Switch (supplied default OS) menu, click point, is it possible? If

    Yes, please tell me how?

    I searched a few listener to be implemented for this purpose, but found nothing.

    Note that I use BlackBerry API 4.3 to develop my application; But if you have any suggestions for superior versions can also provide us with.

    Thank you

    MINDUS

    OP has opened a new Thread with a similar, but more complete question.  I suggest that this discussion moves on this Thread.  See:

    http://supportforums.BlackBerry.com/T5/Java-development/can-we-handle-default-menu-key-click-for-SWI...

  • The Application Switch needs

    The process of submission of applications for AppWorld said they will check that your application has the Application Switch Menu item.  Is this just a requirement for 4.7 and Applications of the storm?  What about applications developed for 4.2.1?

    Thank you

    just in case someone is looking for the answer here:

    When in doubt, read messages from Mark Sohm. LMAO.

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

    his response: "this menu item has been added to the menus of applications in the terminal BlackBerry 4.6.1 third and highest software version.  It should not be included in lower versions. »

  • Windows 7 allows the application of compaction in the memory manager. If yes where can I find more information.

    Windows 7 allows the application of compaction in the memory manager.  If yes where can I find more information.

    Thank you

    Memory management is controlled automatically by Windows.  Do a search in Help and Support for compaction gives no results, so I think that the answer is no.  It is usually a good idea to reboot at least once a week to clean fragments that might be lingering around.  There is a defragmentation of your hard drive that you can schedule or manually run.

    Good luck.

  • Allow the application to start with one or multiple data sources, failing to connect?

    I have a Spring application that connects to several databases at the start, through JEE definitions referenced via JNDI datasource. Some of these databases sometimes go offline for various reasons. If the application is running at the time, it is not really dangerous, because of the way the application is designed. However, if I try to start the server if the database is offline, the application fails to deploy. Is it possible I can configure data sources not to block the deployment of the application if the database is offline or the application?

    Hello. You can ensure that your datasources WebLogic deployment, even if the DBMS (es)
    be down in time, specifying the initial capacity of each source of data/pool equal to zero.

  • 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() {}

    }

  • Order the application for blackBerry Smartphones switch

    I recently noticed that my 'Application Switch' command does not work. I always and already "press and held" the Blackberry icon, but the screen is displayed. I want to assure you that I don't have too many applications running at once. Help please? Thank you

    Press once on BB and chose the application switch, if that does not work then

    Try a battery pull if you please, with the BlackBerry device powered on, remove the battery 15 seconds and then reinsert the battery to reboot the device. This will clear all hide as restarting a PC. Then try again and see if the problem persists.

  • Dock icons have been removed, but appear in the Applications folder

    Hi, I ve had some problems with the dock icons. Since yesterday I can't see native IOS icons like finder, mail or launchpad. However, I checked my app folder and here they are with the same problem. No native applications as google chrome has had the same problem, but once I have check the option 'get info' allowing the application I have fixed the copy of the problem and paste the icon. When I try with native applications, I could not. I don't know if it's a virus or what, but my macBook takes longer to rise. You have the same problem? You have to be able to help me?

    In assuming that you already restarted your Mac, try the secure boot mode.

    Stop your Mac. Use the power button if you wish. Now start with the SHIFT key is pressed. This will start in Safe Mode, with all extensions turned off. Safe mode is slow to start, so give it time, it checks a lot of staff. If it works fine in Safe Mode, restart normally. If it works now, you are finished.

    If the problem comes back after a reboot, you have an extension conflict. Disable all extensions via system preferences. To isolate which extension is at fault, turn on an extension at the same time, restart in the meantime, until you find the bad Apple.

  • 4.7 deleting application Switch menu item

    Hi all.

    Recently, I tested my app on the simulator of the storm and was surprised to see a new menu item 'native' "Switch application" on my menus.
    Of course, there was the "Show keyboard" I love
    The thing is, I already replace makeMenu to remove native menu items as "Change the input language" but I can't seem to remove the application 'Switch '.
    Still more, if I put a breakpoint in makeMenu, the 'application Switch' and 'See the keyboard' are not present, so I can't delete them

    Manipulation of menu has changed since 4.5 or 4.6?
    How can I remove the 'Switch' application while leaving the "Show keyboard"?

    I'll answer myself:

    The 4.7 introduces another mask of menu option:

    Screen.NO_SYSTEM_MENU_ITEMS
    

    I am yet to discover all the consequences of its use, but id did remove the keyboard and the elements of the application menu.

  • Run the application with the admin rights

    Hello

    I am a network administrator and I have problems with an external application. While running the application does not require local administrator rights, the software does an automatic updates check when it is launched. There are updates once a week. If the application is launched without administrator rights, the software does not check. Our users do not have local administrator rights. The result is that the application gets overwhelmed and an administrator needs to log in order to to refresh.

    Here are the solutions I've tried so far:

    1. I ran the application using the command runas , which works, but is not practical as an administrator will have to provide the password every time.

    2. change the compatibility of the application to 'RUN as administrator'. I have disabled UAC to make this work, but the user must always supply a password. I could create a locked user who cannot log on to any machine, etc, etc, but this seems like a stupid solution. I might as well give all admin rights.

    3 to research more, I tried to use RunAsSpc (http://www.robotronic.de/runasspcEn.html). This seems to work well and did exactly what I'm looking for, but created two issues: no drives mapped and an access violation when printing that I won't have to worry about troubleshooting.

    I had to give all users local administrator rights until I have a solution. Is it possible to allow the application to do its updates without granting full administrator rights to the entire system? Any recommendations?

    Yes, let the program provider to build their program cleverly.  It is not going to be a solution to this.

    Otherwise, you will need to just have someone who has admin rights not login once a week and install the necessary updates.  A bit like Microsoft Office Update (requires an administrator to do so).

  • Disable application switcher

    Hello community,

    I wonder if it is possible to prevent the application switcher function arise when the user holds the menu key while my application is active.  I tried to intercept the menu key in keyRepeat (int keyCode, int time) but it didn't work.  Thank you in advance for your help!

    You can replace the uiapplication deactivate method and call requestForeground it.

  • Unable to return to the application: a UI - EUI: no face is detected

    Being on a specific in my application screen, when I use the application switcher function to switch to another application, I'm not able to go back to my request. The only output generated in the event log when you try to switch back is: a UI - EUI: no face is detected

    Here are the steps to reproduce the problem:

    1. I open my application (everything works fine)
    2. Switch to the application event log, using Application Switcher (assuming that the application event log is already open)
    3. clear the event log
    4. try to switch to my request, using Application Switcher->, after choosing my request, the application switcher function closes but I am still in the application event log
    5. refresh the event log
    6. the following output is generated: a UI - EUI: no face is detected

    The error only occurs on one modal screen, where I use a timer to display a countdown. What is the output "a UI - EUI: no face detected" mean? The cause of the problem would be that I'm using a timer or a modal screen?

    I'd appreciate any help!

    Only, I solved the problem. It had nothing to do with the output "EUI: no face detected '-j' have still not this release quite often for different applications. It seems to be a fairly common output.

    The question was on the screen, there's a single command, which results in a circular call (not obvious) to one of its own callers, which is of course very bad and ended in a ForcedStackTraceException. So it was simply not possible to return to the screen because the computer was tremendously busy (of course) until he was eventually suspended by the operating system.

    Thanks for the help anyway!

Maybe you are looking for