Navigation problem click

Hi all

I have a screen in which there's a top bar with six buttons and the body contains a dynamic value listfield.

When I add the code for navigation it works as for the buttons on the bar or listfield.

But I want two things to work.

I posted the code then please let me know where I am going wrong.

public boolean navigationClick(int status, int time) {
             if ((status & KeypadListener.STATUS_TRACKWHEEL) == KeypadListener.STATUS_TRACKWHEEL) {
               //Dialog.alert("its working");
             } else if ((status & KeypadListener.STATUS_FOUR_WAY) == KeypadListener.STATUS_FOUR_WAY) {
                    {if (!(btn1.isFocus()||btn2.isFocus()||btn3.isFocus()||btn4.isFocus()||btn5.isFocus()||btn6.isFocus()))
                    {

                      return false;
                  }
                  else{
                      itemSelected(colourList.getSelectedIndex());
                   return true;}
                  }
             }

             return super.navigationClick(status, time);
          }

The code above is for navigation click.

Hoping to get some answers and a thank you to all.

Krishnan.

Please let me know by joining the breakpoint, if the debugger enter the other part of the code below:

if (!(btn1.isFocus()||btn2.isFocus()||btn3.isFocus()||btn4.isFocus()||btn5.isFocus()||btn6.isFocus()))

I also assume that you don't a not substitute the method navigationMovement of the list or the screen. If the debugger is not between the mentioned code, please try after the code

protected boolean navigationClick(int status, int time)
    {
        try
        {
            Field focus = UiApplication.getUiApplication().getActiveScreen().getLeafFieldWithFocus();

            if(focus==lfOptions) //lfOptions is the list field
            {
                //paste your code here
                return true;
            }

        }
        catch(Exception e)
        {
            System.out.println("Exception:-  : navigationClick() "+e.toString());
        }
        return super.navigationClick(status, time);
    }

and together change listener to the buttons, there are also a few other options. Please let me if it is according to your needs.

Tags: BlackBerry Developers

Similar Questions

  • Songs disappearing; error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. »

    I get this error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. "The thing is that he played the songs darned two days ago, what has happened since then!

    Never mind. I totally forgot that I had renamed a folder that hosts my music. Duh.

  • Slideshow w / timer, navigation problem (once clicked off calendar)

    I have an AS3 flash slide show that uses the timer with function wait() method to change the slides.  So is the preloader on frame one and the first slide is on frame two and the second slide is on three framework and so on.  To each frame, there is a wait statement (7) so that the swf file is progressing to the next section every seven seconds. When I create an element of nav uses the function gotoAndPlay to target each frame, whenever the net asset value is clicked and moves to the corresponding slide the timing of slides is all messed up.

    Can someone help me by suggesting a solution to this?  I may be nieve, but it seems that once you click on the button in the NAV the timer keeps going on the slide, the user was doing when a user has clicked on the net asset value.  How can I clear the Timer wait() on click?  When I add just a remove. EventListener to the service in the context button is not available for the button, although they are both in the same framework.

    Here's the wait() I use in the chronology of stage of root:

    function wait(duration:Number) {}

    Stop();

    var: timer = new Timer(duration*1000,1);

    timer.addEventListener (TimerEvent.TIMER_COMPLETE, onWaitTimerComplete);

    Timer.Start ();

    }

    function onWaitTimerComplete(e:TimerEvent):void {}

    e.target.removeEventListener (TimerEvent.TIMER_COMPLETE, onWaitTimerComplete);

    stage.removeEventListener (Event.RESIZE, onStageResize);

    Play();

    Here is the code for the click within the button movieClip:

    B1.addEventListener (MouseEvent.CLICK, onClick);
    function onClick (event: MouseEvent): void

    {
    MovieClip (root) .gotoAndPlay (2);
    }

    THIS PROJECT IS LOCAL SO NO LINK AVAILABLE

    Look like int the Timerclass to see what other methods you can make use of.  It has a reset() and stop() method that might get you what you want.  One thing you will probably need to do is have code so well to decalre the timer outside the service so that he carried outside the thaat service you can other functions control.

  • Navigation problem and debugging

    JDeveloper 12.1.3

    Once again the warning: I am far from ADF pro, trying to learn, and maybe my question would be little sense:

    Scenario:

    1 Page 1 is a search with the results table page. Say with VO1Iterator VO1. If it's important at all, the page itself is jsff the activity view the BTF1 fragment with two cases of flow of control out of it: CFtoPage2 and CFtoPage3, both going activities Parent returns control to the main configuration adfc UTF. The user can click on Button1 or Button2 that fire corresponding Action bean method support and navigate to CFtoPage2 (Button1) or CFtoPage3 (Button2).

    2 page 2 is another fragment jsff in BTF2 with the link1, link3 to Page 3 and back to Page 1.

    3 page 3 (another BTF) has link to Page 1 only

    Problem:

    -While on Page 1, the user may access the Page 2 and 3 of the Page without problem

    -If on Page 1, the user goes to Page 2, and then to the Page 2 user link3 click nothing happens.

    -If on Page 1, the user accesses the Page 3, first, then goes back to Page 1, then Page 2 and click link3, navigation is successful!

    I don't see errors in case of a failed navigation. No idea how to debug this problem?

    Responses to 1)

    Have you implemented exceptions?

    If so, you should have then taken the NPE in the exception handler. For more information read Oracle ADF

    (2) the logging.xml is the build of the managed server. So if you bounce the server managed (in your case the embedded server) it will be re-created. For this, you can remove the system12.1.3... x.x.x./DefaultDomain. Then you can re-create the embedded weblogic server. Disadvantage is that each parameter that you did in your embedded server has disappeared.

    Timo

  • Bean in 11.1.1.7 navigation problem

    Hi all

    JDeveloper 11.1.1.7 code below

    FacesContext context = FacesContext.getCurrentInstance ();

    context.getApplication () .getNavigationHandler () .handleNavigation (context, "", result);

    does not work sometimes. If you clicked many times popup with inlineFrame user on the page, the navigation fails, user always on the same page instead of this move. It never happened in JDeveloper 11.1.1.5. Is - everyone faced and solved the problem?

    Thank you

    SNikiforov

    You may not use the Manager of navigation at all. Check

    "How to navigate workflows bounded in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/nov2010-otn-harvest-190744.pdf

    Timo

  • Files in the computer navigation problems

    I have a recurring problem, IE9 and FF7. Whenever a site uses flash to transfer a file, clicking the button transfer never opens the navigation window, this happens (for example) for the new Yahoo! Mail. I have the problem on my two computers (home & work) and I tried several times to update Flash to solve my problem. Can someone help me? TKS.

    Nothing happens if I delete all settings and data navigation. BUT on the other end, I installed the debugger (IE) and this was the error:

    : Error #2086: a setting in the mms.cfg file prohibits this FileReference request.

    at flash.net::FileReferenceList/browse()

    to upload / browse)

    to upload / handleMouseClick)

    The administrator edited the flash configuration file to not allow file download! I changed

    FileUploadDisable = 1 FileUploadDisable = 0

    And that's all!

  • Button navigation/problem

    Help! I'm at my wits end.

    I take an introductory class in Flash and working on a project for this class. Everything was going well until I started working on my navigation. I used the flat tube green buttons common library on the homepage and all the rest of the site used a dark color button I duplicated and colored from the Green flat tube button.

    My problem:

    I have an actionscript layer that should work throughout the entire timeline but is not. Originally, I had a keyframe for the frame that contained the green buttons and the other which stretched the length of the entire timeline, containing all the code for the buttons. I put scrapped that and tried to combine code with what was to the keyframe of the work who controlled the green buttons on the homepage. I had used snippets of code first, but also tried to remove all that and just do it by hand, but that doesn't seem to make a difference.

    I don't know what the problem is: the ActionScript? The buttons? Some random glitch? I would tend to think that it's something weird, I do with the script, but I wrote it how it seems to work on pages that work properly. And I do not think that it is just dark buttons because I also tried to do a button 'next' a clipart image, who also works hard.

    Any ideas? Suggestions? The assignment should soon and I am at a loss what to try next. I will be happy to clarify anything if something is confusing the way I said.

    ((Oh, également: après avoir regardé un peu sur le forum, mon sonne un peu comme celui-ci: http://forums.adobe.com/message/3113656#3113656 ))

    Not exactly the same, but the buttons have a similar problem. When I first noticed this problem, I have hade three keyframes with actionscript, 1 which apply to the first image, the second applied to the second and the third image was script that applied to buttons for the rest of the document. With this in mind...

    OK my site on order on the timeline goes on and on: homepage, homepage (w / the green buttons), on (dark buttons) page, history page (dark buttons), etc. The buttons work on the on the page - I go to click on the green button on the home page, go to the about page and the home page (via the black button) no problem. If I say history page and try to get back to the homepage (via the black button) it will not work. If I'm going to the page of the homepage first, then go to the history, I could go back to the home page. It's really weird!

    I have now grouped the second and third frame of actionscript and not even a navigation of the on the page works, but I thought that the thing which I explained above looked like the problem of the other person so I wanted to mention.))

    Thank you!! I pasted the code of the button below. The last two buttons are those that do not work and the rest of the script applies to keys that are functioning normally.

    import flash.events.MouseEvent;

    Stop();

    about_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameThree);

    function fl_ClickToGoToAndStopAtFrameThree(event:MouseEvent):void

    {

    gotoAndStop (3);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    history_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameFour);

    function fl_ClickToGoToAndStopAtFrameFour(event:MouseEvent):void

    {

    gotoAndStop (4);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    basics_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameSix);

    function fl_ClickToGoToAndStopAtFrameSix(event:MouseEvent):void

    {

    gotoAndStop (5);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    shoes_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameSeven);

    function fl_ClickToGoToAndStopAtFrameSeven(event:MouseEvent):void

    {

    gotoAndStop (6);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    benefits_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameEight);

    function fl_ClickToGoToAndStopAtFrameEight(event:MouseEvent):void

    {

    gotoAndStop (7);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    pictures_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameNine);

    function fl_ClickToGoToAndStopAtFrameNine(event:MouseEvent):void

    {

    gotoAndStop (8);

    }

    / * Click to supervise and stop

    By clicking on the instance for the specified symbol moves the playback cursor to the frame specified in the timeline panel and stop the movie.

    Can be used in the main timeline, or on timelines of film clip.

    Directions for use:

    1. replace the number 5 in the code below with the image number you want the playback head to when the user clicks the symbol instance.

    */

    resources_btn.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrameTen);

    function fl_ClickToGoToAndStopAtFrameTen(event:MouseEvent):void

    {

    gotoAndStop (9);

    }

    homeDark_btn.addEventListener (MouseEvent.CLICK, ClickAndPlay_One);

    function ClickAndPlay_One(event:MouseEvent):void

    {

    gotoAndStop (2);

    }

    celtic_btn.addEventListener (MouseEvent.CLICK, JumpAndPlay_One);

    function JumpAndPlay_One(event:MouseEvent):void

    {

    gotoAndStop (75)

    }

    You mentioned have code on different frameworks and how the framework and the back worked, but the story goes about page you could not go back.  Looks like your code was on the subject of chassis you skipped by going directly to the plot of the story.  If you ignored this framework you skipped assigning listeners to the buttons.

    An alternative approach to consider is to have all of your buttons from 1 chassis and control their visibility rather than assigning the code so that they work when you move around chronology

  • I have a scooter that can not go on the road. It is a navigation problem for cards from Apple and Google Maps for the watch. Does anyone have a solution?

    Hello

    I recently got a scooter that goes from a maximum of 40 mph and cannot legally go on the highways. I was worried about navigation on the thing, since I can't hear my phone, but I thought the directions can get sent to my watch. My problem is that Google Maps can really follow the navigation on the watch, so I can still see the signs when I put my wrist; still, he turns back to the lock screen. So I stop, remove my gloves, and pull up the directions. On the other hand, Apple cards can't do navigation for bicycles or avoiding the road. I tried to use cards of Apple walking directions, thinking I can correct errors on one-way streets myself, but Siri decided I was going too fast, spent my navigation to drive and tried to send me on the highway.

    Anyone has a solution, or am I better off memorizing the card before entering the thing?

    Thank you!

    Hello

    To have your watch to return to the last used app to raise your wrist:

    -On your iPhone, in the application of Eve, go to: Watch My > General > screen Wake > under the heading "Raise the wrist", choose the RESUME last activity.

    If we consider how you could use your watch, note the safety information important in the Apple Watch user's Guide, which includes sections headed Distraction and Navigation:

    https://help.Apple.com/watch/#/apdcf2ff54e9

  • Apple Watch turn-by-turn navigation problem

    When Im using the navigation turn by turn on the Apple Watch plan it does not have the option to start navigation, rather 'INFO and CLEAR' are my only choices in the menu. What is the problem with that? How can I start my browsing directly from my watch? Please help thanks

    before the card gets directions the departure is always visible and still not interactive but when loading is done will start last and change to 'hang' what I need to do?

  • The readers navigation problem. Search opens instead of OPEN it

    When I try to browse a disk, SEARCH opens instead of OPEN it.

    See this solves your problem:

    'Search Companion starts if you double-click a folder '.
      <>http://support.Microsoft.com/kb/321186 >

    HTH,
    JW

  • The single Win Explorer Navigation pane click on the name of the folder to expand the subfolders

    In Win XP, you can even click on the folder name to develop the next level of subfolders.

    In Win 7, it takes a double-click and the > is difficult to achieve.

    What a pain.  How can get fixed?

    Other than replacing by another file manager.

    Hello

    I understand that you are facing difficulties during the expansion of the subfolders on the Windows Explorer Navigation pane. I understand the inconvenience.

     

    You must expand the tree first and then do the following.

    1. open WindowsExplorer.

    2. expand and click on Tools folder options -->

    3 in the navigation pane, select the check box to display all records and extend automatically to the current foldedr and click ok.

    You can also follow the steps in the article.
    http://support.Microsoft.com/default.aspx/KB/126449

    Hope it will be useful. If you still have questions, please reply and we will be happy to help you.

  • Navigation by clicking of the manager that affect the present ActiveRichTextField in the Manager.

    Hi all

    I have a HorizontalFieldManager containing different custom fields, among which ActiveRichTextField is one of them. I gave a click of navigation for the Manager in the code:

    protected boolean navigationClick (int status, int time) {}
    {if (Touchscreen.IsSupported ())}
    Returns false;
    } else {}
    fieldChangeNotify (1);
    Returns true;
    }
    }
        
    protected boolean touchEvent (TouchEvent message)
    {
    If (TouchEvent.DOWN is {message.getEvent ()})
    FieldChangeListener listener = getChangeListener();
    If (listener! = null)
    this.setFocus ();
    }
            
    If (TouchEvent.CLICK == message.getEvent ())
    {
    FieldChangeListener listener = getChangeListener();
    If (null! = earpiece)
    this.setFocus ();
    listener.fieldChanged (this, 1);
    }
    Return super.touchEvent (message);
    }

    and then treatment to the touch by using FieldChangeListener. When I click on the ActiveRichTextField contained in the horizontal field Manager, action for, click Manager is run. Please can someone tell how this can be avoided. Thanks in advance.

    "If this field with focus is instance of ActiveRichTextField I should call super.touchEvent ().

    No, if you put the code in navigationClick...!

    Putting this another way, I mean:

    Super. ();

    "I can't choose only one of the fields to handle the click event of the manager that my requirement is to treat the click, clicking anywhere on the Manager."

    I think you can do it, because the movement key or trackpad will move the focus in one of your fields, and assuming you have only two fields focusable in the Manager, then it will be your ActiveRichTextField or your field.  As mentioned, managers do not get then to enter a Manager, the BB a to move the focus to a focus scope.

  • list filed with menu navigation problem

    I list filed and I ' I use navigation () method to get the row index selected by a click but navigation click () method does not work, when I click on list fied line menu will open here is my code

    list = new ListField() {}
    protected boolean navigationClick (int status, int time)
    {
    index = list.getSelectedIndex ();
    System.out.println ("index is" + index);
    Dialog.Inform(""+index);
    Returns true;
    }

    };
    list.setEmptyString ("Empty", DrawStyle.HCENTER);
    list.setRowHeight (2 * getFont () .getHeight ());
    list.setCallback (this);
    List.Invalidate ();

    {public drawListRow Sub (ListField listField, Graphics g, int index, int y, int width)}
    TODO self-generating method stub

    String text = (String) favector.elementAt (index);

    g.setColor (0x000000);
    g.drawLine (0, y, Display.getWidth (), y);
    g.drawText (text, 0, y, DrawStyle.ELLIPSIS, width);

    }

    public Object get (ListField listField, int index) {}
    TODO self-generating method stub
    Return favector.elementAt (index);
    }

    public int getPreferredWidth (ListField listField) {}
    TODO self-generating method stub

    Return Display.getWidth ();
    }
    public int indexOfList (String prefix, int start, ListField listField) {}
    TODO self-generating method stub
    return 0;
    }

    Here is my update of the code, sorry the bad code

    public class Mysearch extends MainScreen implements FieldChangeListener, ListFieldCallback{
    
        private VerticalFieldManager mainManager;
        private VerticalFieldManager subManager;
        private Bitmap _backgroundBitmap = Bitmap.getBitmapResource("a.png");
        private int deviceWidth = Display.getWidth();
        private int deviceHeight = Display.getHeight();
        ButtonField gobtn;
        EditField editfild = new EditField();
        ListField list;
        String getedtflddata;
        Vector favector;
        URI str;
        Database db = null;
        int index;
        String text;
    
        public Mysearch() {
            // TODO Auto-generated constructor stub
            super(NO_VERTICAL_SCROLL);
            setTitle("Search");
    
            editfild.setBorder( BorderFactory.createSimpleBorder( new XYEdges(2, 2, 2, 2),
                    new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK), Border.STYLE_SOLID));
            editfild.setBackground(BackgroundFactory.createSolidBackground(Color.WHITE));
            gobtn = new ButtonField("go",ButtonField.CONSUME_CLICK);
    
            list = new ListField(){
    
                protected boolean navigationClick(int status, int time) {
                    // TODO Auto-generated method stub
                    index = list.getSelectedIndex();
                    Dialog.alert(""+index);
                    return super.navigationClick(status, time);
                }
    
            };
            list.setEmptyString("Empty", DrawStyle.HCENTER);
            list.setRowHeight(2*getFont().getHeight());
            list.setCallback(this);
            list.invalidate();
    
            //this manager is used for the static background image
            mainManager = new VerticalFieldManager(Manager.NO_VERTICAL_SCROLL | Manager.NO_VERTICAL_SCROLLBAR )
            {
                public void paint(Graphics graphics)
                {
                    graphics.clear();
                    graphics.drawBitmap(0, 0, deviceWidth, deviceHeight, _backgroundBitmap, 0, 0);
                    super.paint(graphics);
                }
            };
    
            //this manger is used for adding the componentes
            subManager = new VerticalFieldManager( Manager.VERTICAL_SCROLL |  Manager.VERTICAL_SCROLLBAR )
            {
                protected void sublayout(int maxWidth, int maxHeight)
                {
                    int displayWidth = deviceWidth;
                    int displayHeight = deviceHeight;
    
                    super.sublayout( displayWidth, displayHeight);
                    setExtent( displayWidth, displayHeight);
                }
            };
    
            /// add your component to this subManager
            subManager.add(editfild);
            subManager.add(gobtn);
            subManager.add(list);
            gobtn.setChangeListener(this);
    
            //add subManager over the mainManager
            mainManager.add(subManager);
    
            //finally add the mainManager over the screen
            this.add(mainManager);   
    
        }
    
        public void fieldChanged(Field field, int arg1) {
            // TODO Auto-generated method stub
                getedtflddata = editfild.getText().toString();
                System.out.println("string value"+getedtflddata.length());
                if(!(getedtflddata.length() == 0)){
                favector = new Vector();
                try{
                    System.out.println("inside try======");
                    str = URI.create("file:///SDCard/mydatabase.db");
                    db = DatabaseFactory.open(str);
                    db.beginTransaction();
                    Statement statmnt1 = db.createStatement(
                                    "select * from tbthought where goldenquote like '% "
                                            + getedtflddata + " %' or goldenquote like '"
                                            + getedtflddata + "' or goldenquote like '"
                                            + getedtflddata + " ' or goldenquote like '% "
                                            + getedtflddata + "' or goldenquote like ' "
                                            + getedtflddata + "' or goldenquote like '"
                                            + getedtflddata
                                            + " %' or goldenquote like '% "
                                            + getedtflddata + ".'");
    
                    statmnt1.prepare();
                    Cursor c = statmnt1.getCursor();
                    if(c.isEmpty())
                    {
                        Status.show("no match found");
                        System.out.println("no data found");
                    }else
                    {
                        c.first();
                        Row mr = null;
                         int il = 0;
                         while(c.next()) {
    
                           mr = c.getRow();
                           il++;
                           System.out.println("---"+mr.getString(5));
    
                           favector.addElement(mr.getString(5));
                         }
                         list.setSize(favector.size());
                         }
                         statmnt1.execute();
                         statmnt1.close();
    
                         db.commitTransaction();
                         db.close();
    
                         System.out.println("gfavector.size()="+favector.size());
                    }catch(Exception e)
                    {
                        try {
                            db.close();
                        } catch (Exception e1) {
                            // TODO Auto-generated catch block
                            System.out.println("go btn excptn="+e1.getMessage());
                            e1.printStackTrace();
                        }
                        System.out.println("go btn excptn="+e.getMessage());
                    }
                }else{
    
                    Status.show("please write some word..");
                    System.out.println("else part----------");
                }
    
        }
    
        public void drawListRow(ListField listField, Graphics g, int index,int y, int width) {
            // TODO Auto-generated method stub
    
            String text = (String)favector.elementAt(index);
    
            g.setColor(0x000000);
            g.drawLine(0, y, Display.getWidth(), y);
            g.drawText(text,0, y, DrawStyle.ELLIPSIS, width);   
    
        }
    
        public Object get(ListField listField, int index) {
            // TODO Auto-generated method stub
            return favector.elementAt(index);
        }
    
        public int getPreferredWidth(ListField listField) {
            // TODO Auto-generated method stub
    
            return  Display.getWidth();
        }
        public int indexOfList(ListField listField, String prefix, int start) {
            // TODO Auto-generated method stub
            return favector.indexOf(prefix, start);
        }
    
    }
    
  • Can no longer ride with call button using the api? Problem: Click on the context Menu displays on trackball?

    Hello

    1. every person has idea on the management of the events of call button. ?

    By default the call button (shows) invoke the window call log while relying on the call (phone icon) button in the phone.

    But I need to call some methods in my application (IE to a selection button).

    2. by default, the track ball click calls menu Contaxt. I don't want to activate (Show) menu by click on the trackball?

    (Only for the track ball click)

    Problem: in my application by clicking the trackball on a ButtonField to a new main window main window.

    Press escape (pop, the new window), the menu here

    To your first question:

    Make an application that has the following method implemented:

    protected boolean keyDown (keycode, int, int times)
    {
    Switch (keycode)
    {
               
    box 1114112: / / green key

    Insert your code here

    break;
               
    }
    Returns false;
    }

    For your second Question:

    invokeAction() implent method, the problem will resolve.

  • Strange: Objectchoicefield and ObjectListField in Gridfieldmanager - navigation problem

    Hi @all,

    I have a very strange problem, because running Simulator runs as I would have liked, but the device, the navigation is bad:

    running OS 5.0.0.42 3 on device (BB9700) and the Simulator

    1. the building screen

    2. put verticalfieldmanager on it that contains the background image

    3. put gridscreenmanager (with a column - the problem is with more then one column, too) on the first position of the vfm

    4. turn objectchoicefield with 5 points on the 1st row of the gsm

    5. put the objectlistfield with 5 points on the second line of gsm

    Program running in the Simulator:

    View all as I prefer.

    The first objectchoicefield and beyond the objectlistfield.

    When I scroll with trackpad OCF Gets the focus first and after that the olf on its first line.

    I can scroll up and down, and everything's fine.

    Program running on the device:

    View all as I prefer.

    The first objectchoicefield and beyond the objectlistfield.

    When I scroll with trackpad OCF Gets the focus first and after that the olf on its first line.

    So far so good:

    When I scroll down to the olf, all things are working properly. For example, point 4 a now focus.

    Now, if I try to go back in the OLF, it should go back to article 3 of the olf, but this is the leap into objectchoicefield. After that, if I try to go back to the objectlistfield, it jumps directly to point 4, which he came before.

    If I don't put the objectchoicefield in the first row, everything works fine.

    What can I do?

    I did something wrong?

    All ideas are very appeciated.

    Thanks in advance.

    CUA

    Michael

    Well, I found it.

    I made a mistake in the application of my own gridfieldmanager navigationmovement method.

    What is already strange: I used the same gridfieldmanager within 2 screens in my application. First screen was working fine, the second one was bad. Same content in both screens.

    Sorry for that.

    Thank you for all.

    CUA

    Michael

Maybe you are looking for

  • Dv4-1220US + Windows 7

    Hi, I just upgraded to Windows 7, I need to ACPI driver, can you help me? Thank you.

  • AirPort Express works fine with OSx but not Windows

    Bought my AirPort Express 802.11n just a few months. It worked very well for all computers and mobile devices in my house. A few days ago, all of a sudden, PCs of my roommates started to get 'internet slow, yet shows the power of the full signal. Not

  • Microsoft SQL Server 2005 Express Edition - Configuration has failed.

    Time: 06/10/2010 13:16:39.639 Number of KB: KB954606 Computer: ComputerName OS version: Professional (Build 7600) Language package: 1033 (ENU) Platform: x 86 Package SP level: 2 Package Version: 3073 Specified command line parameters: Cluster install

  • 0x80070426 - control Panel not opening

    Whenever I try to open the Control Panel, an empty window displays for some time and then closes automatically. Also I am not able to open the Windows Update program. I tried to install Service Pack 2. However, it is not install and I got the followi

  • Over the Air (OTA) authentication .htaccess .htpasswd 401 error

    Hello I have a signed application for Blackberry build against v4.7 OS and OS v4.2. I've successfully installed on a site to download OTA (file .jad + individual .cod files). User can download and install via the web link. The problem is I'm trying t