Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Cool - ta. On 19 Jun 2013, at 00:29, Terry Judd wrote: > OK - for this to work the PDF has to be stored online - it doesn't appear to > work with local (file) urls. > > Anyway, all you need to do is construct a URL based on the URL for your PDF > and the correct Google Docs URL. Something li

Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
I've hacked a workaround which loads up a jpeg equivalent meantime but i'd be interested in see how to implement the google docs approach. Kind regards, Paul. On 18 Jun 2013, at 20:59, Monte Goulding wrote: > For what it's worth this appears to be a problem for Java developers too... > and

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
OK - for this to work the PDF has to be stored online - it doesn't appear to work with local (file) urls. Anyway, all you need to do is construct a URL based on the URL for your PDF and the correct Google Docs URL. Something like this... put "http://mydomain.com/myfile.pdf"; into tPDF put ("htt

Re: Viewing PDFs in Android...

2013-06-18 Thread Monte Goulding
For what it's worth this appears to be a problem for Java developers too... and Terry's solution is one I've seen on StackOverflow for them too... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which will render it in a browser compatible format. I don't have the url handy but will post it when I'm back at work tomorrow. Terry... On 18/06/2013, at 10:16 PM, "Paul Maguire" wrote: > Hi all. > > My porting to Andro