I’m busy with an app to view PDFs on an Android app built using Xamarin’s Mono for Android. Is there a “CGPDFDocument” type of class in Mono for Android? Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Android doesn’t support PDFs in the same built-in way that iOS does.
If you need in-app PDF viewing, then there are some open source libraries available – see Android – Load PDF / PDF Viewer for some possible Java solutions
Alternatively, if your app can get away with passing the file out to an external app (e.g. Adobe Reader) then I’ve used this Intent code in the past:
where targetPath was typically a path on a shared SD card.