Last active
November 20, 2015 15:07
-
-
Save asimmon/679206c0e83cb31c075c to your computer and use it in GitHub Desktop.
Using the MuPDF viewer included in the MuPDF Xamarin Android library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var uri = Uri.Parse("/mnt/sdcard/some.pdf"); | |
var intent = new Intent(this, typeof (MuPDFActivity)); | |
intent.SetAction(Intent.ActionView); | |
intent.SetData(uri); | |
StartActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment