Locally Loading PDF into Digital Paper PDF Reader #135

Closed
opened 2019-09-11 04:47:20 -07:00 by wart-github · 7 comments
wart-github commented 2019-09-11 04:47:20 -07:00 (Migrated from github.com)

Hi,

First things first, excellent work!

Has anyone figured out how to load a pdf into the digital paper pdf reader locally? For instance, if I download a pdf on the DPT RP1 itself in Fennic Firefox or in a Mail App on the DPT RP1, how can I "share" it over to the PDF reader on the DPT RP1? I did some digging and the file structure is pretty opaque. (One option I thought of was installing dpt-rpt-py on the DPT RPT itself, but I thought I'd ask if anyone has implemented something first.)

Thanks for any tips

Hi, First things first, excellent work! Has anyone figured out how to load a pdf into the digital paper pdf reader locally? For instance, if I download a pdf on the DPT RP1 itself in Fennic Firefox or in a Mail App on the DPT RP1, how can I "share" it over to the PDF reader on the DPT RP1? I did some digging and the file structure is pretty opaque. (One option I thought of was installing dpt-rpt-py on the DPT RPT itself, but I thought I'd ask if anyone has implemented something first.) Thanks for any tips
HappyZ commented 2019-09-14 19:54:26 -07:00 (Migrated from github.com)

One way is you write an Android app/plugin on some PDF app for DPT that supports to download/upload files based on DPT app's API.. it's the most intuitive workaround I can think of

One way is you write an Android app/plugin on some PDF app for DPT that supports to download/upload files based on DPT app's API.. it's the most intuitive workaround I can think of
aluex commented 2020-05-06 21:18:31 -07:00 (Migrated from github.com)

Maybe the official android app will work?

Maybe the official android app will work?
JoeKays commented 2020-05-19 12:55:16 -07:00 (Migrated from github.com)

The official android app does not work because it requires Android version >6 and the DPT has only 5.
Also it doesn't seem possible to use dpt-rp1-py with qpython because the crypto packages do not install on the DPT.

So that means that there is only one solution: rewriting dpt-rp1-py in javascript and using it from the browser (or package it into an apk with WebView). I am currently working on this port. So far I am able to authenticate and list documents from my computer. Next step is uploading pdfs and somehow hosting the page on the DPT so I can access the page from the browser there.

The official android app does not work because it requires Android version >6 and the DPT has only 5. Also it doesn't seem possible to use dpt-rp1-py with qpython because the crypto packages do not install on the DPT. So that means that there is only one solution: rewriting dpt-rp1-py in javascript and using it from the browser (or package it into an apk with WebView). I am currently working on this port. So far I am able to authenticate and list documents from my computer. Next step is uploading pdfs and somehow hosting the page on the DPT so I can access the page from the browser there.
JoeKays commented 2020-05-20 15:43:25 -07:00 (Migrated from github.com)

Update: I succeeded in uploading and downloading pdfs from my chrome browser!
Only thing that is left for now is to try hosting the site on the DPT. Because so far I accessed the page from the DPT but I hosted it on my computer.
But I guess that's not gonna be the biggest problem and soon we will be able to locally load pdfs to the device! :D

Update: I succeeded in uploading and downloading pdfs from my chrome browser! Only thing that is left for now is to try hosting the site on the DPT. Because so far I accessed the page from the DPT but I hosted it on my computer. But I guess that's not gonna be the biggest problem and soon we will be able to locally load pdfs to the device! :D
HappyZ commented 2020-05-20 15:49:10 -07:00 (Migrated from github.com)

Pretty coooool

On Wed, May 20, 2020, 3:43 PM Sir Pilcrow notifications@github.com wrote:

Update: I succeeded in uploading and downloading pdfs from my chrome
browser!
Only thing that is left for now is to try hosting the site on the DPT.
Because so far I accessed the page from the DPT but I hosted it on my
computer.
But I guess that's not gonna be the biggest problem and soon we will be
able to locally load pdfs to the device! :D


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HappyZ/dpt-tools/issues/135#issuecomment-631767587,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDVEKRQ5EQLDVMFRNRWKS3RSRMJVANCNFSM4IVS55ZQ
.

Pretty coooool On Wed, May 20, 2020, 3:43 PM Sir Pilcrow <notifications@github.com> wrote: > Update: I succeeded in uploading and downloading pdfs from my chrome > browser! > Only thing that is left for now is to try hosting the site on the DPT. > Because so far I accessed the page from the DPT but I hosted it on my > computer. > But I guess that's not gonna be the biggest problem and soon we will be > able to locally load pdfs to the device! :D > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/HappyZ/dpt-tools/issues/135#issuecomment-631767587>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABDVEKRQ5EQLDVMFRNRWKS3RSRMJVANCNFSM4IVS55ZQ> > . >
JoeKays commented 2020-05-22 13:11:56 -07:00 (Migrated from github.com)

Update: check out the initial release on https://github.com/JoeKays/dpts

Hope it works :)

Update: check out the initial release on https://github.com/JoeKays/dpts Hope it works :)
JoeKays commented 2020-06-06 10:47:17 -07:00 (Migrated from github.com)

Update: There is an update available, check it out! :D

This update removes most of the limitations and makes the tool quite usable I would say.
You can upload and download documents, create folders and delete them. All from the DPT and also from your computer if you like. You only need a browser and some patience for the setup.

Only real problem is that USB only works on Linux. You have to use WiFi on Windows and Mac. I would love it if someone could help me with making it work on these platforms. I don't have any such device available at the moment...

Update: There is an update available, check it out! :D This update removes most of the limitations and makes the tool quite usable I would say. You can upload and download documents, create folders and delete them. All from the DPT and also from your computer if you like. You only need a browser and some patience for the setup. Only real problem is that USB only works on Linux. You have to use WiFi on Windows and Mac. I would love it if someone could help me with making it work on these platforms. I don't have any such device available at the moment...
Sign in to join this conversation.
No description provided.