简体   繁体   中英

Print a Pdf file on the Android Button Click

I have a pdf file in my sd card i want to print that file on the button click. In this document it tells only how to print a custom content by rendering it on a PDF canvas and sending thus created PDF document for printing. But has no information about how to print a pdf file directly from sd card? Please anybody has any idea how to handle this. Thanks in advance

Please go through this document which explains how to print a particular doc, image etc.

https://developer.android.com/training/printing/index.html

It even contains a link for the sample and a tutorial video to achieve the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM