![]() |
#1 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Oct 2018
Device: kobo aura h2o
|
kobo H2O webapp for marine application need help
hello after lot off hours for search in the forum i tell you if its possible to hack a little my kobo for turn a special aplication .
it s an application for sailling she s have a server on raspberry pi named signalk. i test the connection it s ok the browser go to the page but the page is blank. i test a kindle app whith little mod but it difficult to program the good information the second app it very configurable. i take you the source of the ap if it possible to looking i m very happy. sorry for my bad english the first it ok i want to utilise the second mxtommy |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
HTML5 Storage isn't supported. You'll need to either build a browser for Kobo or use a polyfill.
Alternatively, using LD_PRELOAD to inject the following code might work: Code:
auto s = QWebSettings::globalSettings(); s->setAttribute(QWebSettings::LocalStorageEnabled, true); auto p = "/mnt/onboard/storage"; s->setOfflineStoragePath(p); s->enablePersistentStorage(p); |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Oct 2018
Device: kobo aura h2o
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I mentioned in the other thread a change in firmware 4.20 to add some local storage. This apparently stems from https://github.com/kobolabs/Kobo-Reader/issues/59. There is a link in the original report for a page that uses local storage and it works with 4.20.x.
That makes me wonder if this app will work with 4.20.x. But, it could easily be another issue that breaks it. I can't do a test at the moment, but, might have a play over the weekend. |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
The app also uses other features too new for the WebKit build on the Kobo. For instance, classList will need to be polyfilled. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Oct 2018
Device: kobo aura h2o
|
think you for you interess i see the folder named webstrorage but the page are stored just if your ar on internet my page of another app don't go in the folder i think it s maybe for that. the connection to my server is local via access point i don t know if the little hack webportal change this
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Oct 2018
Device: kobo aura h2o
|
i test a new app for the same work but it the same problem she s not comfigurable but she open in the browser i take you the source . i test it always trought my signalk server on my raspberry pi
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Oct 2018
Device: kobo aura h2o
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Yes. You'll probably be able to find most of what you need from the babel and es5/6 polyfills on GitHub (or NPM).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo for a marine gps dysplay | chech | Kobo Developer's Corner | 15 | 11-12-2018 03:37 PM |
Kobo Aura H2O 2nd Edition vs old Kobo Aura H2O screen dimentions. | iXPert12 | Kobo Reader | 1 | 09-18-2017 09:35 AM |
Kobo H2O Question - [Post moved out of a thread and forum unrelated to Kobo] | Millie1366 | Kobo Reader | 10 | 03-20-2016 12:35 PM |
Aura H2O USB connection with application running? | Bob Brunius | Kobo Developer's Corner | 4 | 03-08-2016 06:45 PM |
EpubCheck jar/webapp | odedta | ePub | 8 | 04-23-2014 05:06 AM |