My App creates a form, and saves it as a html file on SD card.
I can load the html file into a webview, so the user can view the form,
However, i would like the user to be able to also view the file in a browser of their choice.
(Ive noticed firefox has ‘save as pdf’ function, which the user may find useful.)
How can i do this using an intent. I tried but the App closed with an error..
Any help much appreciated…
This will open your html file in the stock browser application:
I would imagine that it would work for firefox if you find the packagename / activity name for the firefox application and replace the stock browser ones in the
setClassName()method. But ultimately it would’ve been up to Mozilla to implement this functionality, and I’ve not tested to see if they did or not.