get the URL of the browser

Is it possible to get the URL of the browser? I have seen an application that gets it and check.

I searched all the related browser api but unsuccessful.

You can add your own item to the browser application menu. The current URL is sent to your application when selected by the user.

See ApplicationMenuItem and ApplicationMenuItemRepository in the javadocs.

Tags: BlackBerry Developers

Similar Questions

  • How do I get the browser permission to set the current location

    I had this problem before, and it's why I keep getting of Richardson, Tx. and sometimes even close to cities.  Most of the time my position shows Richardson, Tx. and when I try to detect my location I get the browser refused permission for the current location warning box.

    I tried my solutions I have found on the internet, and none of them don't keep my sheet set, even after he declares that it is set. How can I get the permission of the browser set my current position (Jackson, TN)?

    A lot of time, the sites asking that your location will try to determine based on your IP address, which may return strange results if your Internet connection performs the routing in other places.

    You can make sure that this check box is disabled, as shown in this picture of eightforums:

    But you can also set the default location to use, here:

  • BlackBerry smartphones can not get the browser to open

    Just got my Curve 9300 wiped and only a correction of a problem I had but now the browser will not open. Any ideas out there?

    Same results after pressing the battery?  If so, not good.

    I know you said that the phone has been shattered, but you can have an available software update.

  • How can I get the browser to graphically SHOW me that I am a SECURE page?

    In earlier versions, there was a graphic indication that I've been on a secure page. Other that by looking at the URL, is there a way to get this indicator showing once again on version 5.0.1? It's a convenient way to confirm the status of a page SSL.

    Padlock is therefore more part of Firefox. Familiarize yourself with the Site identity button at the left end of the address bar:

    You can install this module if you want: *

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    You have several old Java Console extensions in Add-ons > Extensions. You can delete them. Click 'System Info' to the right of your original question to see the GUID ({CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA}) folders to delete according to the instructions in the following article. See:

  • How to get the session from the browser without hestory

    I want to play a movie in my application using streaming.

    So, I use the rtsp url and call a browser from my application that opens the movie in media player perfactly

    But if I click on the "back" button it opens the previous search for a website by the user.

    I used the code to get the browser as session
    Private private = Browser.getDefaultSession ();

    browserSession.displayPage ('file:///SDCard/Data/"+fileName);
    browserSession.showBrowser ();

    How can I get a browser session so that it doesn't show the previous websites of the user and it return back to my request.

    Please healp me to find the solution.

    Thank you very much I am able to run the movie to sdcard in field browser now.

  • The browser you're using refuses to sign in. (cookies rejected) and I tried EVERY DIFFICULTY shown in these discussions. Why used it let me not open a session?

    I get the browser you're using refuses to sign in. (cookies rejected) no matter what I do on yahoo. Help.
    I have yahoo in my cookies 'allow' option always. I accept third-party cookies is selected. I tried to remove the "prefs" file in my profile troubleshooting folder and nothing works. Yet, I can log on using IE without any problem. I hate IE and want to use FF. Is there any solution for this or what?

    Other info. I use adblocker more, but have this option disabled on That did not work. I also use trackblocker of private lifestyle choices and better privacy extensions.

    A picture of all my files in my troubleshooting user profile is attached.

    You can not attach a screenshot in the first row who starts a thread, but you can do it in subsequent responses.

    This problem may be caused by corrupted cookies or cookies that are blocked.

    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

    If the deletion of cookies did not help, then it is possible that the cookies.sqlite file that stores the cookies has been corrupted.

    • Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete the other files of cookies as cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

    You can delete all data stored in Firefox with a specific area through "Forget this Site" in the context menu of a history entry ("" history > view history "or" view > sidebar > History "") or via the subject: permissions page.

    Using "Forget this Site" will delete all data stored in Firefox in this area as bookmarks, cookies, words of past, cache, history, and exceptions, so be careful and if you have a password or other data from that domain you don't want to lose then check that back up these data or make a comment.

    You can't recover from this "forget" unless you have a backup of the files involved.

    It has no lasting effect, so if come back you on such a 'forgotten' site, then the data of this Web site will be saved once more.

  • My home page is MY MSN and when I go to a certain article and I am in fact and that the browser goes back to the top of the page MY MSN rather than where I left

    If I'm browsing subjects on my homepage and find one that reads my interest, I click on it and the browser goes on this site for me to read. When I'm through with that I hit the back button and on most Web sites, the original page back to where you were before you click on the interesting element. Not MY MSN, which is my home page, it returns to the top of MY MSN, which is irritating, especially if the elements that interest me are a group at the bottom of page on MY MSN and I want to read every 5 or 6 of them. How can I get the browser to return to the place I left?

    Try to open the "statutes" in a new tab, and when finished read each article close the tab I hope the MY MSN page original will maintain the position you left it to (unless this page has an automatic refresh frequency, to add new items to the list).

  • Get the error message "Explorer has encountered an error and needs to close" in Windows CE 5.0

    Original title: windows explore it and iexplorer error on mini pc running windows THIS 5.0

    I have a mini pc (pc705?) running windows this 5.0 and I cannot get the browser to work. He said he has encountered an error and needs to close. I tried everything but without exploring, I can not even what it is. It is online but still error. Can anyone help!


    Perform the steps in the article, and check if the problem persists.

    "Explorer has encountered an error and needs to close" Error Message When you start Windows XP

    Hope that helps.

  • How can I make my site default to the "Home" page loading in the browser of dreamweaver?

    When loading my site it goes to the 'Contact' page first.  How can I get the browser to display the "Home" page in Dreamweaver 20141?

    Thank you

    Your hosting server will have a list of names by default it uses for the homepage of your site, as one of these names the page exists in the folder root of your remote site, it will be the first thing to happen when someone goes to

    Index.HTML is the most common kind of window files of DW with your change of open defined Site, the name of the page that you use as the home page of your site to index.html as Ben says, also make sure that it is in the folder local root (not in any subdirectory). Change in the files window will allow DW to re - write all the links to this page located on your other pages. Download pages everything has changed and your homepage will appear by default.

  • I need the URL for the default home page so I can put it in my homepage protection, because all I get when I open the browser's "about"white."

    I'm going to hell to get just the URL for the browser/Firefox start page. I just did a recovery image factory and all I get after downloading and installing the Firefox browser a tab that says 'about white." I don't get the URL in the address bar so that I can put this URL in my homepage of protection (I use Advanced System Care ultimate). Once I get this URL and place it in the area of protection of homepage of my security software, I'll be ready to go, because I want to use Firefox as my default browser. I searched the frequently asked questions and asked the question in every way that I know, in English, and there seems to be no one there who can tell me just the URL of the start page. While I do not understand why it is so hard to get, I certainly need and would be grateful for a solution to this problem.

    It is actually called Subject: Home , but the only way to know would be if you were viewing the page and called to the top of the Page Info dialog... who, for future reference you can get using one of these methods:

    • Right click on a box empty page and select View Page Info
    • (menu bar) Tools > Page Info
    • Click on the globe or padlock icon in the address bar > more information
  • I can't create a shortcut to the site on my desktop, when I click on the url bar I can drag on the browser to open a new, but as I drag him on my desktop I get the circle with the line through it, one that looks like a no entry sign. Help?

    I can't create a shortcut to the site on my desktop, when I click on the url bar I can drag on the browser to open a new, but as I drag him on my desktop I get the circle with the line through it, one that looks like a no entry sign. Help

    Try to drag the image to id web site (favicon) on the left side of the address bar, instead of the URL.

  • Get the URL from the browser form

    I'm certain forms of 10gr 2, I would get the URL of the browser inside my shape. How could I do something like that?

    Thanks in advance.

    With PJC bean is also possible...


    package in2.client;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.VBean;
    public class ClientInfo extends VBean
      private static final ID CLIENT_IP = ID.registerProperty("CLIENT_IP");
      private static final ID CLIENT_NAME = ID.registerProperty("CLIENT_NAME");
      private static final ID CLIENT_OS = ID.registerProperty("CLIENT_OS");
      private static final ID CLIENT_USER = ID.registerProperty("CLIENT_USER");
      private static final ID HOST_URL = ID.registerProperty("HOST_URL");
      private IHandler mHandler;
      private String hostAddress = "";
      private String hostName = "";
      private String hostOs = "";
      private String hostUser = "";
      private String hostURL = "";
      public ClientInfo()
          System.out.println("+  ClientInfro PJC     +");
          System.out.println("+  Peter Valencic      +");
          this.hostAddress = InetAddress.getLocalHost().getHostAddress();
          this.hostName    = InetAddress.getLocalHost().getHostName();
          this.hostOs      = System.getProperty("");
          this.hostUser    = System.getProperty("");
          System.out.println("Host   adress: " + this.hostAddress);
          System.out.println("Host     name: " + this.hostAddress);
          System.out.println("Host op. syst: " + this.hostOs);
          System.out.println("Host username: " + this.hostUser);
        catch (Exception e)
          System.out.println("Init error: " + e.toString());
      public void init(IHandler handler)
        this.mHandler = handler;
      public Object getProperty(ID pid)
        if (pid == CLIENT_IP) {
          System.out.println("Client IP: " + this.hostAddress);
          return "" + this.hostAddress;
        if (pid == CLIENT_NAME) {
          System.out.println("Client Name: " + this.hostName);
          return "" + this.hostName;
        if (pid == CLIENT_OS) {
          System.out.println("Client os: " + this.hostOs);
          return "" + this.hostOs;
        if (pid == CLIENT_USER) {
          System.out.println("Clientuser: " + this.hostUser);
          return "" + this.hostUser;
        if (pid == HOST_URL) {
          hostURL = this.mHandler.getApplet().getDocumentBase();
          System.out.println("Host Url: " + this.hostURL);
          return "" + this.hostURL;
        return super.getProperty(pid);
  • Get url from the browser form 11g?

    Is there any function to get the current url of the browser that is running in applet form 11g?
    Or at least the server part: port?

    Thank you

    In version 11, you can use javascript to retrieve the url of the browser. For example:

         JS_in      varchar2(32767);
         rtn     varchar2(1024);
         -- JS_in is the javascript funtion you want to call.
         JS_in := 'location.href';
         -- "rtn" should contain the complete URL as seen in the browser address bar.
         -- Do something with rtn.
  • Get the Url of the .swf file browser


    Quick question... I need to get the url of a SWF embeded html browser.

    If the url of the browser is " '. ln = en", I need to access it through my swf file in order to find the value of the parameter of ln (language). Any suggestions?...

    Thank you

    a swf file can get its own url, which won't help when the query string is added to the built-in xml file.

    You can use:

    function urlF() {}
    return location.href;

  • Every time (for weeks now), I click Site Preview in the browser I get the white/white screen and no url...?

    I can't find someone through Google or forum here get the same problem but me drivin frustrated grrr and obviously hinders my workflow.  All PLS knows how to solve this problem?  There is no Preview parameter, that I can find anywhere and my browser settings Chrome etc. have not changed and don't know what to do help!


    -Sterling Williams

    The first step, at least in a copy of your .muse file, in order to eliminate the possibilities, remove all custom code and others. If the problem goes away, then you know where to look for the problem. If it isn't, then we have reduced considerably the possibilities that must be taken into account and we can look at some areas less likely.

Maybe you are looking for