Escape from browser

Hi all

I am facing a strange behavior of the ESC key. I have a screen with the browser open, then I want to push another screen on the ESC key, but it grows first white screen and only after the second, pressing on my screen. Here is an excerpt:

public boolean keyChar(char key, int status, int time)
    {
     if (key == Characters.ESCAPE){
        UiApplication.getUiApplication().popScreen(this.getScreen());
        UiApplication.getUiApplication().pushScreen(new MainMenu());
        return true;
     } else {
         return super.keyChar(key, status, time);
     }
    }

So, if I press ESC only once, it goes to show white screen and only if I press ESC twice he pushes my screen. What can be the reason?

OK, the way I did first time this problem was not resolved. In other words, I used 2 classes, namely MenuScreen and AppWorldConnect. Now I use only MenuScreen and returns the browser to the menu on ESCAPE.

//...create BitmapField button here and overwrite it's method
protected boolean navigationClick(int status, int time)
           {
              BrowserSession visit = Browser.getDefaultSession();
              String url = "http://appworld.blackberry.com/webstore/vendor/255";
              visit.displayPage(url);
             return true;
             };};

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry smartphone how to install a certificate from browser OTA

    Anyone know if it is possible to install a certificate from browser (for authentication) OTA?

    I know that if the certificate is installed in internet explore, we can use the Desktop Manager to synchronize with the device certificates. But unfortunately most of our users have not installed the Desktop Manager.

    First of all, I was thinking about policies to push the certificate on the device, but our admin BB told me that you can

    not set policies by user (one certificate per user).

    I would be nice if it was possible to send the user a link http (email), so that it can launch the browser and download the certificate. Just like in ie or firefox.

    Any ideas?

    BR

    Predrag

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB13492&sliceId=SAL_Public&dialogID=77551987&StateID=0%200%2077553914

  • White app screen not working does not and is called from browser on iOS

    Hi I have developed an application with Flash Builder, it responds well when app is running and if the application does not, and I invoke the application of a link from the browser, then it starts with just a white screen, and if I do a 2nd click on the same link, it settled more step then seems that it stuck somewhere, and if I do the 3rd. Click the app has dropped. Anyone experienced the same and has a solution?

    The indices are:

    1. I do turn the app on iOS 9.3 and build with Flex sdk /air20 4.15.

    2 answer well, if I manual run it and call it from browser.

    3. the same application running on the Android device has no problem.

    4. the app will be answer to the url sent by the browser (the plan was changed to invoke the application.)

    I found the answer.

    Due to the 2nd InvokeEvent coming on different time periods. I don't know why the 2nd InvokeEvent with arguments from after the function waiting running on iOS where Android do exactly the same.

    It is normal after that I delayed the function that expects the InvokeEvent argument 2nd for 100 milliseconds.

  • Help escaping from user input, whatever they are

    I need help escaping from the user input whatever they may be. Currently, I did the following searches with no luck.

    CONTAINS (columnName, ' % a %', 1) > 0
    CONTAINS (columnName, '% {%}', 1) > 0

    Looking for a Word with a "%' in it as follows"stocks have increased by 13%."

    You must put the % as a printjoin in a lexer and use this lexer in the index settings in order for the % to include in the indexed tokens. Then you can use-to escape to the % as an individual character. You cannot combine sentences using the {and} with wildcard characters who escape. Please see the demo below.

    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> create table test_tab
      2    (columnName  clob)
      3  /
    
    Table created.
    
    SCOTT@orcl_11gR2> -- lexer with % included in printjoins:
    SCOTT@orcl_11gR2> begin
      2    ctx_ddl.create_preference ('test_lex', 'basic_lexer');
      3    ctx_ddl.set_attribute ('test_lex', 'printjoins', '%');
      4  end;
      5  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11gR2> -- index using lexer:
    SCOTT@orcl_11gR2> create index test_idx
      2  on test_tab (columnName)
      3  indextype is ctxsys.context
      4  parameters
      5    ('lexer test_lex
      6        transactional')
      7  /
    
    Index created.
    
    SCOTT@orcl_11gR2> -- test data:
    SCOTT@orcl_11gR2> insert all
      2  into test_tab (columnName) values ('The shares have increased by 13%.')
      3  into test_tab (columnName) values ('other data')
      4  select * from dual
      5  /
    
    2 rows created.
    
    SCOTT@orcl_11gR2> commit
      2  /
    
    Commit complete.
    
    SCOTT@orcl_11gR2> -- query:
    SCOTT@orcl_11gR2> select * from test_tab
      2  where  contains (columnName, '%\%%') > 0
      3  /
    
    COLUMNNAME
    --------------------------------------------------------------------------------
    The shares have increased by 13%.
    
    1 row selected.
    
  • escaping from xml string

    How to escape from <>, in the xml string of & lt; , & gt; is it possible to convert the entire xml string in this format
    ex:
    < root > < example > < id > 89 < /ID > < / sample > < / root >
    This must be converted to

    & lt; root & gt;. & lt; sample & gt;. & lt; ID & gt;. 89 & lt; /ID & gt;. & lt; / Sample & gt; & lt; / root & gt;

    myString = " 89 ".

    myString.split(")<>

  • Firefox issue when printing PDF file from browser

    I have a problem when printing a PDF generated file from the provider of the Web site. What impression it will show anything on paper. It print empty document. This happen when I'm using the latest Firefox browser worm 29,0. If I try to print the same document using the previous version of Firefox (v28.0), it will print normally as usual instead of a blank page in worm 29,0.

    How to solve this problems. Can I change in the browser by setting to make it able print PDF file generated from Web site.

    Hello bondzerg, it's currently a bug in firefox's built-in pdf viewer that is studied by our developers. in the meantime, you can use a plugin third pdf as Adobe that you can enable in the firefox options > applications -scroll down and set the default action for the portable document (pdf) format.

    How to disable the built-in PDF Viewer and use another Viewer

  • Audio lost when moving clips from browser to timeline

    Let me repeat my question:

    Working on a project I must have done something wrong and now when adding clips on my calendar they transfer from the browser, but the audio is muted. In the browser the audio works fine but once in the timeline, it shows greyed out and there is no sound.

    This is a picture of the project; Note the upper clamps with audio muted

    any suggestions on how to restore the audio?

    Thanks in advance

    SHIFT-1/2/3 to select Apply a + v, v only, a single...

    so, for your needs of headset-1 did the trick...

  • How to export media files from browser picture motion on a memory stick

    I have downloaded a series of photos on my camera to my computer and now I would like to download these images on a memory stick, so that I could display them on an electronic picture frame. I am unable to follow the instructions of the computer, because the relevant windows do not appear.

    Hello

    1. what version of Windows are you using?

    2. What is the brand and model of the camera?

    3. what screen appears when you connect the device to the computer?

    See the link below:

    https://www.custcenter.com/app/answers/detail/A_ID/4432/~/exporting-files-from-camcorder-to-computer-via-picture-motion-browser

    When exporting to computer try select the location as a pen drive and check if it works.

    If the solution above does not, contact the manufacturer of the Application.

  • Photosmart 5520-printing from browser job queued sticks

    Running Windows 7 32 bit home edition and I am trying to print 9 Explorered Internet consistatnly.

    Since the purchase and installation of the 5520 printer, I've been running the questions where the jobs are in a print status in the queue but nothing comes out of the printer.  The printer is configured to print from WiFi and happens on all 3 of my computers.  I need to remove the task from the queue and then stop and restart the spooler before work service removes it from the queue.  I can print from Word, Excel and other applications, but when printing from the browser it happens at least once a day.  I would say that if a website has a button "print" the problem does not occur, but when you select just print in the menu of the browser, it happens more often.

    It becomes very annoying and would like this to be resolved.  This never happened with my Canon Pixma printer that has replaced this printer.  I ran the HP printer diagostics and there no question.

    The problem is caused by a conflict pilot between IE 9 and the print driver. The solution is to uninstall IE 9 and use IE 8. Normally, this solves the problem. If this isn't something you want to do, there are other options. First of all, you can try using another web browser. I'll include links to Firefox and Chrome downloads. Another of the options, is that you can try to use a different printer driver. I would add as well the instructions below. Hope that helps.

    Firefox:
    http://goo.GL/7ICv2

    Chrome:
    http://goo.GL/MAqrN

    To use a different print driver for printers HP with Windows 7:
    1. click on the start menu.
    2 click devices and printers.
    3. right click on your printer.
    4. Select printer properties.
    5. click on the Advanced tab.
    6. click on new driver.
    7. click on next.
    8. Select HP in the first list.
    9. Select Deskjet 450 in the second.
    10. click Next.
    11. click on finish.
    12. click on apply.
    13. click OK to close the window.

  • Cannot copy and paste the content of an email from browser AOL9.5

    Windows 7 can not / not to highlight, or cut and paste using aol9.5 which is compatible with Windows 7. HP will not help me. Hope the forum will, like MS wants $49 to talk to me. New computer, about to come back and continue to use the old XP. Thank you.
    In an email, I can 'select all' and copy and paste, but if I want a part of this opportunity and send someone else, only 'PART' of this same mail via via cut and paste, it doesn't allow me to do.  I have included for the forum, my chat session with HP that has not helped me... He talked about IE and I'm not on IE, I use aol9.5. So thank you and hope someone can help me.  Here's the question/conversation.  Thanks for your time in advance.   Gail

     
    If I send you an email and then I want someone to send the same email, but with less content that what I sent you, cut and paste highlights the whole email and not just the portion I want to send to the other party. I have to use the delete button to make it work properly.  Below is the response from HP.

     
    [Monday, September 13, 2010 16:23]-Rajeev K says:
    I understand your concerns. In this case, I'm afraid to say because this content is available to the web browser in line, we can not able to perform the cut dough. If we need to send content limited from the particular email, in this case, you can copy paste the documents to any word in the document then right a new email and send the details according to your requirement.

     
    [Monday, September 13, 2010 16:23]-Gail Smaldone says:
    Hope you understand. Google says Windows 7 allow to cut and paste, and highlight the part of the sentence, it does not work.

     
    [Monday, September 13, 2010 16:25]-Gail Smaldone says:
    What you say makes no sense to me. I do a lot of extra work.

     
    [Monday, September 13, 2010 16:26]-Rajeev K says:
    Gail, the issue is not with Windows 7.

     
    [Monday, September 13, 2010 16:26]-Rajeev K says:
    It is because of Web browser that we use.

     
    [Monday, September 13, 2010 16:27]-Gail Smaldone says:
    It seems to be Windows 7, Rajeev. I can't yet highlight the cat above. The highlight will not stay up there for cut me and paste.

     
    [Monday, September 13, 2010 16:27]-Gail Smaldone says:
    I use aol 9.5 and sometimes internet explore. Currently, I'm on AOL9.5 which they say is compatible with Windows 7.

     
    [Monday, September 13, 2010 16:27]-Rajeev K says:
    Are you facing the same question with all formats?

     
    [Monday, September 13, 2010 16:28]-Gail Smaldone says:
    I have not tried on IE.

     
    [Monday, September 13, 2010 16:28]-Gail Smaldone says:

    I use aol 99% of the time

     
    [Monday, September 13, 2010 16:28]-Rajeev K says:
    Alright.

     
    [Monday, September 13, 2010 16:30]-Gail Smaldone says:
    What can we do to fix this, if it's not the fault of computers?

     
    [Monday, September 13, 2010 16:30]-Rajeev K says:
    Gail, from now on, we have no other option to change this.

     
    [Monday, September 13, 2010 16:31]-Gail Smaldone says:
    I can't use the computer Rajeev in this way, then.

     
    [Monday, September 13, 2010 16:31]-Gail Smaldone says:
    : () O

     
    [Monday, September 13, 2010 16:31]-Rajeev K says:
    I'm sorry for the inconvenience caused to you.

     
    [Monday, September 13, 2010 16:32]-Gail Smaldone says:
    You are able to talk to who it is created the Windows 7 operating system and see what can be done to make it compatible with aol9.5?

     

    Hi Gail,

    At this point, I suggest to launch Internet Explorer and check to see if you are able to copy and paste the content of the emails. If you are able to accomplish the task uisng Internet Explorer, it could be possible that some features of AOL9.5 do not work as expected, and you would like to get in touch with AOL, to solve the problem.

    Please visit the below mentioned link for help on AOL products:

    http://help.AOL.com/help/microsites/microsite.do

    Kind regards

    Gaurav Prakash - Microsoft Support


    Visit our Microsoft answers feedback Forum and let us know what you think.

  • BlackBerry smartphones can not post with TwitterBerry, nor can I access Twitter from browser

    Since Twitter was DDoSed yesterday, my Curve 8330 m OS avec.138 does not connect to one. When I try to use TB 0.9.5 it returns network request failed. Connection running doctor does nothing. In the browser, I am unable to load Twitter. It shows just waiting and not is never beyond.

    Other sites and applications work correctly, so it is not a failure of data. I am also able to access Twitter from my computer and other phone. I also tried to reset my Berry and clear the browser cache.

    Help appreciated.

    My understanding of yesterday, it was pretty much everyone had difficulties to access Twitter from their phones. It goes without saying that, after a DDoS attack, they would return access slowly and ordinary computer connections are perhaps the safest or easiest to check. Is certainly not a deliberate slight against users of mobile phones.

    That said, I decided to change the TwitterBerry to UberTwitter yesterday due to the recommendations that I have read elsewhere and while the account check the procedure itself does not and continues to fail, I am logged in and able to update correctly. Then it is definitely working now, at least for me.

  • Features missing from browser.newtab.url...

    I prefer the old behavior of newtab in which we could simply select a specific page for which each new tab opens automatically. I find the sight of tiles for new tabs too distracting and cluttered at worst and at best, an additional step.

    Is someone working on a solution that does not entail an extension or a plugin?

    At the risk of repeating information that you already know other sources, Firefox 41 no longer uses a preference for this address because it was constantly attacked by malware. This is a problem from the new tab page and preferences have been introduced in Firefox 13 and it was the decision on how to deal with the problem. Here in support we can help you with the Firefox we know today. If you want to suggest changes for future releases, you can submit it here:

    https://input.Mozilla.org/feedback

    As you know, there is a programming interface that can be used by extensions to replace the built-in page and there are several options available, including:

    • If you are already using the "Restorer of classic theme" or "Tab Mix Plus" extension: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Use only one of these methods at the same time, otherwise there may be conflicts and dysfunctions.

    Setting up substitute new tab and new tab custom

    After installing one of these extensions, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab replace or custom new tab and click on the Options button. (See first screenshot attached).

    New tab Override

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Custom new tab

    It is easy to enter your favourite homepage address. If you check either of the boxes, the expansion will set the focus in the page as well, for example, the cursor will be in the Google search box. (See third screenshot attached). I had to leave Firefox and start it up again before new custom tab started working, but this may have been due to tests so many extensions back to back.

    Success?

  • Everything I print from browser prints purple

    This all started with a fedex shipping label printing. Now, everything I print from the internet... for example a return for amazon label is now purple print. When I print from Chrome it does not purple print.

    Several printer problems can be solved by resetting the printer of Firefox settings:

    1. in the location bar or URL, type: afight: config and press ENTER.

    ( "This might void your warranty!" warning page may appear. Click on 'I'll be careful, I promise!' to continue in the about: config page.

    2. in the find field, type print_printer.

    3. right click on the print_printer parameter and select reset.

    Click on the menu [three bars] button and then click the leave.

    When you restart Firefox, try printing the same page with which you have had problems before.

  • Starting yesterday (02/02/12) my favorites no longer appear to the left of my screen from browser - what happened?

    Since I started using Firefox, my favorite has always show in a window on the left side of the screen of my browser (the same as IE). Starting yesterday (02/02/12) they no longer appear. I went to options to ensure that the Favorites bar has been verified and it is. What's past and how to fix this?

    {Ctrl + B} opens and closes the bookmarks bar

  • TCS Ver6 cannot play videos recorded from browser GUI

    Hello dear,

    I have TCS Server version 6 and recorded its VCS and recorded calls correctly registered in categories but I can't open or read the video browser and the error msg is "cannot play recording. Year error has occurred " according to the attachment."

    Please notify.

    I have the same problem. I opened the file in Cisco TAC week last unsuccessfully in solution, in my case the videos can play in flash mode in all browsers - firefox, IE, chrome, safari's possible new version. Silverlight and quicktime does not work.

    The quality of the recorded video is very bad.

Maybe you are looking for