[mono-android] View PDF file in App
Daniele Salvatore Albano
d.albano at gmail.com
Thu Jan 12 14:42:32 UTC 2012
Consider that in Android, if you don't need that the view pdf feature
is part of your software, you can broadcast an intent so a registered
app will start and show the pdf.
Naturally when the final user will go back, your last activity will be shown.
Specifically, you can try an ACTION_VIEW intent with a uri pointing to
the file (just be sure that the file is world readable putting it on
sd or using MODE_WORLD_READABLE) and application/pdf as mime type.
You can try to force the package setting it to com.adobe.reader, but
if adobe reader isn't installed it will file.
2012/1/12 Marc Reiter <reiter at reitec.de>:
> We use PDFs to view some content in iOS by the help of monotouch. As I can
> see PDF is not included in Android as in iOS. Does someone have a solution
> to view PDF files. Or do you know an other way to view a 100 page document
> within a Android app?
>
> We want to distribute the app for free, but we don't want to publish source
> code. So some solutions can end up in licence problems.
>
> Regards marc
>
> --
> View this message in context: http://mono-for-android.1047100.n5.nabble.com/View-PDF-file-in-App-tp5140064p5140064.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
--
Daniele Salvatore Albano
---
IT Consultant
Website Design and Development
Software Engineer and Developer
Linux Servers SetUp And Administration
Embedded Network Solutions
http://www.daccii.it
http://www.itechcon.it
More information about the Monodroid
mailing list