tags:

views:

197

answers:

2

Hi, is there any way to create create PDF Files from an android application? So far I've found nothing short of writing all the code from scratch.

Is there any API I can use, that works on android?

Thanks in advance.

+3  A: 

I would recommend you set up a Web service and have the device use the Web service to generate the PDF. PDF creation is going to be very slow on a device, even if you can find a Java library for it that works on Android. You also then have greater flexibility in terms of languages and libraries for the PDF creation (e.g., use Prawn for Ruby), since you're doing the PDF creation on a server.

CommonsWare
A: 

There are several existing APIs for pdf generation. All the existing android apps to deal with pdfs, use a server to create the documents. You can check them out at Programmable Web

BrennaSoft