posteritysystem
posteritysystem

Reputation: 1003

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();

Upvotes: 0

Views: 157

Answers (1)

Avinash Sahu
Avinash Sahu

Reputation: 249

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

https://mupdf.com/

Upvotes: 1

Related Questions