Open source html5 document viewer for mobile apps - html

I am building mobile app for Android and iOS platforms using Phonegap. I want to use a html5 document viewer to display pdf's, ppt's and all in the mobile app.
I saw Crocodoc. Its good, but i need to something open source which i can tinker with.
Can you please suggest if currently there are any open source solutions to display documents in the mobile app ??

Related

Issues in Web Application with PDF Portfolios

I have a web application that displays PDF's. In IE, it uses the Adobe Acrobat viewer. In Chrome and Edge, they use their own PDF viewer. For regular PDF's, everything works well.
For Portfolio PDFs, IE is fine since it uses the Adobe Acrobat viewer. In Chrome and Edge, they don't view the portfolios, and we are currently asking users to download the file and open in Adobe Acrobat.
Is there any setting/change to get Chrome and/or Edge to be able to display a portfolio PDF? Or is there any 3rd party control that I can add to the web application to use it to display the portfolio PDF?
We also have a similar issue with certain PDF forms and PDF's with signatures in Chrome and Edge. I'm hoping that using a 3rd party control or any setting/changes could alleviate this as well.
you said,"I get a message 'For the best experience, open this PDF portfolio in Acrobat X or Acrobat Reader X, or later."
I try to search about this issue and found that this is a Cover sheet for your portfolio PDF that gets display when the user tries to open the portfolio PDF in an application that does not support the portfolio PDF.
Ref: For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or later merged PDF
You had asked,"Is there any setting/change to get Chrome and/or Edge to be able to display a portfolio PDF? Or is there any 3rd party control that I can add to the web application to use it to display the portfolio PDF?"
Both MS Edge and Google Chrome browsers do not support viewing portfolio PDF, so there is no setting/change available that can help you view portfolio PDF in Edge or Chrome browser.
I am not aware of any third-party control, I suggest you raise a new question about this on Adobe Support Community. As portfolio PDF supported by Acrobat reader they might give you some helpful information.

How to open a HTML file in the apple tv app?

I am working on a tvOS app and I need to open a HTML file in the app. This HTML file is available locally in the app bundle. How can I open such file in the tv app as WebKit is not available in the tv app
There is no web browser or even WKWebView available in tvOS.
Nevertheless to display simple HTML content as Privacy Policies or similar... you could still use UITextView as described here

HTML5 mobile web app camera access

I am developing web application for mobiles for iOS and Android. As per requirements, I need to access mobile camera and take photos (more than one).
Then the photos should be stored in localStorage and then uploaded when user clicks on upload.
I am developing a web apps. It is not native app. I dont want to use phonegap or similar to phonegap.
It should be like normal button. not like choose file button.
have a read: here but it will not be supported on all devices.

Open link in mobile browser(safari) instead of Facebook native browser (html base)

Im developing a web with facebook share link function. I notice facebook mobile apps will open shared link in its own browser, instead of mobile broswer (IE. safari, chrome and so on). Is there any control on this able us to force facebook open the link in mobile browser?
No. The only reliable workaround is if you use the web app with an iOS app, and all users install that iOS app, you can send users to your iOS app to accomplish that task which isn't a great workaround.
An easier but still not optimal solution would be to detect the Facebook browser in the user-agent string, and display a message to prompt users to visit the URL in the mobile browser.

How to make an HTML5 that does not require the blackberry browser component?

I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html