How to edit or generate a PDF in Android SDK

2.6k Views Asked by At

I'm working in an app, and I need which the app can generate a PDF file with the app data saved in XML's. I need make this in one of two ways, but I don't know how, the ways are:

  • Generate a PDF from a existing HTML
  • Edit an existing PDF and add text.

I don't know how iText or droidText can help me. Any suggestion?

1

There are 1 best solutions below

2
On

How about having a look at this StackOverflow post?

Android - how to convert html to pdf?

I'm guessing your question requires a similar, if not exactly identical approach.

(By the way, performing a Google search on "generate PDF from HTML android" yielded 305,000,000 other results, many of which seem legitimate answers on your question...)