issue navigation at the bottom of the screen buttons

Hi all,

I want to add navigation button at the bottom of screen like in following link

http://appworld.blackberry.com/webstore/content/screenshots/760   [ I found it in this forum ]

I create two button and add it to manager and then I pass manager instance to setStatus () method

back.setChangeListener(new FieldChangeListener()
{
public void fieldChanged(Field field, int context)
{
    UiApplication.getUiApplication().popScreen(getScreen());
}
});

infor.setChangeListener(new FieldChangeListener()
{
public void fieldChanged(Field field, int context)
{  
    Road mapRoad=getRoad();
    DisplayRouteInfoScreen screen=new DisplayRouteInfoScreen(mapRoad);
    UiApplication.getUiApplication().pushModalScreen(screen);  
}
});

toolManager=new VerticalFieldManager(Manager.FIELD_RIGHT | Field.FIELD_RIGHT);
addToolBar();
this.setStatus(toolManager);

private void addToolBar() {

horizonToolManager = new HorizontalFieldManager(Manager.FIELD_RIGHT | Field.FIELD_RIGHT);
  toolManager.add(horizonToolManager);
  horizonToolManager.add(back);
  horizonToolManager.add(infor);
}

it works fine but when I click default back key of phone or back button [ ex click above infor button and go to map screen then if I click back key of phone it goes to

paticular screen and open menu bar of the phone with switch application ,full menu

how can I fix it

thaks

Osada

Create buttons with the ButtonField.CONSUME_CLICK style.

Tags: BlackBerry Developers

Similar Questions

  • 4 IPad keeps going to power off of the screen, the screen is cracked but do not know if I need to replace the screen button or power?

    4 IPad keeps going to power off of the screen, the screen is cracked but do not know if I need to replace the screen button or power?

    Press the sleep/wake and Home buttons and hold for at least 10 seconds.

    If this is not enough, take a look at these articles Support from Apple:

    If your iPhone, iPad or iPod touch does not respond or does not turn on - Apple Support

    Use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

    As a final step, try recovery mode. Turn off your unit, then plug it to your computer with the hold home button. Hold down Home button until you see the logo on the screen of your iPhone iTunes. After that on your computer, you should see the iTunes window saying that your iPhone needs to be restored to factory settings. Click Restore.

    More info here:https://support.apple.com/en-us/HT201263

    If these steps do not work, contact Apple and ask for help.

    https://www.Apple.com/support/iPhone/contact/

  • Confirming a design where I need to save where the user navigated to the screen.

    A matter of design, which is a good implementation of the following?

    I need to be able to save the location of the place where the user has scrolled, then when the user:

    1. Changing screens and returns to the previous screen.
    2. The application farm (moves the application at bottom) and opens the app again (move the app in the foreground).

    The user scrolls automatically here where the user was before.

    For example, if I have a VerticalFieldManager with the following text read only fields:

    • LabelField
    • LabelField
    • LabelField
    • LabelField
    • LabelField
    • ButtonField

    The user scroll down to the third LabelField — two actions user above performs, returns to the screen, and scrolls down to the third TextField again.

    Is the hardest part, I can't count on own dirty, muddy, or fields because it is read only the data and a ButtonField.

    I can't use Manager.setFocus because the fields have an accent.

    I think I can use Manager.setHorizontalScroll and Manager.getHorizontalScroll, but is there a better way?

    Not sure that your arguments to change my suggestion.

    "The user must be able to close the application."

    If they close the applciation that they lose their position.  It happens in most of the applications.  Browsers do not open up on top of the page you were viewing when you close, for example.

    "The user must be able to request the application thoroughly using the end key of red color"

    You will not be able to stop this.  It will just happen.  Nothing for you to do.

    "This is a pile of high display a screen where the Menu button is the main navigation.".

    This does not preclude that I proposed either possible.  If you pop a screen and then later push it, my understanding (and experience) are that he's going to be redisplayed as it was when you jump it.  The screens are objects, they don't stop screens just because they aren't on the stack of the screen.

    Also, I see no problem in what you descrtibed for a touchscreen device.

  • Y at - it a quicker way to hang up, then unlock my iphone 6?  and navigation on the screen of the phone?

    It may be inadequate, say you goodbye, they say goodbye and then here, you sit on the phone again to try to unlock it, navigate to the phone and and click the stop button.  What happened to the good old days a single button to hang up not buried behind the safety and the screens of the application.

    I don't know I'm missing something on my iphone iOS 6 v 9.3.2 is there not a quicker way to hang up a call?

    Hi there TelmedTim,

    I understand that you want to end a phone call without having to unlock your iPhone and open the phone application. Next time, try to press the sleep/wake button and that should do the trick.

    I hope this helps you!

  • Navigation of the menu button?

    Created my first BR project in CS5.1 again without any problem I thought. I've done some context menus for several chronologies everything works well in this area, but the issue I had with the final (BD - RE on my player because I can't get a glimpse of the pop ups in yet) is the navigation with the context menu.

    Normally on a menu, you can select "left, right, up, down", but on these pop-ups, I made pressure on the buttons on the remote control do not match not with where the selection happens. I push and he jumps on that follows down and come down to the third, I press 'right' and nothing, I need to go "upwards" to go to the next line of buttons, etc.

    Is the issue that I have 10 buttons on my pop up? Is there a limit to how many buttons are there? I did everything correctly in the project; 10 keys are divided into three lines and I attribute them from top to bottom 1,2,3,4,5 etc...

    Thanks in advance for any help!

    Check the delivery button; even with respect to the normal menus.

    Assignment of numbers of buttons does not guarantee that the routing will make sense.

    If this is not the sort, post a screenshot of the visualization of menu with the button routing enabled.

  • adjust the brightness of the screen button is gone

    My netbook is an atom processor. It was running win7. everything was fine. Then I created win8 and see the brightness of the screen is missing the power plan option. In the option to the mode 'sleep' also disappeared. Then I created win 7 again, but the condition is unchanged. I can't change my screen brightness. Give me a solution

    You need to be much more accurate, if you need detailed help someone. "MSI Netbook", does it? - http://www.msi.com/product/nb/U180.html#?div=Specification

    If so, click on the "service and support", then "Download" links, or perhaps here - http://www.msimobile.com/level2_phaseout.aspx?id=3

    Or click on the "about MSI" "contact us" link and ask them. Probably your best bet.

    I don't deal with specific netbooks MSI, but I know that with netbooks Samsung, some drivers for intel GPU would work OK for brightness adjustment, and some wouldn't.

  • Navigation in the skin button spacing

    I created several projects where I turn on the back, pause, and navigate forward. When I saw the Captivate project buttons a grouped together on the left side. When I publish and view the project in a Web browser, the buttons are also divided horizontally, spread (see image below). I prefer to group them. The only way I can keep from drying is adding the progress bar, but it is not desirable that these specific projects.

    Is there another way to keep the navigation buttons grouped?

    nav.jpg

    Go to the assets/css/CPLibraryAll.css file and add the lines in BOLD in the CSS:

    .playbarSmallButton

    {

    Width: 25px;

    height: 25px;

    float: left;

    Display: inline;

    -moz-user-select: none;

    -khtml-user-select: none;

    -webkit-user-select: none;

    -o-user-select: none;

    left margin: 0px! important

    }

    .playbarSmallButton:hover {cursor: point ;}}

    .playbarBigButton

    {

    Width: 41px;

    height: 25px;

    float: left;

    Display: inline;

    -moz-user-select: none;

    -khtml-user-select: none;

    -webkit-user-select: none;

    -o-user-select: none;

    left margin: 0px! important

    }

    If you want the output to the right button, add this CSS below the topline:

    .playbarSmallButton:last - child {}

    right margin: 2px;

    float: right! important

    }

  • Jumping on the screen buttons?

    Hello newbie here.

    I currently use the next button to continue action and I would change when I start my project redesign.1st.png

    However, when I simply move the object to another part of the screen or change the image it jumps around and I can't click on it even when the audio clip has stopped. I has not changed anything in the calendar, just the photo and position.

    1st.png

    1st.png

    How can I stop this from happening? I have several slides and I would like to change the buttons eventually. Thank you

    If it comes to Captivate 9, your problem may be related to the States of the objects.  Have you applied the patch?

  • Printing of separations with the halftone in Photoshop with the SCREEN button has been disabled

    I want to start a discussion on trying to reimplement the button on the FORM to print output in Photoshop CS5 and upward as an add-on. This is a very important feature for the idustry I am.

    It is a huge disruption to the screen printing industry, as we can't easily output channels from indesign or illustrator from the file. I use photoshop to print separations for print multicolor with halftone and the button of the screen let me decided that lpi/dpi I would be out on my postscript printer. I contacted someone at Adobe, and indeed, they reported that the button of the print output options SCREEN has been removed. I want to make a petition to get this back button, that I have upgraded, and I won't be able to use the software for my needs. Thank you.

    http://forums.Adobe.com/thread/945132?TSTART=0

    You can lend your support to an existing application

    http://feedback.Photoshop.com/photoshop_family/topics/screen_function_for_separation_outpu t

  • on the screen buttons not working not not in tablet mode

    I have a S10 - 3T and have recently filed to windows 7 Home premium. After the upgrade in tablet mode buttons on natural for touch screen only works in landscape and not in the other 3 positions.

    We know the fix this.

    Allan

    I reinstalled Natual Touch and turn off the PC Tablet mode, everything works now.

    Thank you for your help.

    Allan

  • Return to the Navigation of the Quiz button

    Where is the Retake Quiz button on the result page of the quiz that is supposed to run the user when he clicks on it?  I wish I could change the result of this button to access a specific page.  Currently, it seems to direct them to a page that is a few slides before my quiz, but has nothing to do with the quiz.  I have no idea why it does not there or how to change the navigation for her.

    Thank you!

    David

    If you allow moving backward in Quiz preferences, Yes, user will be able to move in the range Quiz. Might suggest to view the playback on the content slides bar, so that the user can skip certain slides quickly and then hide it when you go behind the scenes of the real question.

    Lilybiri

  • Where can I find the navigation of the "back" button in CS6 again?

    Currently I have several chronologies and may not know where to find the creation of buttons as you'll find on a DVD remote?  That is to say.  Once the video track is playing, and someone wants to return to the previous video track, NOT only comes at the beginning of the current video track, how can I target it?  ACTION of LATE and the OTHER touches the excellent work.

    Thank you in advance for your help!

    Screen Shot 2016-03-16 at 5.40.09 PM.png

    Yes is not a "previous" function in another so that a chronology that comes before, only for a chapter. Script (I think) can do that, but still has no script.

    Another way to look at this: easy ways to go to the next timeline require the function "end action". There is no similar functions for what to do when the beginning of the timeline is reached.

  • Touch anywhere on the screen calls the ListField TouchEvent.DOWN

    Hello

    I suffer with small complex issue. In the screen of my application, I have the title bar with a labelfield and two custom buttons.

    Below the titlefield I add a list field.

    Now, I have a few complex features on the field from the list. When I click each line in the list, it should move to another screen I do using navigation, click medium. Now if I touch the rank in the list (for touch devices), it should move to another screen. And if I touch along the line of the list, it will display popup menu (custom, not by default) with option of removal and details.

            mListItem = new ListField(length, ButtonField.CONSUME_CLICK)
            {
                long touchedAt = -1;
                long HOLD_TIME = 500;
    
             // The regular getFieldAtLocation returns wrong values in open
                        // spaces in
                        // complex managers, so we override it
    //                  public int getFieldAtLocation(int x, int y) {
    //                      XYRect rect = new XYRect();
    //                      int index = getFieldCount() - 1;
    //                      while (index >= 0) {
    //                          getField(index).getExtent(rect);
    //                          if (rect.contains(x, y))
    //                              break;
    //                          --index;
    //                      }
    //                      return index;
    //                  }
                protected boolean navigationClick(int status, int time)
                {
                    // Click related functionality
                    return true;
                }
    
                protected boolean touchEvent(TouchEvent message)
                {
                    if(message.getEvent() == TouchEvent.DOWN)
                    {
                         if (getFieldAtLocation(message.getX(1), message.getY(1)) == -1)
                         {
                             Logger.out("AccountList", "Touch down: getField location");
                             return true; // kill the event
                         }
                         else
                         {
                             touchedAt = System.currentTimeMillis();
                             touchedonList = true;
                             Logger.out("AccountList", "Touch down: touched down  "+touchedonList);
                         }
                    }
                    else if(message.getEvent() == TouchEvent.UP )
                    {
    
                           if(System.currentTimeMillis() - touchedAt < HOLD_TIME && touchedonList == true)
                           {
                               touchedAt = -1; // reset
                               // Single Touch and Move to another screen
                           }
    
                           else if(touchedonList == true)
                           {
                             // Showing Menu Popup
                           }
                    }
                    return true;
    //              return super.touchEvent(message);  // Not using this as it will show the default pop up
                }
    

    And here's my reminder list field:

    public class ListCallBack implements ListFieldCallback
        {
            public void drawListRow(ListField listField, Graphics graphics, int index,
                    int y, int width) {
    
                String strdomOrg = yyyyyyy;
                String text = xxxxxx;
                Font f = FONT_FAMILY_0_SF_AS_08;
    
                int h = f.getHeight();
    //          int height = (listField.getRowHeight() - h)/2 ;
                int height = h/2 ;
                y += height;
                graphics.setFont(f);
                graphics.setColor(Color.BLACK);
                graphics.drawText(strdomOrg, 10, y, DrawStyle.ELLIPSIS, width);
                y = y + h;
                graphics.setFont(FONT_FAMILY_1_SF_AS_08);
                graphics.setColor(Color.BLACK);
                graphics.drawText(text, 10, y, DrawStyle.ELLIPSIS , width);
    
             // use the offset instead
                int offset = (listField.getRowHeight() ) >> 1;
                if (index != 0) {
                    graphics.drawLine(0, y - offset , width, y - offset);
                }
            }
    
            public Object get(ListField listField, int index) {
                // TODO Auto-generated method stub
                return mAccounts[index];
            }
    
            public int getPreferredWidth(ListField listField) {
                // TODO Auto-generated method stub
                return screenWidth;
            }
    
            public int getPreferredHeight() {
                return getContentHeight();
            }
    
            public int indexOfList(ListField listField, String prefix, int start) {
                // TODO Auto-generated method stub
                return listField.getSelectedIndex();
            }
    
        }
    

    Now the question is to come a different way:

    1. whenever I touch the buttons in title field, he calls the listfield TouchEvent.DOWN. Then the click of a button does not work. Instead, by clicking on the title bar, it moves to another screen, which is the feature click list filed.

    2. so I added the listfield at a value for money. :

    m_vfmScreen = new VerticalFieldManager(VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR)
            {
    
            protected boolean touchEvent(TouchEvent message) {
                    int event = message.getEvent();
                    if (event == TouchEvent.CLICK) {
                        if (getFieldAtLocation(message.getX(1), message.getY(1)) == -1)
                            return true; // kill the event
                        else {
                        }
                    }
                    return super.touchEvent(message);
                }
    
                // The regular getFieldAtLocation returns wrong values in open
                // spaces in
                // complex managers, so we override it
                public int getFieldAtLocation(int x, int y) {
                    XYRect rect = new XYRect();
                    int index = getFieldCount() - 1;
                    while (index >= 0) {
                        getField(index).getExtent(rect);
                        if (rect.contains(x, y))
                            break;
                        --index;
                    }
                    return index;
                }
            };
    

    While in the list key of field works. If I touch the buttons in the title bar, it does not. But if the keys become focus, this case they work.

    So I am in dilemma, what exactly the problem. Can someone please help.

    For me, there's a code unepxected in your touchEvent() - getFieldAtLocation().  If you want released supporess presses of field, I suggest you use code like this:

    protected boolean touchEvent (TouchEvent message) {}

    int x = message.getX (1);
    int y = message.getY (1);
    If (x < 0="" ||="" y=""> < 0="" ||="" x=""> getExtent () .width: y > getExtent () .height) {}
    Outside the scope
    Returns false;
    }

  • Taskbar moved to the top of the screen

    Original title : my Start button more yahoo messenger etc is at the top of the page instead of to the bottom

    Instead of having the start at the end of the screen button, now it's screen, how do I rectify this problem.  Thank you

    Hello

    1. What operating system is installed on your computer?
    2. Did you changes to the computer before the problem occurred?

    Right click on an empty space in the taskbar, if lock the taskbar has a check mark next to it, the taskbar is locked. You can unlock it by clicking on lock the taskbar, which removes the check mark.

    Then click on an empty space on the taskbar, and then hold down the mouse button, dragging the taskbar to one of the four sides of the office. Once the taskbar where you want, release the mouse button.

    Reference: How to move the taskbar from its default position Windows or put it back to its default position

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

    (Valid for Windows Vista and XP)

    Hope this information is useful.

  • Help! Turn on 10 power but nothing on the screen!

    I got my switch 10 during about 6 weeks. First month was great. Then he started to get stuck in the mode 'sleep', but on mine, I realized I just need to hold the power button for 10 seconds to turn off or would be put on normally when I press the power button again. We were happy about that, he has worked steadily.

    Thus, from yesterday: the battery was dead the day before. I left that it plugged in all night and day, then last night, I unplugged and tried to power it back it up. The backlight comes on - and sometimes it stays on, sometimes it goes off after about 10 seconds - but nothing happens. I left it on with the backlight all the night night LAST to drain the battery again. This morning, he was off, I plugged it in, same problem, no change.

    I tried the button power + down / volume; Alt + F10; the reset button seems to do nothing; I have also seen a suggestion of F2 + F9 + F10 + entry that also did not work.

    I can tell when the device is activated because the windows at the bottom of the screen button starts to vibrate when they are hit. Right now he's connected with the fixed Orange light in the power button.

    I am afraid that the thing is just gone, but is there anything ELSE I can do? It was a refurb, so there is no guarantee. The seller has provided a 30 day warranty. Ha ha.

    Thank you...

    OK a tower more: with PC switched off, hold down the F2 key on the keyboard, then hold the power button until something happens.

    After that, I'm out of conjecture.

Maybe you are looking for

  • Disable scrolling of three fingers

    Is there a way to disable three finger scrolling (while keeping two fingers scrolling) on the MacBook trackpad? I think I can scroll with two and three fingers, but want it only for two.

  • Is it possible to change the Notification Center? iOS 9.3.1

    I would really like the notifications of Stocks does not to appear. I'm very well keep it as an application. Thank you!

  • 2006 mac Pro connected with a fiber patch cable

    I want to connect this cord of fiberto my Mac Pro in 2006, is a PEX1000MMSC would do the job or you recommend something else?

  • PCI-6528 question

    Hey, guys: I have almost no experience with digital I/o - is it possible to pulse width with a PCI-6528 modulation? Sorry, it's a stupid question, but as I said, I have zero experience making digital i/o.

  • Password invalid Administrator shows

    Hello. I use Windows XP with SP3.  When I use the F8 key to access the administrator, it does not work. I read in another Forum, that by pressing the keys ctrl + Alt + Delete, which brings to the top of my administrator account. Several times, I get