02-14-2013, 06:25 AM | #376 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
plus it's not such a tough ask to put together a "working button" that does "something" these days : ) so perhaps you could start getting involved now. I re-read your points again. Will certainly attempt to subsume that which makes sense. Although much of it already has been included; laterally. Have a shiny day. Thanks for your interest in the project. |
|
02-14-2013, 04:57 PM | #377 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
KUAL menu.json
In the menu items list -
For "action": target - In the few examples I have seen, it has a path and filename relative to the button's top level directory for 'target' ; Q?: can 'target' hold just a shell command? |
02-14-2013, 09:46 PM | #378 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
erm. I guess. if you prefixed it with /bin/sh or something.
I suppose I should try. should I even ask why? |
02-14-2013, 10:01 PM | #379 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
OK - Don't bother, I'll check myself (my) tomorrow.
I just thought it was something that you knew about already. |
02-14-2013, 11:18 PM | #380 |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Random thought that just struck me about standardization: Provide a ways for dependencies. Like most package tools do, only not completely automatic. KUAL extensions say what they need, and what they provide. If you start an extension, that cannot find what it needs, a popup comes up and says: MEEEP, cannot run, depend on having a keyboard, but none found. On DX and KK nothing needs installed extra, since they kind of have a keyboard build in. On other Kindles you only need to have ANY extension that says: I provide keyboard - and lets KUAL know what to execute to embed and link it to the other extension that needs keyboard.
Example, shell script again. Imagine a shell script that goes through some files, gathers information, processes it, outputs something meaningful - think something like 411, 711 for example. For all this you will need: - a shell that will output the result - a keyboard to get out of there - the extension that creates the data to be displayed (you need all 3 to make it work, but you don't have to create all 3 parts yourself, you just have to have them all - possibly from 3 different developers / projects) The shell provides, well, a shell that can be displayed on the Kindle. It depends on a keyboard to be able to run stand-alone. Install keyboard depending on which extension provides keyboard for your Kindle. And so on and so on. Keyboard maybe not enough, now another extension requires a custom layout for defining their own keys - now a customizable keyboard needs to be installed. On the KK or DX that could be as simple as a little display on screen that says: Play [p], Stop [s], Rewind [r] .... to know which buttons on the physicaly keyboard to push. On Touch models it could be a Touch keyboard, that sends p, s, or r key-events, but display [Play] [Stop] [Rewind] as the buttons. Now you can start developing for any Kindle - and it does not need to be a complete application all at once. Does not need to be the program that gathers the information either, it could be a port from one Kindle to next. gtkSudoku comes to mind. That does not work on Paperwhite, but it might as well work "easily" if you only run it in part of the screen, and put a keyboard on the bottom. Last edited by DuckieTigger; 02-14-2013 at 11:23 PM. |
02-15-2013, 03:04 AM | #381 |
Enthusiast
Posts: 48
Karma: 60414
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Hi guys. Just a question regarding KindlePDFViewer. In the first post can be read that notes have to be read before installing this extension in PW. These notes say that KindlePDFViewer is not ready for PW yet, don't they? Thanks in advance for your help .
|
02-15-2013, 03:50 AM | #382 |
Wizard
Posts: 1,179
Karma: 11573197
Join Date: Feb 2011
Location: London, UK
Device: Voyage
|
Thanks to all the devs for their work, much appreciated
Currently everything is sorted alphabetically in KUAL, but could it be possible at some point for users to change the order manually? I would quite like to keep Collections Manager right at the top of the list |
02-15-2013, 06:40 AM | #383 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
atleon: Yep, we still do not have a "public beta" for KPV on the Kindle Paperwhite. It can be created by developers, but nothing official yet.
|
02-15-2013, 07:05 AM | #384 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
When you look at the menu.json file of any button, you will see: 'Priority' (sort priority) fields - - Currently not being used, but intended to be used in the future. |
|
02-15-2013, 07:36 AM | #385 |
Wizard
Posts: 1,179
Karma: 11573197
Join Date: Feb 2011
Location: London, UK
Device: Voyage
|
Would be fantastic if priority gets implemented at some point in the future. Since I'm one of the "dumb end users" meaning I can follow instructions but actually "doing" that stuff goes right over my head I'm afraid, I'll just wait and see if it happens.
|
02-15-2013, 08:27 AM | #386 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But if curious: https://www.mobileread.com/forums/sho...d.php?t=205610 Third box down, with the red lettering - You can see there is a 'priority' field for the group (helper) and a 'priority' for each of the buttons within the group. Once our 'Button Man' (twobob) decides how he will present menus to the user other than as a single alphabetical list, then those fields will be used. Part of the delay is the challenge he has set for himself - To implement something that works on seven different models of the Kindle - - **NOT** an easy task. |
|
02-15-2013, 08:47 AM | #387 | ||
Wizard
Posts: 1,179
Karma: 11573197
Join Date: Feb 2011
Location: London, UK
Device: Voyage
|
probably just as well
Quote:
Quote:
Last edited by Yolina; 02-15-2013 at 08:50 AM. |
||
02-15-2013, 10:13 AM | #388 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
is opening a shell with the argument of "whatever". So a button action of a quoted shell command, like: {"name": "Ash Command", "priority" : 1, "action": "set > /var/tmp/set.txt"} Does what one would expect. The "action" field also accepts multiple shell commands with the ';' statement separator. (PS: the above is not a good scripting example, it writes directly to flash, one line at a time.) And a button that does not re-direct its output anywhere, like: {"name": "Ash Command", "priority" : 1, "action": "set"} Writes its output to stdout, on which nothing is listening (as expected). @dsmid : which means that none of your script outputs will ever be seen by anything other than the bit-bucket. Check out my DateTime button script for a good way to get messages back to the users, at the same time as avoiding a massive number of writes to flash memory. Last edited by knc1; 02-15-2013 at 10:46 AM. |
|
02-15-2013, 10:46 AM | #389 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
|
02-15-2013, 12:26 PM | #390 |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
|
Tags |
kindle touch, kindle touch hacks, kindlet, kual, launcher, launcher add-ons, paperwhite, sqlite, unified |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Launcher icon for KUAL? | Aeris | Kindle Developer's Corner | 32 | 04-01-2021 07:57 PM |
kite: kindle 3 application launcher | fbdev | Kindle Developer's Corner | 86 | 10-18-2017 10:19 AM |
[KUAL]Kindle reflective screen loader | icantbebothered | Kindle Developer's Corner | 26 | 10-27-2013 09:08 AM |
Kual shortcut for hidden image viewer (Kindle Touch & PW) | Aeris | Kindle Developer's Corner | 0 | 10-12-2013 05:09 AM |
application launcher for kindle 3 (kite) | fbdev | Kindle Developer's Corner | 21 | 05-04-2012 06:02 PM |