BrowserField fails to open a local resource within the PIMListListener

Hello

I have a problem with the opening of the resources of regional settings through BrowserField inside the PIMListListener implementation.

My local resources is an html element placed on ROOT_PROJECT/res/test.html

I opened it to principal in UIApplication and it works fine. Howevwe, I instantiated my PIMListListener which manages caledar event, when my PIMListListener is awake performed copy the following code:

UiApplication.getUiApplication () .pushScreen (new TestView());

Here he code of the manufacturer of the display:

_Config BrowserFieldConfig = new BrowserFieldConfig ();
BrowserField _bf2 = new BrowserField (_config);
Add (_bf2);
_bf2.requestContent("local:///test.html");

After the insertion of the PIMListListener calendar events call display class (screen), but the result is an empty view with this error message:

...

Applicant content of error for:

local:///test.html

Error: resource does not exist

....

the same operation done very well in the principal works of the application!

Any ideas?

Thank you

You must requestForeground in your app - that's what I meant by putting you in the foreground:

requestForeground();

I think need you immediately after the pushScreen (_screen);

I see no reason why you need a Thread.sleep and I urge you to remove it.  At this point in your application that you run on the thread of events, so a sleep blocks.

Tags: BlackBerry Developers

Similar Questions

  • Greetings fellow filmmakers! I use Premiere Pro vers.7 & have recently upgraded to CS3, however, I find this pre-existing vers.7 (project files) work even if they open do not fall within the timeline. They are unusable in CS3?

    Greetings fellow filmmakers! I use Premiere Pro vers.7 & have recently upgraded to CS3, however, I find this pre-existing vers.7 (project files) work even if they open do not fall within the timeline. They are unusable in CS3?

    Double click on the sequence imported into the location of the project.

  • Trying to access local resources in the RDS, the resources of the user session only 1 shows

    I'm developing an application to be able to copy files to the local drive of the user to a RD.  I Remote Desktop of the user defined options to put their C: drives the RD session on two remote computers.  When I connect the server from a remote computer, I can see his drive C: in the left pane of Windows Explorer.  When I connect with each other, however, the C: drive of the computer is not indicated, and I can't access it.

    My application will have multiple simultaneous users, most of the time, and some of the programs need to return data to their respective local computers.  Is there something I'm missing, or there at - it another way to do this programmatically or by command line Copy?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Remote Desktop Services forum. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/winserverTS/threads

  • How to open a local file on the computer?

    I use FF 25.0.1 connect my console EMC VNX5300 JAVA so I can administer the San. One of the functions is to create reports on the use of SAN. The SAN console writes files on the local computer and use the browser to open and view the file. Here is the address of one of my reports toolbar:

    file:///C:/users/MyName/EMC/Unisphere/reports/7.32.2.0.36/ArrayConfig.HTML?XML=file%3A///C%3A%5CUsers%5Cjmilano%5Cemc%5CUnisphere%5CReports%5CFCN00131500068_UMReport_12-17-2013_15-58-21.XML

    changerepeatedly used more small text to repeat, if not obscured when I discover it ~ J99

    file:///C:/users/MyName/EMC/Unisphere/reports/7.32.2.0.36/ArrayConfig.HTML?XML=file%3A///C%3A%5CUsers%5Cjmilano%5Cemc%5CUnisphere%5CReports%5CFCN00131500068_UMReport_12-17-2013_15-58-21.XML

    The report must be a table formatted data, but instead, I get a blank window in my tab. If I run the report under IE, it works OK. It looks like this:

    Storage system: FCN00123456789XML file:... / review-FCN00123456789_UMReport_12-17-2013_15-58 - 21.xmlSystem Configuration Viewer: 1.2.2.1.0036GeneralConfigurationView ALLIntroductionXML file InformationIntroduction
    The storage system configuration display function provides an easy to understand on the XML configuration data generated by the storage system. Note that no configuration data for the part of the VNX system file is included.
    The XML version of the data is encrypted and sent to your service provider.

    The following information is available on each tab:
    ....
    ....
    ....

    How can I get FF to show the report? Thank you.

    I don't know what was the original question, if it was based on a thug affecting on one of my addons or whatever, but one day FF said that my browser took too long so that it starts and asked me if I wanted to correct that. Duh!

    I said yes, and he seems to have reset my settings of browser including losing all my addons. The positive side is that once I have re-installed all my addons, I can now navigate local reports generated by my EMC SAN with no problems!

    Yah, problem solved.

  • Failed to open when you click on the desktop icons

    Hi, none of my desktop icons work. It does'nt matter if I left or right click on them. The only thing I can do is open internet explore from the taskbar!

    Help, please!

    Hi, none of my desktop icons work. It does'nt matter if I left or right click on them. The only thing I can do is open internet explore from the taskbar!

    Help, please!

    3 proposals:

    1 rebuild the icon cache. Yours could be damaged.

    http://www.Vistax64.com/tutorials/117229-icon-cache-rebuild.html
    Use the Option One. It is easier.

    2 restore explorer.exe
    Press CTRL + Alt + Del > Task Manager > Procesess tab > right click on explorer.exe > click on end process > Applications tab > new task... > in the Open box, type explorer.exe > OK.

    Check your desktop icons.

    3. If this problem is recent, and if you remember a date where worked the icons on your desktop, and then do a system restore.
    Choose a date where the desktop icons worked as your restore point.
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

  • Open App World from within the application of AIR bypassing the browser opens a blank window?

    Hi all

    My question, as you can see in the title of this post is, you can open the App world app of in an AIR application without using navigateToUrl, which allows the browser to open first with an empty window.  In my application, I have now a button that opens the App World my app page so that users can post comments, or buy the version complete, but it seems a bit slopply how it works when you use navigateToUrl.  Is there another method for opening the app in App World?

    Thank you

    Use navigateToUrl (new URLRequest ("appworld://content/ [app_id_here]"));

    App playbook: Car accident 

  • Protection of resources within the custom-dev-starter pack

    Hello

    I've added a few pages of *.jspx to the custom-dev-starter pack. It seems that all the pages can be reached who without credentials - which translates again as components that is personalised, that can be referenced without having to provide credentials of the IOM, on any level.

    Example:

    secret-stuff/secret.jspx

    is accessible by entering:

    / Identity/faces/secret-Stuff/secret. JSPX

    Is there a way to protect resources somehow? We have not installed OIA, use the product is not an option. It would be nice to be sent to the login screen related to the context of identity.

    Hope someone knows something about this topic

    Kind regards

    Vegard

    Have you added entriesadfc-config.xml

    • Do not use pageFlowScope or backingBeanScope by registering a bean directly to adfc-config.xml . Use the session, and request scopes instead. If you have built your own workflow, save your bean there can be done with any required scope.

    http://www.Oracle.com/technetwork/articles/IDM/Singh-OIM-UI-2159006.html

    ++ You must update the file jazn-"Data.xml"

    How to deploy a new stream ADF task in OIM 11 g R2 - identity management

    The following lines in jazn-"Data.xml" present to user_projects\domains\idmdomain\servers\oim_server1\tmp\_WL_user\oracle.iam.console.identity.self-service.ear_V2.0\6bddg\META-INF\jazn-data.xml oracle.adf.controller.security.TaskFlowPermission /WEB-INF/oracle/iam/ui/sample/homepage/tfs/hello-world-tf.xml#hello-world-tf reviews

    ~ J

  • I can't open directory within the inappbrowser

    Hello friends, I opening trouble a directory within the inappbrowser to put a picture on a Web site, for example, think that it is allowed, the app have only 2 plugins installed (inappbrowser and whistelist) or maybe I need to install some plugins more? I use CLI 6.3.0 for compiling

    See the docs for the inappbrowser of the plugin.

    Use the "_system" parameter when calling cordova.inappbrowser.open ().

  • Hyperlinks to excel in specific documents within the portfolio.

    Hi, I would like you to click on a link to excel that would open a specific document within the portfolio. Is this possible? Currently, we use a code that is 'filename.pdf #page = X' in the hyperlink in excel. ThanksHyoer

    Hi pas7a

    No, it is not possible, you can link to a file specific pdf to excel, but you cannot link Excel to PDF in a pdf portfolio.

    Kind regards

    Rahul

  • Failed to open local files.

    I can't open any local files or folders in Firefox.

    I tried to open the following file types in Firefox: htm, html, txt, pdf, xpi.

    I tried to open files in one of the following ways:
    -Drag drop Firefox from the windows Explorer
    -Right click on the file in windows Explorer and open it with Firefox
    -Double-click on the files that would be opened in Firefox by default
    -"Open a file" from the file menu of Firefox

    I encountered this problem in Firefox 3.x and Firefox 4.0. When I try to open a file in Firefox, it creates a new tab with the path to the file in the address bar, but the file does not open.

    Any idea what could go wrong?

    Thank you
    Rob

    You can have an extension (NoScript?) that blocks access to the local files.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    • Makes no changes on the start safe mode window.

    See:

  • Failed to open object of group policy on this computer. Do not have the appropriate rights.

    Hey all the...

    Today early in the morning, I opened my local Group Policy Editor and make some changes as I prevent users to access any drive on my computer, I enable "restrict all drives". do not forget that I do these settings as an administrator, because my computer has just a user account and this is my own account I mean administrator. So when I close the strategy group, then after my right-click was also spent with these settings. and now I am trying to open the Group Policy Editor to edit my previous settings. mean now I want to disable "restrict all drives".

    Whenever I want to open my my computer Group Policy Editor to display a few errors. I have post here in pictures.

    Failed to open object of group policy on this computer. Do not have the appropriate rights.

    After below error dialog box (1st photo).

    Group Policy Editor opens but shows nothing (2nd photo),

    Please help me as soon as possible...

    You did something different this time.  Basically, you options are only for updating the operating system.

  • How to open a local file using JavaFX?

    How to open a local file using JavaFX?

    Is there something similar with the code below?

    ---------------------------------------------------------------

    java.awt.Desktop import;

    .............

    try {}

    Desktop.getDesktop () .the (new File(\\file_to_open.extension_file));

    }

    catch (IOException ex)
    {

    }

    ............

    So the final code might be something similar to:

    button.setOnAction(actionEvent -> {
      FileChooser dialog = new FileChooser();
      dialog.setTitle("Open Resource File");
      dialog.getExtensionFilters().setAll(new ExtensionFilter("PDF Files", "*.pdf"),
          new ExtensionFilter("Text Files", "*.txt"));
      File file = dialog.showOpenDialog(mainStage);
      if (file != null) {
          myApplication.getHostServices().showDocument(file.toURI().toString());
      }
    });
    
  • I was download educational resources of the school of a Web site for a while, but recently a notice appears when I try to save the document: Adobe reader cannot open this document because it is not a file type supported or because the file ha

    What can I do to access and save the documents of this educational website?  I'm able to download, but when it comes to saving the document, the above answer is displayed.  This was not always the case.  In the past, I was able to download as well as saving resources, until I had to install a version update of the player.  This is where the problem started.  I am able to save documents on my husband's computer, but not on my MacBook - and this is where I need to save them.

    I hope someone can help

    Chantelle

    It could be that Reader is not used to open it in your browser.

    Have you tried right-clicking on the link for the pdf files, download them and then using the file > open within the drive itself?

  • Can I use a bookmark or a link to open an another .pdf within a .pdf file?

    Hello, yes I am a newb.

    V 9.4.6

    I created a Word doc page and inserted four objects the Documents Adobe Acrobat, displayed as icons at the bottom.

    I want the user to be able to click on a hyperlink in the document and / or the icons at the bottom to open one of the other four .pdf

    I tried to use bookmarks, but it doesn't have the ability to open the file.

    I tried using the links because I know he can open a file, BUT I can only open a file located on a local, network or URL not within limits?

    I tried to create a portfolio to a .pdf which included all five files (.doc + 4 .pdf)

    How to open a .pdf file that is located in a portfolio or incorporated into another or I'm trying to do the impossible?

    Suggestions, examples or links would be appreciated. TIA.

    If you use an accessories portfolio or file in PDF (not the Word document), you can use a bookmark, link, or button Options to open an attached document. Before you create the action, close one of the accessories that can be opened. When you create the action, select "Go to a page view" type, open the attachment, and then click on the Set"" button. (If you use a bookmark, you must first delete the default action gets it automatically created when you add a bookmark). You can then go and change the action to select "Open in a new window", if this is the desired behavior.

    The point is that you set a bookmark/link/button action once the files are attached to the main document.

  • Safari Version 6.1.6 (7537.78.2) fails to open certain websites. "Safari cannot establish a connection to the server.

    Safari Version 6.1.6 (7537.78.2) fails to open certain websites. "Safari cannot establish a connection to the server.

    Safari - no support for third-party modules can cause Safari to suddenly quit, or have performance problems

    Safari does not load a page or webpage elements are missing

    Safari / other browsers - Web site does not

Maybe you are looking for