Page 1 of 1

Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 2:08 pm
by Weaksafety
Hi,

I'm trying to print some cards of my stack to a pdf, which is basically an illustrated book (lots of images on lots of pages).

The aim is to send via email a custom pdf that only has the pages that the user selects on the mobile app.

There's a problem: Android Mail only supports attachments up to 5mb, and I fear this limit will almost always be surpassed if the user selects more than a few pages.

Is there any kind of workaround to this?


Thanks a million! :D :D

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 6:28 pm
by Simon
I just tried zipping a pdf but it looks like pdf compression is already there so it didn't help.
You can try it on a liveCode created pdf maybe the compression isn't already included.

Simon

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 6:33 pm
by newtronsols
what are you using for pdf on Android?

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 6:42 pm
by Klaus
newtronsols wrote:what are you using for pdf on Android?
I'm trying to print some cards of my stack to a pdf
So he's obviously using Livecode for this :D

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 6:49 pm
by Simon
Oh I see, "open printing to pdf" isn't supported on Android.

Simon

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 10:55 pm
by Weaksafety
Oh. I hadn't tried to deploy the app to my tablet yet, I see from the dictionary that printing to pdf is indeed not possible from android.

It appears that Quartam PDF Library can indeed support Android, I'll give it a try - However even if that works, is there any smart way to get around the limit? Possibly a server application that composes and sends the pdf?

Re: Bypassing the 5Mb limit for PDFs on Android

Posted: Wed Jun 25, 2014 11:20 pm
by Simon