We have an Android application that needs to generate PDFs from XML data making use of XSL-FO templates. To this end I have been looking at libraries to use in our Android app that can do the conversion of the XML to PDF. As the application needs to be able to work offline generation of the PDF via a server is not an option for us.
I have been considering using Apache FOP but have received conflicting information online about whether Apache FOP will work on Android or not. This blog for example states that FOP on Android is "inappropriate", but does not outline specifically what issues were encountered when attempting to use it. The answer to this question on the other hand seems to imply that it is theoretically possible to get FOP working on Android.
What I am looking for here is some clarity to what the actual situation is regarding using Apache FOP in an Android application. Has anyone tried it and can confirm whether it does or does not work? If it doesn't, could anyone give specific details about the missing dependencies or issues that would occur when trying to use it on Android? I am needing to evaluate, if there are dependency issues, how serious these are and the amount of work it would take to overcome these issues.