简体   繁体   中英

How to use pdf format in android

can we create and write on pdf files in android.
I have tried itext library of java but it gives class not found exception please help.
Update

Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream(FILE));
document.open();
addMetaData(document);
addTitlePage(document);
addContent(document);
document.close();

As the library, I mentioned earlier is deprecated. Below is one of the active one.

https://mupdf.com/

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