problem with menu items balackberry application

Hello:

I devlop a simple user interface with balckberry plugin for Eclipse I design the screen on 4 sectors I want to put 3 menu type in the first box of each menu will allow me to have a list of links.
like: menu 1: file - open

-close

menu 2: Edition - copy

-Paste

menu 3: help

Can you help me
NB: I'm using the user Application interface

Hello tntn,.

This video does a great job of application CostumManagers. I don't know your level of java, you will need to build this understanding.

http://www.BlackBerry.com/DevMediaLibrary/view.do?name=HowToExtendManager

If you look at the video below will be from. I hope.

I replaced,

Manager

_customfield = new CostumlField (text);

Screen

TEM. Add (new CostumField ("Blah Blah");

With,.

Manager

_customfield = new LabelField (text);

Screen

TEM. Add (new LabelField ("Blah Blah");

You are able to accomplish a lot with the CostomManagers.

Good luck

Brent

Tags: BlackBerry Developers

Similar Questions

  • How - add a menu item custom application BlackBerry

    I'm working on an application that creates a custom in various standard Blackberry applications menu item.
    On the platform of v4.2.1.72 8800 2.3.0.54 everything works fine all the Blackberry PIM application that the spectacle of my menu item mail application custom.

    When I load on platform 8330 v4.3.0.124 3.1.0.71 none of the custom menu to the top and on the OS of the Pearl Flip is v4.6.0.48 4.1.0.13 only e-mail and todo/tasks application view my custom menu others do not show my menu item.

    I tried to compile my app in the various versions of the JDE, but always the same question.

    Am I missing something for the new OS?  I followed the knowledge base article "how - to add a custom BlackBerry application menu item.

    I tested it on 8800 v4.5.0.52 platform 2.7.0.66 and Mail and Memo shows no custom menu item in Contacts, calendar and ToDo my custom menu appears.

    Thank you...

    BTW do you know if I can add menu browser and retrieve the content of the web page?

    No, this is not supported.

  • 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.

  • Still problems with Menu CS6

    Hi, I'm doing with the DVD of the first Pro files.

    After setting up the sequence imported from first pro and create playlists, I make the menu and link the files, then the generation of audit indicates that there is no problem.  However, when I run the preview the first game in the menu item will begin, and you can see it go through all the chapters of the first selection in the first few seconds and then made it back to the menu screen. I tried everything I can think of to solve the problem without success.  The second team will play correctly, however when you click on the icon of the end, he'll just stand there and not return to the menu.

    I hope someone has an answer.

    TKS

    A miserable

    I spend it on the forum yet.

  • State of the mouse with menu items that overlap control

    Hello

    I have a problem with the recovery of the location of the mouse using GetGraphCoordsFromPoint...

    I use the return status of GetGraphCoordsFromPoint to determine if the mouse cursor is over the plot of my graph control area (1) or not (0) to switch between styles of mouse (VAL_DEFAULT_CURSOR against VAL_CROSS_HAIR_CURSOR).

    It works in most cases...

    Above the Panel, there is a bar menu, located below is the xy graph. Now, if the mouse opens a menu and is the style of mouse on the menu (and also on the chart) depends on history of mouse:

    If the mouse has always been above the menu, it is not recognized by GetGraphCoordsFromPoint be loacted in the graph - which is what I would like to see, in this case of the style of the cursor is always the default style.

    Now, if the mouse leaves the menu for a short distance, the menu does not disappear (only if the mouse is to a greater distance) and acccordingly GetGraphCoordsFromPoint realizes that the mouse is over the chart. It is correct and as expected, too. (the style of the mouse is replaced by a sight then)

    Now, if I move the mouse over the menu, it is not recognized by GetGraphCoordsFromPoint, unfortunately, and the style of the mouse is not being in default.

    Am I missing something, or is there a way to fix this behavior? Styles different from the mouse on a menu is confusing for the user, and I would avoid it, of course

    Thank you...

    Hi Wolfgang,.

    It is not a very good way to work around this problem. As you found, Panel moving events are sent to the callback of the Committee even a menu is followed, and when you change the cursor of the mouse that it also affects any menu that can be active at a time.

    If the cursor changes do not at all while the menu is active, even if the user moves on the graph, there is a possible strategy don't mind you can pursue to remedy the situation. It consists of trying to detect if a menu is active, so that you do not change the cursor when the menu is active. Unfortunately, this is easier said than done. Although it is easy to be notified whenever a new menu is activated (via a menu drive recall) there is no right way to be notified when the menu disappears. And there are several ways in which it can disappear. So it is not possible to set an internal flag that tracks when the menu is active.

    However, it is possible to know if the menu is active at the time you receive the Panel move event (or in the timer tick event, although I'm not completely sure why you also use a timer). You can't do it with the UI CVI library, but you can, using the Windows SDK, in a way a little round point.

    The idea is to know which window is the top-level window. And if she is not the window of the Control Panel, then you should be able to assume that a menu is active and therefore refrain from changing the cursor. Note that you must also make sure that the active window belongs to your process, because there could be a number any other windows that might be the 'top' window at any time. But if it belongs to your process and it is not your Panel, then presumably it's the menu.

    I did a quick test with the following code and it seems to work, although you might want to test more thoroughly I did:

    topHwnd = GetTopWindow (NULL);
    GetWindowModuleFileName (topHwnd, topHwndModule, MAX_PATHNAME_LEN);

    GetPanelAttribute (Panel, ATTR_SYSTEM_WINDOW_HANDLE, (intptr_t *) & panelHwnd);
    GetWindowModuleFileName (panelHwnd, panelHwndModule, MAX_PATHNAME_LEN);

    If (! strcmp (topHwndModule, panelHwndModule) & panelHwnd! = topHwnd)
    return 0; do not change the cursor, unless the Panel is really on top

    Good luck

    Luis

  • Re: problem with menu drop-down lists.

    Hello everyone,

    I am facing a problem with the drop-down lists in my application, I have 4 drop-down lists one under the other. The main problem follows here, the second list is being covered by the first list when the first list fell down. How to get rid of it, any suggestions please,

    Thank you and happy new year.

    You must listen to the update and then change the order of objects.  Seems odd that RIM does not perform this themselves because it is a problem long been known.  A few other controls have similar problems.

    Community Library:

    import flash.events.Event;
        import flash.events.FocusEvent;
    
        import qnx.ui.listClasses.DropDown;
    
        public class DropDown extends qnx.ui.listClasses.DropDown
        {
            public var dataField : String = 'data';
            public var defaultSelection : * = '';
    
            /////////////////////////////////////////////////////////////////////////
            public function DropDown()
            {
                super();
                this.addEventListener(FocusEvent.FOCUS_IN, HasFocus );
            }
    
            ///////////////////////////////////////////////////////////////////////////
            private function HasFocus( event : Event ) : void
            {
                this.parent.setChildIndex( this, this.parent.numChildren-1 );
            }
    
            ////////////////////////////////////////////////////////////////////
            public function set selection( value : * ) : void
            {
                var entry   : Object;
                var counter : int = 0;
                for each( entry in this.dataProvider.data )
                {
                    if( entry[ this.dataField ] == value )
                    {
                        this.selectedIndex = counter;
                        break;
                    }
                    counter++;
                }
            }
    
            //////////////////////////////////////////////////////////////////////
            public function get selection() : *
            {
                return this.selectedItem ? this.selectedItem[ this.dataField ] : this.defaultSelection;
            }
        }
    
  • Major problems with multiple items of page on the web viewer since the last update

    In the last days, we had problems with all our multiple page items that are newly updated or added on the web viewer.

    Scrolling of pages just to repeat content again and again and true articles page see first pages content overlaid on all subsequent pages. It seems that something important broke in the way that the dps push articles to the webviewer, as is happening through fact sheets and articles. This means that we cannot publish anything until it's resolved.

    Someone knows something similar? Any suggestions?

    Hi Lucie,.

    Please contact support for assistance with this enterprise. They can investigate and open a support issue with if necessary engineering team. Contact information is available by logging into http://digitalpublishing.acrobat.com/ and looking at the Middle bottom of the screen.

    Neil

  • Problem with menu drop-down

    Hello

    I have just re skinned a friends site and I have a problem with the drop down menu on this page here:

    Please click here

    As you can see the 'description' field is set too far toward the bottom of the page and should be just below the title area "description."

    I would appreciate if someone could give me some pointers on what is happening and what I could do to solve this problem.

    Thanks in advance, Martin.

    Hi again,

    A slight change in the width of the text box did the trick, thank you Murray

    Best regards, Martin.

  • Web proxy settings are not configured correctly. Have problems with games and other applications.

    original title: apps do not correctly configured

    The default Outlook Express mail, The default Outlook in the Express News with the Internet Explorer Web Proxy are not configured correctly. Because I had problems with the game apps and stuff in my email address.

    Hello

    · You receive an error message or error code?

    You can access the links below:

    How Set Up Outlook Express - and http://support.microsoft.com/kb/2409264

    To configure the web proxy:

    HOW to: Configure Internet Explorer 6.0 as a Web Proxy Client in Windows 2000

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

  • Problem with menu in the rollover State on a single page

    On this website the overthrow of menu on this page only items not work "punishment". The reversal of menu links will work if pushed to the right. The reversal of the home menu will work when pushed to the left. Other menus do not work, even if I had a "flicker" to the menu Gallery 1. All bearings menu on all other pages work fine. I use Safari 6.0.1. It's pretty weird to me... What is happenng here?

    I thought about it. Widget slideshow frame was layered on top of menu items, invisibly covering all except the left and right - that's why the left menu very article - homepage, and one very good - links, sort of worked, because a few of them were not covered by the framework of slide show. I moved it down about 8 pixels to be just below the menu items. Now, they work very well! I could probably have arranged the chassis backwards to avoid move, but it works for me.

  • Problem with Menu of flight

    I use a tutorial to teach myself some Flash and help build a website for some of my design portfolio. Seems to have understood everything except this one problem that I've been mulling over for two weeks. The site features a flyout that is located in the middle of the page on the homepage and then moves to the upper right when, on other pages. It works very well for the first time you click on a page, but then as soon as you get home and try and start, it gets stuck in the middle of the page. You can see the Web site at www.sierrahuckins.com if you don't understand what I mean.

    I can't for the life of understand me why it gets stuck. I don't think that this is a problem with the coding because I already tried copying codes directly from the work files that the tutorial provided in case I had typed something. But I would add the scripts here so that you can see how it works.

    Any help or ideas of what could be causing this would be very appreciated.

    /////////////////////////////////////////////////////////////////////

    Configuration of the event.

    /////////////////////////////////////////////////////////////////////

    logo_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    home_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    mainMenu_mc.profile_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    mainMenu_mc.resume_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    mainMenu_mc.contact_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    mainMenu_mc.portfolio_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    mainMenu_mc.photography_btn.addEventListener (MouseEvent.CLICK, navigationClicked);

    /////////////////////////////////////////////////////////////////////

    The event handlers.

    /////////////////////////////////////////////////////////////////////

    function navigationClicked(Event:MouseEvent):void

    {

    We will use it to store the name of the image tag.

    var frmLabel:String = ";

    Determine that the image tag to use based on which

    button has been clicked.

    switch (Event.target)

    {

    case logo_btn:

    frmLabel = "home_frm";

    break;

    case home_btn:

    frmLabel = "home_frm";

    break;

    case mainMenu_mc.profile_btn:

    frmLabel = "profile_frm";

    break;

    case mainMenu_mc.resume_btn:

    frmLabel = "resume_frm";

    break;

    case mainMenu_mc.contact_btn:

    frmLabel = "contact_frm";

    break;

    case mainMenu_mc.portfolio_btn:

    frmLabel = "portfolio_frm";

    break;

    case mainMenu_mc.photography_btn:

    frmLabel = "photography_frm";

    break;

    }

    Find the chassis number according to our image tag.

    var frmGoto:Number = this.getFrame (frmLabel);

    Do nothing if we are already on the page you requested.

    If (currentFrame! = frmGoto)

    {

    Get and remember the homepage image number.

    var frmHome:Number = this.getFrame ("home_frm");

    If our requested page is the home page, the flyout

    We must return to the House.

    if(frmGoto == frmHome)

    {

    mainMenu_mc.goHome ();

    }

    Otherwise, if we are on the home page and as you leave, then

    leave the House.

    Another yew (currentFrame is frmHome)

    {

    mainMenu_mc.leaveHome ();

    }

    Go to the page you requested.

    gotoAndPlay (frmGoto);

    }

    }

    /////////////////////////////////////////////////////////////////////

    Helper functions.

    /////////////////////////////////////////////////////////////////////

    function getFrame(frameName:String):Number

    {

    var: picture number = 1;

    Loop through all image labels to find our frame requested.

    for (var i = 0; i < currentLabels.length; i ++)

    {

    If (currentLabels [i] .name is frameName)

    {

    Frame = .frame currentLabels [i];

    break;

    }

    }

    return the framework;

    }

    function getFrameLabel(frame:Number):String

    {

    var frmLabel:String = ";

    Loop through all image labels to find the requested image tag.

    for (var i = 0; i < currentLabels.length; i ++)

    {

    If (currentLabels [i] .frame is frame)

    {

    frmLabel = currentLabels [i] .name;

    break;

    }

    }

    Return frmLabel;

    }

    function getSequencedFrame(forward:Boolean):String

    {

    Used to hold the image of our page tag.

    var frmSequence:String = ";

    If we are looking for the next page in the order...

    If (Forward)

    {

    If our current page is the last page...

    If (currentFrame == This.getFrame ("photography_frm"))

    {

    ... then go home.

    frmSequence = "home_frm";

    }

    on the other

    {

    ... otherwise, we just need to go to the next section.

    frmSequence = this.getFrameLabel ((currentFrame + 1));

    }

    }

    ... otherwise, we are looking for the previous page in the order.

    on the other

    {

    If we are on the first page (remember, we skipped our home page)...

    If (currentFrame = this.getFrame ("home_frm") |)

    currentFrame is this.getFrame ("start_frm"))

    {

    then, go to the last page.

    frmSequence = "photography_frm";

    }

    on the other

    {

    ... otherwise, we just need to go to the previous image.

    frmSequence this.getFrameLabel ((currentFrame-1) =);

    }

    }

    Return frmSequence;

    }

    They and the timeline, they work, are the problem.  Your code is say things go and play to a frame, but surrounding him then tells of stop() when it happens... try:

    function goHome (): void
    {
    gotoAndPlay (21);
    }

    function leaveHome (): void
    {
    gotoAndPlay (2);
    }

  • Problem with Menu in application TabbedPane

    Hello

    I use TabbedPane for my application. I don't know how creat configuration page of the application menu. I tried to do the same here http://supportforums.blackberry.com/t5/Cascades-Development/Application-Menu/td-p/1971685 but it does not work

    Paste this into your main.qml, and this should help you get started.  The first action in the Application Menu will be "My card" and will open a sheet that says 'This is my stuff from sheet' and there will be a close button on the bottom.  Helps it helps.

    import bb.cascades 1.0
    
    TabbedPane {
        Menu.definition: MenuDefinition {
    
            // Specify the actions that should be included in the menu
            actions: [
                ActionItem {
                    title: "My Sheet"
                    // imageSource: ""
                    onTriggered: {
                        mysheet.open();
                    }
                },
                ActionItem {
                    title: "Settings"
                    // imageSource: ""
                    onTriggered: {
                        //
                    }
                },
                ActionItem {
                    title: "Info"
                    onTriggered: {
                        //
                    }
                }
            ] // end of actions list
        }
        attachedObjects: [
            Sheet {
                id: mysheet
                Page {
                    Container {
                        Label {
                            text: "This is my sheet stuff"
                        }
                    }
                    actions: [
                        ActionItem {
                            title: "Close"
                            ActionBar.placement: ActionBarPlacement.OnBar
                            onTriggered: {
                                mysheet.close();
                            }
                        }
                    ]
                }
            }
        ]
        showTabsOnActionBar: true
        Tab {
            title: qsTr("Tab 1")
            Page {
                id: tab1
            }
        }
        Tab {
            title: qsTr("Tab 2")
            Page {
                id: tab2
            }
        }
        Tab {
            title: qsTr("Tab 3")
            Page {
                id: tab3
            }
        }
    }
    

    Then for some additional help to do a 'Settings' page, you can read my tutorial on persistent memory and aliases: http://bbcascadescode.tumblr.com/post/35544384390/the-persistence-of-cascades-memory

    -Brian

  • I have a problem with any of the applications on the computer.

    I just bought a new HP laptop in December and it came with windows 8 is already installed and working fine until a day ago. None of the apps will launch when you click on it, it just throws me back to the start menu with all the tiles. I tried all that I found with still no luck on fixing the problem so if you know what whether that will fix it that would be great! I mean absolutely no applications work very please tell me not reinstall because the windows store still doesn't work...

    Check below link
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

  • problem with menu in the installation of the apex

    Hi all
    I downloaded the last Summit 4.2 and installed with oracle database 11 GR 1 material.
    But the problem is that I'm not able to find the application builder, sql Workspace menu
    which is to come in the menu apex.oracle.com demo.
    I want to know is there any problem in installation.
    I followed the docs of the apex for the installation and another thing is that the way to make the configuration of the http server for
    mod_plsql for example url pls/apex.


    Please give the details screen sorting or steps for apex 4.2 installation and mod_plsql http server (as shown in the documentation).

    extreme wrote:
    Hi all
    I downloaded the last Summit 4.2 and installed with oracle database 11 GR 1 material.
    But the problem is that I'm not able to find the application builder, sql Workspace menu
    which is to come in the menu apex.oracle.com demo.
    I want to know is there any problem in installation.

    You actually run the Application Builder? The application Builder icon missing What is the URL of the page?

    You are advised to complete the tutorial 2 day + Application Express Developer's Guide (if this isn't what you are already doing). See "setting your own Local environment upward" to learn how to create your own workspaces in which you use the Application Builder.

    I followed the docs of the apex for the installation and another thing is that the way to make the configuration of the http server for
    mod_plsql for example url pls/apex.

    You have actually installed OHS? It is not included with the TOP or 11g database. A default database/APEX facility using the EPG as the web server component.

    Please give the details screen sorting or steps for apex 4.2 installation and mod_plsql http server (as shown in the documentation).

    If you do not have SST installed, you must follow the instructions for the use of the EPG.

  • I have a problem with AS 3.0 application

    Hi, my name is Bryan, and I must say that I am new to actionscript 3

    Yesterday I learned a little more about her, directly to the point, I have make an iOS app using Flash CS6

    and everything looks good,

    I have my codes properly, and my back and next buttons stop working after that I'll go back to the previous scene

    OK, lets explain better, my application starts with an introduction, blah blah blah, then there's a menu with options,

    I hit the first "chapter in this case" and goes to a new framework, I hit next next etc. following without problem,

    but when I go back to the menu "chapter" and struck the first chapter, once again the next stop button works need help

    Here are my btns codes:

    import flash.events.MouseEvent;

    Stop();

    EventListeners

    back_btn.addEventListener (MouseEvent.CLICK, backFunc);

    menu_btn.addEventListener (MouseEvent.CLICK, menuFunc);

    next_btn.addEventListener (MouseEvent.CLICK, nextFunc);

    Functions

    function backFunc(evt:MouseEvent): void {}

    prevFrame();

    }

    function nextFunc(e:MouseEvent) {}

    nextFrame();

    }

    function menuFunc(a:MouseEvent): void {}

    gotoAndStop (3);

    }

    I hope I can get help

    You are welcome and please mark it responded so we dogs forum can filter the questions answered. Good luck!

Maybe you are looking for