Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2013, 06:25 AM   #376
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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:
Originally Posted by wolftail View Post
I would have loved to contribute, but I don't have the necessary experience so I did the only thing I could: share my thoughts and ideas.
And we thank you for it.

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.
twobob is offline   Reply With Quote
Old 02-14-2013, 04:57 PM   #377
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,391
Karma: 5840126
Join Date: Feb 2012
Device: Too many.
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?
knc1 is offline   Reply With Quote
 
Enthusiast
Old 02-14-2013, 09:46 PM   #378
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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?
twobob is offline   Reply With Quote
Old 02-14-2013, 10:01 PM   #379
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,391
Karma: 5840126
Join Date: Feb 2012
Device: Too many.
OK - Don't bother, I'll check myself (my) tomorrow.
I just thought it was something that you knew about already.
knc1 is offline   Reply With Quote
Old 02-14-2013, 11:18 PM   #380
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 1,433
Karma: 25778020
Join Date: Dec 2011
Device: Kindle Paperwhite
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.
DuckieTigger is offline   Reply With Quote
Old 02-15-2013, 03:04 AM   #381
atleon
Enthusiast
atleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbitatleon with a running start, can leap into geosynchronous orbit
 
Posts: 46
Karma: 60100
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 .
atleon is offline   Reply With Quote
Old 02-15-2013, 03:50 AM   #382
Yolina
Guru
Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.
 
Posts: 614
Karma: 3070513
Join Date: Feb 2011
Location: UK
Device: KPW2 wifi, Sony PRS 650
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
Yolina is offline   Reply With Quote
Old 02-15-2013, 06:40 AM   #383
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,098
Karma: 2114647
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.
hawhill is offline   Reply With Quote
Old 02-15-2013, 07:05 AM   #384
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,391
Karma: 5840126
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Yolina View Post
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
Not at this time, other than to rename the button aaaaaaCollections Manager ;

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.
knc1 is offline   Reply With Quote
Old 02-15-2013, 07:36 AM   #385
Yolina
Guru
Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.
 
Posts: 614
Karma: 3070513
Join Date: Feb 2011
Location: UK
Device: KPW2 wifi, Sony PRS 650
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.
Yolina is offline   Reply With Quote
Old 02-15-2013, 08:27 AM   #386
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,391
Karma: 5840126
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Yolina View Post
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.
Wasn't asking you to do it.

But if curious:
http://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.
knc1 is offline   Reply With Quote
Old 02-15-2013, 08:47 AM   #387
Yolina
Guru
Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.Yolina ought to be getting tired of karma fortunes by now.
 
Posts: 614
Karma: 3070513
Join Date: Feb 2011
Location: UK
Device: KPW2 wifi, Sony PRS 650
Quote:
Originally Posted by knc1 View Post
Wasn't asking you to do it.
probably just as well

Quote:

But if curious:
http://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.
Oh yes I see, thanks for the link.

Quote:

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.
As I've said, I am *extremely* grateful for what all of you are doing and I'm sure things are not always straightforward. I am a patient sort though and I would never dream of asking for an ETA or anything like that - things are ready when they are and that's that really. I'm just glad that sort other than alphabetical has been thought of and is likely to happen at some point.

Last edited by Yolina; 02-15-2013 at 08:50 AM.
Yolina is offline   Reply With Quote
Old 02-15-2013, 10:13 AM   #388
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,391
Karma: 5840126
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
erm. I guess. if you prefixed it with /bin/sh or something.

I suppose I should try.

should I even ask why?
The "action" : "whatever"
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.
knc1 is offline   Reply With Quote
Old 02-15-2013, 10:46 AM   #389
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 560
Karma: 2058815
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by knc1 View Post
@dsmid : which means that none of your script outputs will ever be seen by anything other than the bit-bucket.
I don't rely on displaying stdout on the screen, I use eips to print the messages.
dsmid is offline   Reply With Quote
Old 02-15-2013, 12:26 PM   #390
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 1,433
Karma: 25778020
Join Date: Dec 2011
Device: Kindle Paperwhite
Quote:
Originally Posted by dsmid View Post
I don't rely on displaying stdout on the screen, I use eips to print the messages.
And who is going to clean all that mess up on the screen once it is finished?
DuckieTigger is offline   Reply With Quote
Reply

Tags
kindle touch, kindle touch hacks, kindlet, launcher, launcher add-ons, paperwhite, unified

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kite: kindle 3 application launcher fbdev Kindle Developer's Corner 80 07-24-2014 10:44 AM
Launcher icon for KUAL? Aeris Kindle Developer's Corner 20 11-27-2013 01:03 PM
Tools [KUAL]Kindle reflective screen loader icantbebothered Kindle Developer's Corner 26 10-27-2013 09:08 AM
K5 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


All times are GMT -4. The time now is 05:35 PM.


MobileRead.com is a privately owned, operated and funded community.