iclems / iOS-htmltopdf

MIT License
305 stars 79 forks source link

support android? #13

Closed paedotnet closed 10 years ago

paedotnet commented 10 years ago

i would like to use these project (htmltopdf) to android application development.

suppport android ? or ios only

thank you

akac commented 10 years ago

Since the project is based on specific iOS methods - its not doing the HTML to PDF itself, unlikely.

iclems commented 10 years ago

Unfortunately, as stated above, this version does not make it possible. There are other possible ways of doing this, but this one makes it really simple, efficient and reliable on iOS (especially reusing the page formatting, etc). If your app can have a network connection, I would use some online service to do this as it may be a lot for a mobile device. Then, using PhantomJS may be one option enabling you to choose page size and co