Opening of the local shared .html file in the browser?

My WebWorks application creates and saves the test.html file in the shared folder to 'blackberry.io.dir.appDirs.shared.documents.path' successfully. If I try to open this file in the browser of PB, like this

var filePath = blackberry.io.dir.appDirs.shared.documents.path + "/ test.html ';

var args = new blackberry.invoke.BrowserArguments (filePath);
BlackBerry.Invoke.Invoke (blackberry.invoke.APP_BROWSER, args);

can I get an exception with the message: 'undefined '; I guess that the args object is not created. The browser is not started.

However, if I run the browser PB manually, navigate to the file test.html in the 'file:///accounts/1000/shared/' folder, I can open it.

What Miss me? Thank you.

More surprises every day... Apparently, the browser of PB does not file:/// protocol support; He expects a URL that begins with http:// or https://. But I managed to write my own code to open the .html file in the browser of PB. However, it's disappointing to do this kind of "gymnastics" to activate the basic features.

Tags: BlackBerry Developers

Similar Questions

  • Cannot .jnlp file open when asked to open with the browser web firefox in ubuntu 11.10 using firefox 6

    After the upgrade to ubuntu 11.10 the firefox browser 6 download and open from the website interactivebrokers .jnlp file. Usually, I go to the IB website and download the tws.jnlp file that opens in the browser web firefox. But now when I click on open it with the button in the Firefox browser, firefox browser opens a new tab and view the same open the window again.

    Seems that, after the upgrade to 11.10, jnlp files will open with firefox instead of javaws (Java Web Start).
    If you right-click on the file in the download folder and choose 'Open with', you can start web java manually.
    Bug in Ubuntu...

    You can do a right click any .jnlp file and select 'Properties', go to 'Open with' tab, mark Sun Java 6 Web Start and click "set as default". Should fix. I don't know what will happen if you have java ubuntu by default instead of the Sun may be that it is not necessary.

  • Anyway to download a file directly from acrobat without him open in the browser.

    I created a form of simple interactive command to our distributors. I intend to provide the form by e-mail, specifically of mailchimp. However, in mailchimp during binding to a file it will open in the browser. It is a problem because the Send button does not work correctly in some browsers, IE, Firefox and Chrome. Is it possible to download a file to your computer right in Acrobat, or y at - it a simple way I could program the file to download on the computer rather than the browser to mailchimp. I'm not a programmer, so I didn't know if it was an option or not.

    Thank you

    Can't you just include the PDF file as an attachment to the email?

  • HTML, defined as the chain opened in the browser of the device, and not internal webkit

    I have the stupidest bug AIR here on iOS. HTML defined as string to StageWebView now open in the browser on the device with the URL like this http://adobe.13323422.apollo.air/

    It doesn't happen on the device (iPhone or iPad), in the Simulator. Anyone?

    Answering my own question where others stumble upon the same problem. I got my StageWebView a listener:

    htmlContainer.addEventListener(LocationChangeEvent.LOCATION_CHANGING, handleExternalUrl );
    

    My problem was double. First of all, I had to check that property .location on the event passed to my handleExternalUrl handler object did not contain the string "apollo.air". No url should never contain a called .air TLD so this test never fail :-)

    Secondly, I'm. preventDefault() and this has prevented other things happen as it should be in the application. Now works perfectly. It's still weird that this has occurred on iOS devices and not in the iOS and/or any other device Simulator.

  • Deny access to my SkyDrive workbook error: "workbook is greater than the maximum size of workbook can be opened in the browser.

    Original title: deny access to my workbook to SkyDrive

    I have a workbook stored in SkyDrive that I share with several co-workers. We had no problem sharing the workbook for the last two weeks, but this morning, we are all getting an error message saying "Workbook is larger than the maximum size of workbook can be opened in the browser" and cannot access it at all. It's a very important workbook we need on a daily basis at work, then I would greatly appreciate any advice you could provide!

    Thank you
    Samantha

    Hello

    Because the problem is related to SkyDrive, I suggest you to report this problem in windows live support team.
    http://windowslivehelp.com/product.aspx?ProductID=6

  • Possibility for the PDFS linked to be opened in the browser?

    Hello

    I use 9 Captivate and I wonder if it's possible for a PDF linked to open separating it into PDF format, rather than in a new browser window.

    For example, the PDF file has automatic update fields that are not updated when opened in the browser, but updates correctly when opened in Adobe Acrobat.

    Thank you

    Hello

    To my knowledge, how any linked file opens or that is completely dependent on the end-user device and how it has been configured to process regardless of the file is.

    I would be surprised to discover that you can influence exactly what happens when the user clicks on the link.

    I don't believe in other words, you can force a specific behavior.

    See you soon... Rick

  • AdobeConnect open in the browser in firefox

    Hello

    I am trying to open Adobe Connect in browser Firefox (on Mac, but generally on any OS).

    It works in Safari and Chrome.

    I was able to identify the issue when you run the following code.

    < h1 > Acrobat Connect Pro iframe test < / h1 >

    " < iframe src =" https://my.adobeconnect.com/yukochap?guestName=Antoine & [email protected] [email protected] "style =" width: 1000px; " height: 500px; » >

    < / iframe >

    I have attached the code in a small document so that you can try yourself - test_adobe_connect.html. You will see my results as screenshots.

    (1) Firefox: does not work in the browser, works in the module

    (2) chrome: Adobe Acrobat Connect Pro plugin detected - open in the browser and automatically connected

    (3) safari: Adobe Acrobat Connect Pro plugin detected - open in the browser and automatically connected

    I need the good url/attributes to open in the iframe to open adobe connect correctly.

    Looking at the documentation, I couldn't find any clues.

    Thank you

    Antoine

    test_adobe_connect_html_and_testconnect_html.png

    Try adding & Launcher = false after login.

    For example: https://my.adobeconnect.com/yukochap?guestName=Antoine&launcher=false

    Who will say Connect do not use the Add-in. If the add-in is available then it opens in its own window you see in FireFox.

  • I can't click on a limk in an email and have it open in the browser after update tp 38.0.5

    I use Thunderbird for my e-mail address. Before the update of Firefox I could click on an email and the link opens in the browser. Now ir is not.

    IE windows open. Go to the settings menu. Reported by default in IE
    Web browser. Do not turn on the "check if default" option. Close IE

    Now, open Firefox. Type of topic: preferences #general< enter > in the
    address bar. Make Firefox the default browser and activate always check Firefox default browser.

    This can solve the problem.

  • Is there a plug-in but that allows pdf forms to be opened in the browser and submitted?

    Yet is there a plugin for Firefox that will enable pdf forms to open in the browser (instead of downloaded), then subjected to a e-mail address using the button send the form? I finally installed the plug-in that allows a PDF open in Firefox and not downloaded, but does not have the submit button.

    Help. Same question.

  • Opening a local HTML file in your browser without triggering the Proxy credentials?

    I am trying to show my muse files locally by saving the HTML file on a network share accessible by various people, but this causes me problems with our proxy server.

    Whenever someone clicks on a page I get the proxy server titles pop up appears asking you for each members personal password etc...

    I checked the source code and can see that the following code is outwardly shouting at the catalyst for business could it be the cause of the problem?

    <!-JS includes->
    "< script type="text/javascript">".
    If (document.location.protocol! = ' :') https document.write ('\x3Cscript src = "http://musecdn.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type = "text/javascript" > \x3C/script > '); )
    < /script >

    Is there a way to disable all external links when you export as HTML in muse?

    I want to just run the Web site internally and do not need to search anything via the internet.

    I have many files requiring an update from time to time I don't want to have to trawl by code and remove this external link every time.

    This thing is fundamental to Muse how works and Muse always makes reference to the server-based versions. Do not hesitate to install a local version of jQuery and batch replace the text of the source code in an appropriate editing tool that would be for all purposes the simplest useful for text editors.

    Mylenium

  • local HTML-files in app browser without download in HTMLRescources.zip?

    Is it possible to display the local html file in the browser in app without download in HTMLRecources.zip?

    If I use the overlay web content Folio I choose a local html file. It will be displayed another property but unfortunately in a setting not in the in-app browser.

    Are there opportunities?

    The only way to do this is through the HTMLResources.

    Neil

  • Download the file created from BLOB (as opposed to open in the browser)

    Hello, everyone.

    This project is really pushing me to become familiar with many functions, that I have never worked with before.

    The question this time:

    If I have a database table that contains the files (and these may be, PDF, TXT, DOC, XLS, or PPT) and want to allow a user to download and save a particular file (as opposed to opening the file in the browser), how can I get it?

    If the file exists on the server, which would be quite simple.  But if it is created on the fly via BLOB data?

    V/r,

    ^_^

    Yes, assuming that the BLOB is in the right binary format.  Like this:

  • Action scripts when the PDF opens in the browser

    I may be in the wrong forum or can answer this question already

    I think that the answer will be no. but thought I would ask

    I use Adobe Pro and our institution as a whole has a license for Adobe Pro

    I wrote a script of Action that retrieves certain pages of a document package, some of them emails, records some of them and destroy them before that parts of the package that need signed are printed

    Here's my number

    We have Adobe Pro xi

    Windows 7

    THAT IS TO SAY 10

    The formula in question is generated from a browser application. All employees have the ability to go into tools - manage add-ons - and enable or disable Adobe Reader

    Mine is always disabled

    Several members of the staff have it turned on and open the document in the browser

    -so far all document javascripts I have written have worked anyway

    Action script though - I can't call when I go and activate Adobe Reader as the only elements that show to the staff's signature and comments form. The 'Tools' option is not there, and this is where my action script.

    I could force the staff to open in PDF format - but they won't be happy if I force this option

    is far from having the tools - and so my action script work if they open the PDF file in the browser?

    I guess I could try to do all the action script code in a JSButton if this is not possible, but action script allowed me to break the code into the section

    Thank you

    Acrobat/Reader install a limited Player plug-in and allows only some features that allow to interact with the file PDF is displayed in the browser for playback and recording. It does not features.

    If you need this plug-in, save the PDF file on the local system, and then open the saved PDF file.

  • Acrobat is changing hyperlinks when you open in the browser

    Hello world

    I have a pdf file containing a large number of hyperlinks. When you click on some links, Acroabt opens a browser window, but the page does not load because some of the characters in the URL are changed. For example, the following url:

    http://law.ATO.gov.au/atolaw/view.htm?rank=find & Criteria = and ~ PS ~ exact: AND ~ THE ~ base ~ exact: AND ~ 2F4 2010% ~ core ~ exact & target = OA & style java = & sdocid = PSR/PS20104/NAT/ATO/00001 & re cStart = 1 & PiT = 99991231235958 & Archive = false & recnum = 1 & tot = 3 & pn = ALL: ALL

    .. .gets replaced by this:

    http://law.ATO.gov.au/atolaw/view.htm?rank=find & Criteria = and % 7EPS % 7Ebasic % 7Eexact: 7% and THE % 7Ebasic % 7Eexact: AND % 7E2010% 2F4% 7Ebasic % 7Eexact & target = OA & style java = & sdocid = PSR/PS2010 4/NAT/ATO/00001 & recStart = 1 & PiT = 99991231235958 & Archive = false & recnum = 1 & tot = 3 & pn = ALL: ALL

    It seems to be to replace the tilde (~) sign with the following characters:

    7%

    When I fly over the hyplink in Acroabt, the correct version is displayed. It doesn't happen until it is enabled and the browser window opens.

    Anyone know why this happens or if there is a workaround?

    Thanks in advance

    Tilde is forbidden without doubt in a URL and should be replaced by 7%. If Acrobat doing the right thing. Now we can often get away with the tilde, but they must be treated as exactly equivalent.

    This is discussed in http://www.cs.tut.fi/~jkorpela/tilde.html , which can also be accessed as http://www.cs.tut.fi/%7Ejkorpela/tilde.html.

    You are right that the website of the Australian Government does not accept this. The site seems faulty.

  • I want PDF to open in the browser, no download. I can't find a setting to do this.

    Other browsers open a PDF on the web in the browser, what pleases me.
    Firefox wants to download, I don't like.
    The parameters do not seem to allow me this choice for the pdf. Other types of work files.

    Hello

    Try renaming your mimetypes.rdf file in your profile folder - where the actions of the file are stored, so when it fails, Firefox will recreate this file. I hope that when this happens, it will be by default so that the files PDF opens in Firefox.

    To access your account profile if Firefox is open:

    • Go to the troubleshooting page, either:

      • Enter Subject: support in your address bar and press on enter
      • Go to help (or

        >

        ) > Troubleshooting information

    • In the page that opens, click the view file"" button.
    • (Firefox) output

      >

      )

    See article profiles - where Firefox stores your bookmarks, passwords and other data from the user for more information, such as where to search for the folder where Firefox is not open.

    Rename the mimetypes.rdf in mimetypes.old file, and then restart Firefox. If it works, you can delete the mimetypes.old file. If it isn't and you wish to return your application settings, you can rename the file mimetypes.old to mimetypes.rdf (make sure that you quit Firefox before that).

    Articles for more information:

    Let us know if it works!

Maybe you are looking for