PDF to ePub is a hard problem. Don't expect any code to do a very good job.
Calibre is open source and has a go at such a conversion, but is written in python, so you'd ned to translate.
I don't know of any Java/Android PDF->ePub libraries, but perhaps others do.
|