To create pdf using your app,
You can use PdfDocument if your app is for users who have android devices having api 19 or above.
Otherwise you can use open-sourced library named Android PDF Writer
I hope it will be helpful !!
题
Is Apache PDFBox compatible with Android?
I cannot use iText since it has some kind of licensing associated with it. If Apache PDFBox is not comptabile with Android then is there any other open source lib available that can be used for Android?
解决方案
To create pdf using your app,
You can use PdfDocument if your app is for users who have android devices having api 19 or above.
Otherwise you can use open-sourced library named Android PDF Writer
I hope it will be helpful !!
其他提示
I used Android Port of PDFBox(Link to answer) and works as a charm