To view documents using WebView

Hi all!

I'm new in the development of BB. Can you help me? Can I use WebView stunts for the display of documents (doc, xls, pdf, png etc.) Some, like iOS UIWebView https://developer.apple.com/library/ios/qa/qa1630/_index.html

I have tired:

{Page}

{Of container

WebView {}

ID: webView

Accessibility.Name: ' TODO: Add the contents of the property.

onLoadingChanged: {}

If (loadRequest.status == WebLoadStatus.Started) {}

Console.log ("Load has started.")

}

Else if (loadRequest.status == WebLoadStatus.Succeeded) {}

Console.log ("Load finished.")

}

Else if (loadRequest.status == WebLoadStatus.Failed) {}

Console.log ("Load failed.")

}

}

}

}

function loadData (happy) {webView.loadData (happy) ;} / / happy - QByteArray is with the content of the file}

}

But I got "Load has failed." on any docs

Find target calling card for the Docs To Go and Adobe Reader:

Docs To Go: https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/docstogo.h...

Adobe Reader: https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/adobereade... (other)

Tags: BlackBerry Developers

Similar Questions

  • Unable to view PDF documents using Adobe Acrobat Reader DC

    Hello

    Recently, I have been unable to open PDF documents using this program - up to this point I use it regularly with several of the same PDF files and none of the files opened.

    When I open the file of Evernote, it seems to work fine, RCAA opens but the file does not appear, if I right click and select "Show all windows" the name of the file in question appears on the screen Screen Shot 2016-07-07 at 09.03.51.png .

    I have taken steps to update the program and I have installed and reinstalled, but the problem persists.

    I also downloaded another PDF reader and the file opens correctly in the program.

    I use a Macbook Air running OS X EI captain, version 10.11.5.

    Any help would be appreciated.

    Best regards

    Ryan

    I've seen the suggestion to try the tile in the window menu. Does that help?

  • How to disable the built-in PDF Viewer and use another Viewer at all times?

    How to disable the built-in PDF Viewer and use Adobe Reader to view the PDF files, without having to set this preference, whenever I open Firefox? The default setting to "Use Adobe Acrobat (in Firefox)". Thank you.

    It's strange. The integrated Viewer - Viewer by default - is described by the expression 'Preview in Firefox' and you will have changed to "Use Adobe Acrobat (in Firefox)".

    Well... you or an add-on or another program on your system must be changed.

    What happens if you disable the Adobe Acrobat plugin (not the extension to create a PDF file, leave it active). Here's how you can try this:

    Open the page modules using either:

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

    In the left column, click on Plugins. On the right side, find "Adobe Acrobat" and change the permission 'never enable '.

    Then in the Options page, Applications Panel, change your preference for "Portable Document Format (PDF)" to "Always ask" so you get the dialog box to download instead of the PDF, open in a tab.

    It sticks?

  • Use WebView

    I want to use WebView, so that I can show the Web page a feeling of native application. Are there good examples on the use of webview. ?

    I tried the code below:

    My hand UI, I click on a button, when the click on the button that I call the code below, but my opinion is always in the main INTERFACE only...

    WebView * view = new WebView();

    Discover-> setUrl (QUrl ("http://google.com"));

    -Thank you

    Hello

    You will need to add it to a page or a container like other regular controls.

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__webview.html

    Documentation, it seems that it should be added to ScrollView make scrollable and zoomable.

    If you want to show it full screen I guess you will have to create a spreadsheet, ScrollView and container inside a sheet, then add the WebView to the container. Then create & display sheet.

  • I do my job to the computer on a MAC computer. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open t

    I do my job to the computer on a MAC book PRO. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open the document. My problem is the document does not show the icon, but rather the document is already open. I spoke with 2 Apple. 'Experts' care and can help me. Can someone tell me what to do?

    It's a question of how the recipients e-mail programs deal with attachments. Many e-mail programs will open all the files they can handle, including files jpg and PDF, by default, and if the recipient has not changed that there is nothing you can do about it. The only solution is to the compress first, then it will be delivered as an attachment, allowing the recipient to decompress and open it.

  • DeskJet 1510 while a single printe: can the deskjet printer 1510 create a searchable pdf document using acrobat reader dc?

    When scanning documents using the HP 1510, I already had a drop down menu the possibility to save my document in pdf format 'searchable' that I use to run another program that combines my PDFs in a large document.  Then my computer crashed during installation windows 10 and I lost everything.  I returned to windows printer drivers 7 resettled the 1510 and all software on the HP site and installed acrobat reader dc as my adobe product.  Now when I scan everything I see is to scan in pdf format.  How can I return the option scan to searchable PDF?

    Hello

    You can check the 3rd aprty following software that analyzes the text of a PDF scanning serchable:

    https://www.naps2.com/

    For the recognision of handwritten text, you need to get a professional OCR software, such will probably cost... I'm not aware of any freeware OCR program which is capable of such a...

  • HP C6280 All in One Printer: unable to save the scanned document of multi page as on the single Document using the Preview on IMAC computer

    I recently reinstalled my drivers on my IMAC computer to correct some strange characters appearing when printing from Microsoft word via Parallels.  The relocation at this time and the time has fixed this problem.  My most recent issue is not able to save a scanned document of multi page into a document using an excerpt?  In the latest that I had to do was high brightness, scanned documents to be saved and presto, all were saved under one.  Now you have to go save each of them at a time.  If you have a 5-page document, you need to go through the registration process 5 separate time create several documents, which is a big waste of time.  I have also my C6280 DPL 100 size should be a problem, I think.  To correct even any help would be greatly appreciated.

    RG.

    Hi @RGrantB3,

    Welcome to the HP Forums! I'd love to help you analyze documents several pages in a single file. When you scan, you select PDF as the format scanning? When you select the PDF file, you should see an option to select, save all pages in a single file, or a variant of this option.

    If you do not see this, please post a screenshot of you scanning settings for I can visually identify the issue.

    How to take a screenshot on a Mac.         How to post a picture on the HP Forum s.

    I can't wait to hear back on your part. If this resolves the issue, please click Accept as Solution button below so that others can see what has worked for you. Thank you.

  • How to scan multiple pages into a single document using the CanoScan LiDE 200?

    How to scan multiple pages into a single document using the CanoScan LiDE 200?

    I can't find a way to get them to analyze all the time, or a way to put together them later.

    Hi dagda24,

    You can scan multiple pages into a single document with the scan PDF option.  Use the following steps to do:

    1. open MP Navigator.

    2. click on a Clcik.

    3. click Save to PC.

    4. change the Type of PDF file to PDF (multiple pages).

    5 other changes, as needed, and then click Scan.

  • How can I edit a scanned document using word processing software

    The printer is a Deskjet 3052 a, OS = Vista,

    I would like to know how to edit a scanned document using a word processor (ms Word).  Or do I need OCR software that came with the printer.

    Hello

    You use an OCR module, it is not included with the printer software.

    Personally, I know that Read IRIS offer good performance, you can check the web for any other.

  • HP Deskjet 3540: Unable to print documents using the HP Deskjet 3540 (network)

    I am printing documents using the HP Deskjet 3540 of difficulty.

    All options in the print dialog appear to be blocked.

    I've uninstalled and reinstalled the software nothing works. HP Print and Scan Doctor offers no help.

    Screenshot below

    Any help would be greatly appreciated.

    X-23 you are the boss.

    I followed your steps and was able to print a test page for Word, PowerPoint and PDF. I also printed a picture on plain paper in full transparency. I was also able to quickly implement the project and printed without a problem.

    I have not tried to print a photo on photo because of the low ink level paper but I'd be surprised if I'm not able to.

    Thank you for your kind and your patient attention to the problem I was experiencing.

    It's really appreciated.

    Prosperous 2015 for you and yours.

  • Not able to scan. How to scan and save a document using Vista?

    Since my PC doesn't have a program Windows Fax Scan &, how to scan and save a document using Vista?

    Hello

    I suggest you to visit these links and check if it helps:
    http://Windows.Microsoft.com/en-us/Windows-Vista/scan-a-document-or-file

    http://Windows.Microsoft.com/en-us/Windows-Vista/scanning-frequently-asked-questions

    It will be useful.

  • Conversion back Office Documents using Java JDK running under Linux

    I need to convert Office Documents using Java JDK running in the Linux VM to PDF without human interaction, is this possible? How?

    It could be a service web or other solutions, but it should work on Linux and must be callable from java.

    You shot yourself in the foot because with accuracy of conversion of Office documents requires Office. Which requires Mac or Windows (preferably Windows). Solution server of Adobe's LiveCycle PDF generator. Has a Java interface, but you will need Windows server for it.

  • whenever I try to certify a document using my E-token brazilin, it appers: the windows cryptographic service provider reported an error. Code: 2148073510. Someone knows how to fix this?

    I would be grateful if someone could help me. Every time I try to certify a document using my E-token brazilin, it appears: the windows cryptographic service provider reported an error. Code: 2148073510. Someone knows how to fix this?

    Problem of this sort occurs generally when the driver that supports your token is not fully compliant with all standards. Some signature applications are mild for some of the discrepancy and you can still use your signature token in these applications. Acrobat is more strict about this.

    Without actually having your token, it is difficult to continue the investigation.

  • After I open a document using Adobe reader DC and want to save it with the help of Save as when I try to open this operation all I get is an empty windo saying save as. This problem just started, note I'm on Windows 7 Prof

    After I open a document using Adobe reader DC and want to save it with the help of Save as when I try to open this operation all I get is an empty windo saying save as. This problem just started, note I'm on Windows 7 Prof

    Hi sgodwin2468,

    Make sure that Acrobat Reader DC is updated Release Notes | Adobe Acrobat, Reader.

    If the problem persists, try the solution below.

    The default "save under" Acrobat/Reader DC dialog box is different from the dialogue box you had in earlier versions of Acrobat/Reader, it also allows you to record in the clouds and previous locations that you saved the files. It is possible that when Acrobat/Reader tries to connect to the 'cloud', it runs into problems. You can try to disable this feature to see if this brings your backup in the back of the box: open Acrobat Preferences, then go to the "General" category and uncheck "show the online storage when you save files:

    Kind regards

    Nicos

  • JavaFX how to use WebView load the local HTML page?

    JavaFX how to use WebView load the local HTML page?

    If the HTML code of the files in the class path, which is in the package, the load using one of the following ways:

    String url = Main.class.getResource("/html/index.html").toExternalForm();
    engine.load(url);
    

    The above methods can only load files outside the class path!

Maybe you are looking for

  • uninstalled, impossible to reinstall

    Several months ago, I had problems with Firefox, so I uninstalled to do a clean install. After you cross the full uninstall process, when my computer starts extract the download, it stops at 61% and fails. I went through the registry and files progra

  • Problem with the treatment of the communication data series

    I'm working on the communication between LabVIEW and my PIC Microcontroller UART. It works quite well with character Txn & Rxn.But I am facing problems in transmiting and receiving the hexadecimal numbers. through this interface. First of all, is pos

  • computer will not start with the disc

    I use vista and my computer does not start because of a corrupted file. I put my vista disk in such suggested, but the screen does not move any command of keys to press and just goes round in a loop. So I can't the computer to start and fix. I change

  • Implement Pinch-zoom in blakcberry

    Hello BlackBerry support multitouch. However, the SDK is very limited. All I can find is getMovePoints() track of each finger in return. I want to implement a pinch to zoom (zoom by the movement of 2 fingers) like the iPhone in my application. I have

  • How to load a web application complete on a blackberry app

    Now, I try to build a blckberry application that allows to load the web application from its url. something like the fact of any browser. but I don't want to address or file menu bar. just a simple browser like app