sa0017 / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 0 forks source link

pdf support? #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I wanted to know if there is any support for opening .pdf files locally?

I see you can do it with StageWebView from another site, (Ex. Adobe.com).

Thanks

- Patrick

Original issue reported on code.google.com by col...@gmail.com on 7 Oct 2011 at 8:29

GoogleCodeExporter commented 8 years ago
Yes, simply use as:

view.loadLocalURL( "appfile:/pathToYourPdf.pdf");

See the wiki to see how the filesystem works.

Original comment by xperime...@gmail.com on 7 Oct 2011 at 9:51

GoogleCodeExporter commented 8 years ago
this is not working for me. all pdf's are inside 'www/html/pdf' directory. and 
neither 'applink:/' or 'doclink:/' is working. im am always getting 'Error 
#2044: Unhandled ErrorEvent:. text=The requested URL was not found on this 
server.' i even tried setting the extension pdf to process. in an older version 
of stagewebviewbridge i was viewing pdfs wit no issue. any ideas?

Original comment by Carmine....@gmail.com on 31 Jan 2012 at 3:36