[Freedombox-discuss] PDF on android device (solved)

Geert Stappers stappers at stappers.nl
Fri Mar 11 14:38:23 GMT 2022


On Thu, Mar 10, 2022 at 05:48:23PM +0100, Geert Stappers wrote:
> On Thu, Mar 10, 2022 at 09:59:47AM -0600, Serge E. Hallyn wrote:
> > On Thu, Mar 10, 2022 at 09:01:12AM -0500, Stefan Monnier via Freedombox-discuss wrote:
> > } Geert Stappers
> > } } I seek your advice for getting a PDF on android device.      
> > > >
> > > > Use case is having a PDF with a (QR)code that most be shown
> > > > at e.g. entrance  (Concert ticket,  Cinema ticket)
> > > > The PDF is available at FBX.
> > > 
> > > Hmm... I don't think you'd want to depend on the FBX being
> 
> Oops, "The PDF is available at FBX." should be read
> as "The PDF is available at FBX to be copied to the android device."
> 
> 
> > > up-and-running and your smartphone having a connection to the Internet
> > > in order to enter such venues (already having to rely on your
> > > smartphone being up and running is bad enough).
> > > 
> > > [ Personally, I don't have a cell phone, so my smartphone usually isn't
> > >   connected to the Internet, which makes this decision obvious.  ]
> > > 
> > > So, just download that PDF to your phone once and for all, and then use
> > > a PDF viewer (there are several available in F-Droid; I personally use
> > > https://f-droid.org/en/packages/org.sufficientlysecure.viewer/) to
> > > display it.
> 
> Nice.  Thanks for the advice.
> 
> > > 
> > > Or convert that PDF to a JPEG and then store it in your photo album.
> > > 
> 
> Thanks for the even nicer advice.  It tells where to copy the "PDF"
> (into camera folder DSC) and with which app to display (photo album)
> 
> Convert with `convert` from the imagemagick package like
> 
>    convert input.pdf output.jpg
> 
> > > 
> > >         Stefan
> > 
> > Yeah, I don't use android, but on every phone I've had, including many
> > very-dumb-phones, I've always downloaded such pdfs (boarding passes,
> > baseball tickets, etc) to the phone in whatever format it could display.
> 
> Yes, that is what I want.  I know it is solved problem, but not yet for
> me.  Hence the request for hints and advice. And now repeating the request ...
> 
> 
> > Counting on networking being available has never worked out for me.
> 
> Sorry for the initial words having room for wanting network access while
> displaying the PDF.  I my defence: I did asked during Linux User Group
> about PDF to android and was told about a self hosted service having a
> android app for such cases.
> 

Summary:
  duck-duck-go webbrowser and  `green pass PDF wallet` at android
  webserver at FBX


The problem was my fear for doing duplicate work.
The solution was "Just do it"


Through the F-droid app could I not find "sufficientlysecure viewer".
But I could `Green Pass PDF Wallet` (
 https://f-droid.org/en/packages/com.michaeltroger.gruenerpass/ )
After installation of that PDF app I entered in duck-duck-go

   http://fbx.redacted.lan/f


(first attempt got me "search result, second attempt did visit
my webserver)

Downloaded the ticket.pdf

Opent `Greenpass`. Greenpass did see ticket.pdf  I could open the
ticket.

Took the admissionticket to entrance of venue.
The QR-code from the PDF was accepted.



Groeten
Geert Stappers
Didn't see any of the million ways of how this could fail,
did learn that "it works", sharing the expirence with you.
-- 
Silence is hard to parse



More information about the Freedombox-discuss mailing list