Invoking the browser opens the default tab

Hi guys,.

I am writing an application that calls the browser and sends a URL to open for the user. This works perfectly on OS 4.6 to 5.0. However, the OS 6 and 7 the browser is still open with two tabs; We understand the URL I'm trying to open, and the other is the default page of the BlackBerry browser. In addition, the tab with the browser blackberry detaulf page is to the point and my users almost always miss to see that there is another tab open on their browser.

Has anyone seen this behavior before? If Yes, do you know how I can fix this problem?

Hello anawara,

I'm working from memory here, but I believe that the call to b.displayPage (url) displays the browser to your URL, and then b.showBrowser () starts the 2nd tab. If you remove the call to b.showBrowser () on 6.0 +, I believe that the second tab will not be created and only your URL will be displayed.

I'll check this in a sample, but I remember this coming upwards before and I'm pretty sure that's where the problem comes.

Erik Oros

BlackBerry Development Advisor

Tags: BlackBerry Developers

Similar Questions

  • How to invoke the default mail app in BlackBerry

    Hi all

    Is it possible to invoke the default BB from code messaging application? In my application, I just need to invoke the email application when you click on a button. Please help me.

    Thank you much in advance.

    This should help:
    http://docs.BlackBerry.com/en/developers/deliverables/11935/Create_new_populated_email_msg_565427_11...

  • PanelTabbed of the ADF. How to choose the default tab when the page loads

    Hi all
    I have a panelTabbed with three showDetailItem component, and I want the first showDetailItem to the tab by default whenever the page loads.
    Currently, the default tab, that's all that the tab that was last visited.

    I tried to disclosed attribute set to true on the first tab and false for the other, but it does not work.

    Thanks in advance.

    Published by: 947142 on July 18, 2012 11:03

    Have a method in the managed bean that is called when the page is loaded and set the tab disclosed.

    Here is a sample based on your use cases:

    PanelTabbed.jspx:



    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >












    PanelTabbedBean.java:

    import java.util.List;

    javax.faces.component.UIComponent import;
    Import javax.faces.event.PhaseEvent;

    Import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    Import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    Import oracle.adf.view.rich.context.AdfFacesContext;

    public class PanelTabbedBean {}
    Private RichPanelTabbed myPanelTab;

    public PanelTabbedBean() {}
    }

    {} public void setMyPanelTab (RichPanelTabbed myPanelTab)
    this.myPanelTab = myPanelTab;
    }

    public RichPanelTabbed getMyPanelTab() {}
    Return myPanelTab;
    }

    {} public void onPageLoad (PhaseEvent phaseEvent)
    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}
    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}
    If (this.myPanelTab! = null) {}
    List childUIComponent = this.myPanelTab.getChildren ();
    If (childUIComponent! = null & childUIComponent.size () > 0) {}
    for (int i = 0; i)< childuicomponent.size();="" i++)="">
    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}
    If (i == 0) {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);
    } else {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);
    }
    }
    }
    }
    }
    }
    }
    }
    }

    Thank you
    Nini

  • Lack of options "Enter private browsing" "open a new tab" and "Open a new fenΩtre" when click right firefox icon in taskbar

    I just reinstalled Windows 7 64-bit(for other purposes) and of course downloaded firefox 21.0 as soon as I could, but found that it is not all options as there were once (before the reinstall) when I right click the icon in the task bar firefox ("Enter private browsing," "open new tab" etc..).

    As in this same question posted here: https://support.mozilla.org/en-US/questions/943198?esab=a & as = aaq

    I checked the Userchrome.css file and does not exist. In the properties of the start menu "store and view these options... '. ' has been verified (unchecked and recontroler). Also mucked the subject: config with specific options mentioned in the link above and nothing (all are now by default). I don't know if some extensions can cause problems with this, but I currently have stumbleupon and Personas Plus, NoScript, AdBlockPlus (which if I'm not mistaken were all on before reinstalling windows). Even just reinstalled firefox just on the off chance that he can fix it, but unfortunately it didn't.

    It seems to be fixed, I guess that since the last update. I've updated a day or two ago, I forgot to check for it, but it's working now.

  • my calendar is stop when the browser opens a new tab

    someone knows how to fix that

    whenever I go to a new tab in the browser (computer peripheral or laptop)

    my calendar is stop

    When I return to the page... continue...

    Why?

    and how do I fix this?

    Thank you

    Animate edge uses the API requestAnimationFrame for animations.

    When the focus is on a tab, there is no paint and requestANimationFrame does not call a function to update of animation. So, you see the break in the animations.

    Not sure if there is a way to get back on that.

  • The script that creates the default tabs in the margin of the document.

    I need a script that creates marks (1 cm margins: top, left, right, down and two others in the Center, a vertical and a horizontal) independent of the document size. Would look like this: whenever I create a new document, execute an action which rodadoria the script to create a document with the enclosed area, similar to the figure below: thank you!

    http://zip.NET/brsW9j

    #target photoshop;
    if(documents.length) main();
    
    function main(){
    var strtRulerUnits = app.preferences.rulerUnits;
    var strtTypeUnits = app.preferences.typeUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    app.preferences.typeUnits = TypeUnits.PIXELS;
    var cm = activeDocument.resolution/2.54;
    var W =activeDocument.width;
    var H =activeDocument.height;
    guideLine(cm,"Vrtc");
    guideLine(cm,"Hrzn");
    guideLine(W-cm,"Vrtc");
    guideLine(H-cm,"Hrzn");
    guideLine(W/2,"Vrtc");
    guideLine(H/2,"Hrzn");
    app.preferences.rulerUnits = strtRulerUnits;
    app.preferences.typeUnits = strtTypeUnits;
    }
    function guideLine(position, type){
        var desc27 = new ActionDescriptor();
            var desc28 = new ActionDescriptor();
            desc28.putUnitDouble( app.charIDToTypeID('Pstn'), app.charIDToTypeID('#Pxl'), position );
            desc28.putEnumerated( app.charIDToTypeID('Ornt'), app.charIDToTypeID('Ornt'), app.charIDToTypeID(type) );
        desc27.putObject( app.charIDToTypeID('Nw  '), app.charIDToTypeID('Gd  '), desc28 );
        executeAction( app.charIDToTypeID('Mk  '), desc27, DialogModes.NO );
    };
    
  • The Shell user interface by default tab dynamic opening OnPageLoad

    Hi all

    I implement using Dynamic interface version Jdeveloper 11.1.2.4 User Shell.

    UseCase-

    Based on the role, I have to open a default tab (means when user LoggedIn, the user will see a default tab open).

    IssueWhich I have to.

    I try to open the tab by default, onPageLoad (I put my Launcher API call in constructor). This list is thrown exception of NPE.

    May be because the Page has not yet rendered, so we can't get the handle of any user interface ID.

    Where can we put our Launcher API to open new tab?

    Any solution.

    Concerning

    Thank you all.

    I have achieved this goal by adding onload javascript code, which calles the Launcher API and open a default tab.

    Thank you & best regards

  • How to disable the Plugin Check to open every time browser opens

    Whenever I open firefox, "plugin check" opens. Even after I installed and updated all the plugins, the plugin check appears whenever firefox opens. After update all plugins that I restarted my pc, reset the browser and checked for if ensure that my homepage has not changed change plugin firefox, deactivated all my plugins and even tried to block the website by GUESTS.

    I am quite able to check to see if my browser and plugins are up to date and I don't appreciate the unnecessary loss of time with this plugin-control running in every time the browser opens. Similar to the updates, this should be an OPTION check not FORCED and that there should be a way to disable it without the browser opens a blank tab extra or forcing the user to change the subject: config to work around.

    Website: https://www.mozilla.com/en-US/plugincheck/

    Hello, please update firefox to the latest version - it's a problem that normally appears only on older versions...

  • I have doqnloaded a new Mozilla and it responds when I try to open a new tab.

    The browser opens a new tab for the resolution of the problems, but when I try to open a tab, nothing happens.

    No idea where you picked up the extension of the Sammsoft toolbar? A web search indicates that it might be unwanted software.

    Try turning it off here:

    Firefox orange (or the Tools menu) button > addons > Extensions category

    If a link appears above the extension after the deactivation, click on that restart Firefox to complete the process.

    Does make a difference with your new tab button?

    Other resources:

  • can not put a new tab to open the default google search

    I found these instructions:
    In case you need more than one step by step:

    (1) in a new tab, type or paste about: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

       Page thumbnails (default) => about:newtab
       Blank tab => about:blank
       Built-in Firefox home page => about:home
       Any other page => full URL to the page
    

    Press Ctrl + t to open a new tab and check that it worked.

     However as per the attached screen shot, I do not have a preference "browser.newtab.url"
    

    Hi, 41 of Firefox, you must use an add-on like tab override (browser.newtab.url replacement), to make changes to the page tab.

    Once installed, open the Add-ons (Ctrl + Shift + A) Manager > Extensions, and then look for the new tab override and click Options to set your preference.

    Note, if you want only the new tab to be the same as your home page, you can use the Add on new tab homepage instead.

    You will then need to restart Firefox for all changes to take effect.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • I want to set the default url of all new additional tabs I have open - how please?

    When I'm already browing and I choose to open a new tab opens on the Yahoo search engine, and I don't see how to change this. I want to open with google.co.uk. The first page is the default in Firefox and it works very well - it's just the extra legs that are the problem.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can watch the pref browser.newtab.url the topic: config page and set this pref to the URL of your preferred the new tab page.
    You can use these special pages or set the pref to the URL of your preferred the new tab page.

    • the new default tab with the tiles page is on: newtab
    • the default homepage is Subject: Home
    • to a blank page, you can use Subject: vacuum

    The pref browser.newtabpage.enabled must be set to true to use the page defined through browser.newtab.url like the new tab page.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • Why you put "Open a new tab" on the right side of the browser, when you close a tab on the left and you type a new URL in the browser on the left?

    I changed my computer from XP to Windows 7 and migrated my FF browsers. But... now the tabs at the top of the page are all right (they were upper-front left - where I loved her)

    The most important is the "open a new tab" + - is on the right. But that is not sensible. Why you put "Open a new tab" on the extreme right of the browser, when you close a tab on the left and you type a new URL in the browser on the left?

    How can I put my "open a new tab" immediately to the right of 'Close tab' - as if it was before?

    Please advise?

    Try clicking on "Restore default settings" in the palette to customize to reset the toolbar customization.

    • Firefox '3-bar' menu button > customize
    • View > toolbars > customize

    You can attach a screenshot?

    • Use a type of compressed as PNG or JPG image to save the screenshot
    • Make sure you do not exceed the maximum size of 1 MB
  • xdg-open does not take into account the url and opens the different website when Firefox is the default browser in Ubuntu

    I am running Ubuntu 14.04 64 bit with Firefox version 38 for Ubuntu
    It is complected, and I tried to explain everything clearly.

    Today, I noticed a strange behavior.
    I have several URL saved as .desktop files.

    I use webupd8.org as example.
    The code for the exec in the desktop file is:
    Code:

    Exec=xdg-open http://www.webupd8.org/
    

    Today, I noticed that if I try to go to webupd8.org, or most of the other sites, by launching the .desktop file for this site, or by typing the url
    Code:

    http://www.WebUpd8.org/

    in the dashboard Firefox opens to a completely different site. The site that opens is a site that I set up for my children's grandparents to watch videos and see photos of the children. This Web site opens each time. I'm not be directed to a site at random each time. This is the case when I try to visit the webupd8.org OR one of several websites using .desktop file or enter the url you want in the dashboard. Whenever I went to my own domain.

    It happens that I have also several sites registered in a reminder in the Firefox icon in the Launcher sidebar thing in Ubuntu.
    In the case of the beast, the exec code is slightly different and it still responds as it should. In this case, I have:
    Code:

    Exec = firefox-new-tab http://www.webupd8.org/

    Also, if I change my default in opera browser, for example as .desktop files and entering the url directly in the dashboard work as it should.

    To recap:

    When Firefox is the default browser, enter a url in the dashboard or use a to surf to a desired site .desktop file causes my be redirected to my own domain name (which is hosted remotely and not on this computer).

    If, however, I change the Exec command in the .desktop file
    Code:

    Exec=xdg-open <url>
    

    TO
    Code:

    Exec = firefox-new-tab < url >

    the .desktop file will open Firefox and go to the desired site.

    If I change the browser by default Firefox to another browser, everything works as it should and has always so far. That is, with the Opera for example, both
    Code:

    Exec=xdg-open <url>
    

    and
    Code:

    Exec = firefox-new-tab < url >

    result in the browser by opening and going on the planned site. Typed a url in the dashboard is not a problem if the default browser is not Firefox.

    Anyone seen this before? If so, how to solve it?

    Thank you very much for your answers!
    I checked the url of the home page in Firefox and it has been set at startpage.com, but then when I looked at the default programs in Ubuntu, I noticed that the default program for the web had been unintentionally configured to use a .desktop file that leads to t he admin for my Web site login page.

    I changed this back to Firefox and the problem was solved.

  • How to set the default for when I opened a new tab? It keeps opening to see the strange search window.

    The answer that came if applies only to Windows - I use a Mac.

    You can check the browser.newtab.url pref on the topic: config page.
    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    See this article on the page tab (topic: newtab):

    You can use the SearchReset extension to reset preferences to default values.

    Note that the SearchReset extension runs only once and then uninstalls automatically, so it will not appear on the page "> Firefox Add-ons" (topic: addons).

  • How do you disable MySearch Dial to being the value by default when you open a new tab?

    I was able to change from being the default in the search box at the top of the browser, but every time I open a new tab the whole tab by default is always to the search page of MySearchDial. I think it was somehow installed on my pc via the malware and it seems to have gotten rid of it in IE and Chrome, but he persists in Firefox. Also I do not see it in the list of programs in the control panel so I can't uninstall it like that (unless it's called something else?).

    Hello, you have various present malicious addons. Please, try the following steps:

    1. Reset firefox (this will keep your bookmarks and passwords)
    2. then go to firefox > addons > extensions and where there are still extensions listed there, disable them.
    3. Finally, run a full scan of your system with security tools like the free version of malwarebytes and adwcleaner to ensure that adware is not present in other parts of your system as well.

    Fix Firefox problems caused by malicious software

Maybe you are looking for

  • stream audio getUserMedia dies after 5 seconds

    After about 5 seconds to work correctly, the audio icon disappears from the address bar and the flow becomes constantly zero. HTML to reproduce: < script > function gotStream (stream) {} var audioContext = new AudioContext();var entry = audioContext.

  • DeskJet 3520 - envelopes wrong impression pins

    Impression of the envelope is not consistent. Tray guides alignment envelope in the Middle, but the impression is aligned to the right side of the status bar. The word setting is good (good printer model), print preview is good... but bad print resul

  • HP 8620 pro: Halve copy via flat

    Bij het kopieeren via flat wordt reviews of half van originele afdruk op print paper. like een Holland. GR Steven4682

  • Malware - software Antivirus PRO

    A malware called Antivirus software program PRO installed itself on my computer from the Internet.  It gives me Alerts popup saying that my computer is infected, and it says that I'm being attacked by two viruses (BankerFox.A and Win32/Nuqel.E) and i

  • BlackBerry smartphones I can tempoarly disable an email account?

    I have a Storm with the logiciel.148. There are times that my wife wants to access his e-mail account when we travel so I installed his Email on my Storm. But I want to temporarily disable his account rather than delete it. Any ways easy to do? Thank