CustomListField + CustomButtonField + touchEvent + NavigationClick is HELL

Hello world

I'm doing this thing works

I have a screen which consists of three components

HEADER

-a custom refresh button (extends the scope with a bitmap and override touchEvent and navigationClick)

CONTENT

-NavigationClick and custom touchEvent ListField and substitution

FOOTER

-Type of a menu with several button (application as well as for the header)

When I run my screen, the focus is made on the footer, so I can use my buttons

If I click on the listField or even make dragging, then the listField component get the Focus.

Now, when I touch one of my footer button, only the method of the ListField touchEvent's launch, even if I return false in everycase, neither the toucheEvent nor my footer buttons navigationClick method will be called.

So if I click on my footer, I see only the listField slips a little and nothing else.

Anyone experienced the same thing?

This BlackBerry bug has already been reported and confirmed by RIM on this forum:

ListField scrolling behind other fields

So no, you're not crazy, and no, you do not have something wrong.  I hope it's a consolation

Tags: BlackBerry Developers

Similar Questions

  • Click here for customButtonfield to consume

    I created a button field custom, which works, but menu appears when you click the button, my custom button field extends the scope only.

    no idea how to block the menu?

    Concerning

    Rakesh shankar. P

    Hi rakesh,

    I think that you are working in the storm. Have you tried FieldChangeListener.if no first then try this...

    If it dint work.

    Try like this

    protected boolean navigationClick (int status, int time) {}

    GotoLink();
    Returns true;
    }
    protected boolean touchEvent (TouchEvent event) {}
    int eventCode = event.getEvent ();
    If (eventCode == TouchEvent.CLICK) {}
    GotoLink();
    Returns true;
    }
    Return super.touchEvent (event);
    }

    private void GotoLink() {}
    If (UiApplication.getUiApplication () .getActiveScreen () .getLeafFieldWithFocus () instanceof CustomButtonField) {}
    Final CustomButtonFieldfocus = (CustomButtonField) UiApplication.getUiApplication () .getActiveScreen () .getLeafFieldWithFocus ();
    If ((attention! = null) & (focus instanceof CustomButtonField)) {}

    / * if(focus == CustomButtonField1) {}

    } else if * / / / code here...

    }

    }

    }

    Thank you & best regards

    pp

  • TouchEvent & FieldChangeListener both does not work

    Hello

    I have 2 bitmapfields and a buttonfield. I want that all fields to intercept the click event. Initially, I had added only fieldChangeListeners to all fields, but bitmap field has not answered them (despite making them Focusable). I added touchevent to handle events click for all areas, now all fields respond only touchEvents. Same buttonfield does not meet fieldChange that he met before adding the touchEvent.

    Can someone help me to know the problem and the solution for the same. I want that all fields to react to events through contact or normal by a click. Also in touchEvent as navigationClick added id, if the menu is not coming, but otherwise with the other menu click only just who should not and the fieldchangelistener should be handled.  Here's the code.

        private BitmapField  signOffBtn, profileBtn;
        private ButtonField btn;
    
        public LoggedUserScreen(UserBean user) {
            super();
            this.loggedUser = user;
            System.out.println("Into LoggedUserScreen : Got user");
            init();
            this.add(signOffBtn);
            this.add(profileBtn);
            this.add(btn);
        }
    
        private void init() {
            signOffBtn = new BitmapField (Bitmap.getBitmapResource("icon.png"),  BitmapField.FOCUSABLE ) {
                protected boolean navigationClick(int status, int time) {
                    return true;    // handle click event
                }
            };
            profileBtn = new BitmapField (Bitmap.getBitmapResource("icon.png"),  BitmapField.FOCUSABLE ) {
                protected boolean navigationClick(int status, int time) {
                    return true;    // handle click event
                }
            };
            btn = new ButtonField("button", BitmapField.HIGHLIGHT_SELECT |  BitmapField.FOCUSABLE);
            signOffBtn.setChangeListener(this);
            profileBtn.setChangeListener(this);
            btn.setChangeListener(this);
        }
    
        public void fieldChanged(Field field, int context) {
            if (field == signOffBtn) {
                System.out.println("********* SIGN OFF CLICKED");
            } else if (field == profileBtn) {
                System.out.println("********* PROFILE CLICKED");
            } else if (field == btn) {
                System.out.println("********* button CLICKED");
                System.exit(0);
            }
        }
    
       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 touchEvent(TouchEvent event) {
    
          switch(event.getEvent()) {
              case TouchEvent.DOWN:
                return true;
              case TouchEvent.MOVE:
                return true;
              case TouchEvent.UP:
                return true;
              case TouchEvent.CLICK:
                int index = getFieldAtLocation(event.getX(1), event.getY(1));
                // Ignore click events outside any fields
                if (index == -1)
                    return true;
    
                Field field = getField(index);
                if (field == signOffBtn) {
                    System.out.println("Touched SignOff");
                } else if (field == profileBtn) {
                    System.out.println("Touched Profile");
                } else if (field == btn) {
                    System.out.println("Touched Button");
                }
                return true;
          }
          return false;
      }
    

    Thank you

    Ago I already watched this about such removeFocus or setFocus (false) or more. But yes, your something.setFocus gave me the idea to setFocus on the screen itself for the development is removed from the key also and not on any component capable of intercepting the event.

    So if I add fieldChangeNotify (0); in signOffBtn navigationclick, profileBtn & btn, then I totally don't need to implement the touchEvent?

        private void init() {
            signOffBtn = new BitmapField (Bitmap.getBitmapResource("icon.png"),  BitmapField.FOCUSABLE | ButtonField.FIELD_LEFT) {
                protected boolean navigationClick(int status, int time) {
                    fieldChangeNotify(0);
                    return super.navigationClick(status, time);    // handle click event
                }
            };
            profileBtn = new BitmapField (Bitmap.getBitmapResource("icon.png"),  BitmapField.FOCUSABLE | ButtonField.FIELD_RIGHT ) {
                protected boolean navigationClick(int status, int time) {
                    fieldChangeNotify(0);
                    return super.navigationClick(status, time);    // handle click event
                }
            };
            imageBtn = new ImageButton(Bitmap.getBitmapResource("icon.png"), Bitmap.getBitmapResource("icon.png"));
            btn = new ButtonField("button", BitmapField.HIGHLIGHT_SELECT |  BitmapField.FOCUSABLE | ButtonField.FIELD_RIGHT) {
                protected boolean navigationClick(int status, int time) {
                    fieldChangeNotify(0);
                    return super.navigationClick(status, time);    // handle click event
                }
            };
    
            signOffBtn.setChangeListener(this);
            profileBtn.setChangeListener(this);
            imageBtn.setChangeListener(this);
            btn.setChangeListener(this);
        }
    

    touchEvent is totally deleted & navigationClick is implemented for each button.

    Thank you. I just want to confirm, with this, my componetns everything will work for touch & non touch screen properly. 9530 Simulator touch screen reacts (left mouse click), but not touch that is a click (muose right clisk) does not do anything. So I was wondering...

  • 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;
    }

  • CustomButtonField + Capture hold click?

    Hi, I wonder how I can know when is a stamped click (and hold) in the button, the button with a highlight color for painting.

    Thank you

    Okay, market... with

    navigationClick, navigationUnclick... and other events like the touch, etz

    fieldchangelistener.
    or navigationclick/touchevent

  • Issue of CustomListField

    I am developing a CustomListField.Here is the code.

    package com.imimobile.com;
    
    import net.rim.blackberry.api.pdap.BlackBerryContactList;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Keypad;
    import net.rim.device.api.ui.component.BitmapField;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.SeparatorField;
    import net.rim.device.api.ui.container.HorizontalFieldManager;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    
    public class CustomListField extends Field{
    
        String imageName = null;
        public String labelText = null;
        public BlackBerryContactList _contactList;
    
        static double latitude;
        static double longitude;
        static String loaderLabel = null;
    
        public CustomListField() {
            super();
        VerticalFieldManager vfm = new VerticalFieldManager(VerticalFieldManager.USE_ALL_WIDTH | VerticalFieldManager.VERTICAL_SCROLL);
    
        HorizontalFieldManager hfm;
    
            for (int i = 0; i < 5; i++) {
                if(i == 0){
                    imageName = "social.PNG";
                    labelText = "Social Streams";
                }else if( i == 1){
                    imageName = "contacts.PNG";
                    labelText = "Mobile Backup";
                }else if(i == 2){
                    imageName = "friendfinder.png";
                    labelText = "Friend Finder";
                }else if(i == 3){
                    imageName = "faq.png";
                    labelText = "FAQ";
                }else if(i == 4){
                    imageName = "help.png";
                    labelText = "Help";
                }
                vfm.add(new SeparatorField());
    
                hfm = new HorizontalFieldManager(Field.FOCUSABLE | HorizontalFieldManager.USE_ALL_WIDTH){
                    protected void paint(Graphics g) {
                        if(isFocus()) {
                            g.setColor(Color.RED);
                            g.fillRect(0, 0, getWidth(), getHeight());
                        }else{
                            g.setColor(Color.BLUEVIOLET);
                            g.fillRect(0, 0, getWidth(), getHeight());
                        }
                        super.paint(g);
                        invalidate();
                    }
                    protected void onFocus(int direction) {
                        super.onFocus(direction);
                        invalidate();
                    }
                    protected void onUnfocus() {
                        invalidate();
                        super.onUnfocus();
                    }
                };
    
                BitmapField socialImg = new BitmapField(Bitmap.getBitmapResource(imageName)){
                };
                socialImg.setPadding(4,4,4,4);
                hfm.add(socialImg);
    
                LabelField socialLabel = new LabelField(labelText, LabelField.FOCUSABLE){
                    protected void paint(Graphics graphics) {
                        graphics.setColor(Color.WHITESMOKE);
                        super.paint(graphics);
                    }
                    protected boolean navigationClick(int status, int time) {
    
                        return true;
                    }
                    protected boolean keyChar(char c, int status, int time) {
                        if (c == Keypad.KEY_ENTER) {
                            navigationClick(status, time);
                        }
                        return true;
                    }
                    protected void drawFocus(Graphics graphics, boolean on) {
                    }
                };
                socialLabel.setPadding(4,4,4,4);
                socialLabel.setFont(Utils.largestFontBold);
    
                hfm.add(socialLabel);
                vfm.add(hfm);
            }
            if(Display.getHeight() != 240)
                vfm.add(new SeparatorField());
            //add(vfm);
        }
    
        protected void layout(int width, int height) {
            // TODO Auto-generated method stub
    
        }
    
        protected void paint(Graphics graphics) {
            // TODO Auto-generated method stub
    
        }
    
    }
    

    The problem is if I extend screen here his view of how I want that she, but if I extend field or Manager and brand and instance of this class from another class which extends the screen and adds it to the display screen is coming as blank or empty

    don't override paint and sublayout.

  • navigationClick() called when you click outside a field.

    I have the following code below for the Blackberry Storm.  Its purpose is to make a menu screen with originally 4 BitmapFields that can be clicked.  All buttons work properly and regester and respond to the navigationClick() event.  However, if I click outside any field - the navigationClick() event is called on any field has the focus - even if the click is outside this area.

    Any help is appreciated

    SerializableAttribute public class MainMenu extends form {}

    Private MenuScreenLayoutManager menuScreen;
    protected MenuItem activate, soundOff, resume;
    protected UiApplication addix;
        
    public MainMenu (UiApplication addix) {}
    Super(MainScreen.FOCUSABLE |) MainScreen.NO_VERTICAL_SCROLL);
    This.addix = addix;
    LabelField title = new LabelField ("Addix", LabelField.HCENTER |) LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    setTitle (title);
            
            
    getMainManager () .setBackground (BackgroundFactory.createBitmapBackground (Bitmap.getBitmapResource ("menu_background.png")));

    Set of MenuItem = new MenuItem (MenuItem.PLAY, Bitmap.getBitmapResource ("play_button.png"), Field.FOCUSABLE, this);
    Stats MenuItem = new MenuItem (MenuItem.STATS, Bitmap.getBitmapResource ("stats_button.png"), Field.FOCUSABLE, this);
    Help of MenuItem = new MenuItem (MenuItem.HELP, Bitmap.getBitmapResource ("help_button.png"), Field.FOCUSABLE, this);
    resume = new MenuItem (MenuItem.RESUME, Bitmap.getBitmapResource ("resume_button.png"), Field.FOCUSABLE, this);
    Activate = new MenuItem (MenuItem.SOUND_ON, Bitmap.getBitmapResource ("sound_on_button.png"), Field.FOCUSABLE, this);
    soundOff = new MenuItem (MenuItem.SOUND_OFF, Bitmap.getBitmapResource ("sound_off_button.png"), Field.FOCUSABLE, this);
            
    menuScreen = new MenuScreenLayoutManager();
    menuScreen.add (game);
    menuScreen.add (statistics);
    menuScreen.add (help);
    menuScreen.add (enable);
            
    Add (menuScreen);
    }
        
    private void addResume() {}
    menuScreen.add (curriculum vitae);
    }
        
    private void removeResume() {}
    menuScreen.delete (curriculum vitae);
    }
    }

    class MenuItem extends BitmapField {}
        
    public static final int PLAY = 0;
    public static final int SUMMARY = 1;
    public static final int STATS = 2;
    public static final int HELP = 3;
    public static final int SOUND_ON = 4;
    public static final int SOUND_OFF = 5;
    protected int type;
    private MainMenu mainMenu;

    public MenuItem (int, Bitmap bm, long style, MainMenu mainMenu type) {}
    Super (bm, style);
    This.type = type;
    this.mainMenu = mainMenu;
    }
        
    protected boolean navigationClick (int status, int time) {}
    System.out.println ("Type" + type);
    Field field;
    switch (type) {}
    case 0:
    System.out.println ("Play");
    synchronized (UiApplication.getEventLock ()) {}
    mainMenu.addix.pushScreen (new GameScreen (mainMenu.addix, mainMenu));
    }
    break;
    case 1:
    System.out.println ("Summary");
    break;
    case 2:
    System.out.println ("Stats");
    break;
    case 3:
    System.out.println ("help");
    break;
    case 4:
    System.out.println ("' sound - we '");
    () this.getManager replace (this, mainMenu.soundOff);
    break;
    case 5:
    System.out.println ("sound off");
    () this.getManager replace (this, mainMenu.soundOn);
                    
    break;
                
    }
    Returns true;
    }

    protected void (_g, Boolean _on Graphics) drawFocus {/ * nothing * /}
    }

    class MenuScreenLayoutManager extends VerticalFieldManager {}
        
    MenuItem field private;
    private static val mutable int menuItemsStartPos = 260;
    private static val mutable int menuItemHeight = 41;
    private static val mutable int menuItemWidth = 142;
    Private final int screenWidth = getWidth();
        
    public MenuScreenLayoutManager() {}
    Super(Manager.RIGHTMOST |) Manager.VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR);
    }
            
    protected void sublayout (int width, int height) {}
        
    int numberOfFields = getFieldCount();
    int menuXloc = 360-menuItemWidth;
    for (int i = 0; i)< numberoffields="" ;="" i++="">
    field = (i) getField (MenuItem);
    Switch (field.type) {}
                        
    case 0:
    setPositionChild (scope, menuXloc, menuItemsStartPos + (menuItemHeight + 3));
    layoutChild (field, width, height);
    break;
                            
    case 1:
    setPositionChild (scope, menuXloc, menuItemsStartPos);
    layoutChild (field, width, height);
    break;
                            
    case 2:
    setPositionChild (scope, menuXloc, menuItemsStartPos + 2 * (menuItemHeight + 3));
    layoutChild (field, width, height);
    break;
                            
    case 3:
    setPositionChild (scope, menuXloc, menuItemsStartPos + 3 * (menuItemHeight + 3));
    layoutChild (field, width, height);
    break;
                            
    case 4:
    case 5:
    setPositionChild (on the ground, 70, menuItemsStartPos + 3 * (menuItemHeight + 3));
    layoutChild (field, width, height);
        
    }
                        
    }
    setExtent (360, 460);
    }
    }

    It is one of the many design flaws (IMO) of the key on the blackberry event. What you get is by design.

    If you click anywhere on the screen where there is no field under the point of click, the click event will be dispatched on the ground right now with the update. You should override the touchEvent and write a 'isWithinBounds' method that checks just as the x and are coordinated are less than the width and the height of the field.

    The key event is within the limits of the field on which it is called, you handle if you ignore it.

  • NavigationClick overridden to manager does not seem to be invoked

    I'm building a custom field Manager. I replaced navigationMovement and touchEvent successfully but can't do even the most basic features of working with navigationClick. I expect that this code will show at least some type of message when you click the keypad, but I have none this response:

        protected boolean navigationClick(int status, int time) {
            Dialog.alert("Test");
            System.out.println("xxxxxxxx***************XXXXXXXXXXXXXXXXX*888888888-----");
            gesture="__________*******CLICK*****)______";
            invalidate();
    
            return true;
        }
    

    Out of curiosity I tried to use this code with trackwheelClick instead of navigationClick and still get no response. The Manager does contain all the fields added. When I change the class to extend the field instead of the Manager, the above code works as expected (However, other parts of my code behave significantly different).

    Why my manager may not be able to detect clicks?

    Thank you

    Scott

    There are better UI people on the forum than me. But my feeling is that you will struggle to do so using a Manager because:

    (a) If a manager has no field, then the amount of space on the screen he takes

    (b) If a manager has no fields fiocusable, why would they focus in.  And navigationClick is reflected on the current target field.

  • the touchEvent acting weird

    OK, this is really strange. I have a screen, in which I have a few managers. In the account manager, which locates in the middle of the screen, there is a table with a table header (i.e. not focusable) and with a couple of RowManagers (which are focusable), containing some LabelFields. The header and the class RowManager extend VerticalFieldManager.

    Now I have these lines focusable and when I double click on a line, I want to do something. I overrided the touchEvent method in the RowManager, it looks like this:

    protected boolean touchEvent (TouchEvent message) {}
    {Switch (message.getEvent ())}
    case TouchEvent.GESTURE: {}
    Gesture TouchGesture = message.getGesture ();
    If (Gesture.getEvent () == TouchGesture.CLICK_REPEAT) {}
    If (Gesture.getClickRepeatCount () == 2) {}
    fieldChangeNotify (1); This brings up only a Dialog.alert in the main screen.
    Returns true;
    }
    }
    } default: return super.touchEvent (message);
    }
    }

    Now when I run the application, the strange thing: using tapping (left mouse button) works fine, but when I click (not double click) on the table, the menu (which is supposed to be shown using only the Menu device key) suddenly appears as a popup on my cursor. Therefore, it is impossible to do a double click, because the first click, menu popup appears and the second made the choice on the shortcut menu or actually disappear. I do not use any menu of context in my application (at least I'm not aware of it), so it's really strange for me... Here are some screenshots:

    Someone has an idea of what the problem may be? I'm doing something wrong?

    I have solved, the problem is, that the click was not consumed. And since it is a field, not a ButtonField, the ButtonField.CONSUME_CLICK would not work, so I overrided the navigationClick method:

    protected boolean navigationClick(int status, int time) {
      return true;
    }
    

    The menu no longer appears.

  • Solution to the problem of the touchEvent and click

    Hi all

    Finally I found the solution to touchEvent and click on the question discussed here

    http://supportforums.BlackBerry.com/T5/Java-development/problem-with-touchEvent-and-click/TD-p/58671...

    I put my code based on navigationClick and also said a function void touchEvent() as shown below

    protected boolean navigationClick (int status, int time) {}

    code click event

    }

    protected boolean touchEvent (TouchEvent event) {}

    }

    Now I can easily detect a touch event on any area on my screen

    Don't know how it works, but I'm getting the desired output

    Afonso Tyagi

    My code works now

  • Why the hell you block flash?

    For a few days, you have been blocked flash for "security reasons." Can not simply give a freaking message and let that be us? Hell, you really want people to leave your for Google Chrome?

    Hello, we support volunteers are not responsible for the blocking of the plugins, but we can help you deal with it if you give us the chance.

    Adobe has released an update today to solve critical problems, he admitted were in the 18.0.0.203 version. You can get 18.0.0.209 on this page:

    https://www.Adobe.com/products/flashplayer/distribution3.html

    In the first table, find the row corresponding to "browser plugin", and you can use either the EXE or the MSI installer.

    No one can promise that this kind of block will never happen. If that happens, if you are not accustomed to using the "Request to activate" feature a plugin, here's what to expect:

    When you visit a site that wants to use the Flash, you should see a notification in the address bar icon and one of the following: a link in a black rectangle in the page or an information bar slides between the toolbar and in the page area.

    If you see a good reason to use Flash, and the site looks trustworthy, you can go ahead and click on the Lego-like icon in the address bar to allow Flash. You can trust the site for the time being or permanently.

    But some pages use Flash only for tracking or play ads, so if you do not see an immediate need for Flash, feel free to ignore the notification! It will just sit there in case you later want.

  • Why the hell I see adds anywhere in the browser, even if I have my ad running block? and why the hell every time I put the default home page, this isn't?

    Hello

    Why the hell it adds every where now? It was not the case before? and why the hell every time I change the home page to be the default, the min that I restart Firefox, it came again on the same silly page I don't know where the hell it came from?

    It was a very pleasant experience to use Firefox, but no more, I still love him his heavy on the machine and stuck a lot lately!

    incident reports NEVER managed to send that I don't know why!

    Come on guys, you can do better than that!

    Hi ajag,.
    Sorry, you have problems, but probably some adware or malware.

    Thank you for including the information system. I'm not familiar with "Vonteera free ads" However, he is apparently adware. Pay attention to the advice, followed by research on the internet I would be, for example, do NOT try the YAC website or tool.

    Using the Firefox addons Manager and Panel configuration remove toolbars unwanted obvious or programs. Then fully analyze up to tools date and multiple.

    Please follow the tips in the link above immediately and then do full scans as shown below in this post.
    I notice that you have a user.js file require separately.
    Post back saying that you tried and what the results were.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one. Windows 8 already has integrated antivirus.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

  • Where the hell is the extinct miracle tab?

    If I update my firefox and beta, and just at the moment where the mirror tab function is presented in the Tools menu, it disappeared again! What the hell, come on guys... I do something wrong? Or are you?

    HM tab. mirror was broken https://bugzilla.mozilla.org/show_bug.cgi?id=1110607 should be in the beta update free us 23-Dec-2014 noon Pacific time.

  • I just download the latest Java Version 7 update 25 update build 1.7.0_25 - b16 and all hell broke loose with FF, nothing, but nothing works.

    I just downloaded the latest updates of Java Version 7 update 25 build 1.7.0_25 - b16 and hell is loose with my FF.

    Just a few examples are when I open the browser, it opens as a band full-width in the upper part of the screen and I have to drag down and reduce the size and instead of being able to start the browser in the bar of me seems to have all the tabs online when I click on the FF icon nothing opens.

    All my previous tabs are no longer in the browser, but seem to be hidden. I disabled the 'Java' content in the "Java Panel" but nothing seems to work. I uninstalled and reinstalled FF (version 21) but nothing seems to have solved the problem - I need really your help in simple, easy to understand instructions for my beloved than FF back to a working state.

    Well, I have the theme 'default' in the guise of cat. and under the cat just «click to Call Skype» Extensions

    No one else in use.

    So now, it would appear all is well and (fingers crossed), I have confidence he's going to stay that way - my grateful thanks for your time and your support once again, I appreciate it.

  • How the hell is R100 supposed to boot from an external source?

    Hi guys

    Please I need some wisdom... I'm trying to reinstall XP. However a member of the forum here named Meier has posted previously that the R100 bios does not support so I'm tryin to boot from USB CD, USB CD-rom boot. Is this TRUE?

    Now, I don't have a USB FDD, just a combo of Asus USB CD player. Then how the hell am I supposed to reinstall windows? ! ? ! Any ideas?

    Hello

    I'm afraid it's true, you will not be able to reload the OS or boot from a usb cdrom drive, since it is not supported by the bios, the only way to boot from a cd is to use a cdrom pcmcia (with a 16-bit connection).

    Sorry :(

Maybe you are looking for