Skip to content

Instantly share code, notes, and snippets.

@joshjensen
Last active August 29, 2015 13:59
Show Gist options
  • Save joshjensen/10998952 to your computer and use it in GitHub Desktop.
Save joshjensen/10998952 to your computer and use it in GitHub Desktop.
Titanium PDF Viewer
var pdfUrl = "http://www.irs.gov/pub/irs-pdf/fw4.pdf";
Ti.Platform.openURL("https://docs.google.com/gview?embedded=true&url=" + Ti.Network.encodeURIComponent(pdfUrl));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment