View Single Post
Old 10-27-2013, 10:06 AM   #8
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
The simplest use could be maybe to inject javascript as Eureka did for the battery widget into sample_custom_dialog, overriding the original html test with the one we need. Maybe could be added some buttons too in this way...

Just creating a simple Yes/no statement window would be a nice point to start


Quote:
I don't know how about PW, but KT's pillow looks for HTML files, dialogs included, also at /usr/local/tests/pillow (tested on 5.3.2.1).
I've tried to copy sample_custom_dialog.html into sample_custom_dialog2.html in that folder but doesn't seems to work on paperwhite (I invoked it with lipc-set-prop com.lab126.pillow customDialog '{"name": "sample_custom_dialog2.html"}')

Last edited by Aeris; 10-27-2013 at 10:11 AM.
Aeris is offline   Reply With Quote