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 03-05-2013, 04:23 PM   #571
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
Quote:
Originally Posted by DuckieTigger View Post
I tend to agree to that, officially.

Unofficially? Yes nested menus are possible....
Tested successfully on PW 5.3.3 with KUAL 0.3.2 and kterm running through KUAL.
Hey DuckieTigger, that's ingenious! I like it, but I wonder if that's the kind of "nested menu" that people have in mind when they ask for nested menus. I presume that they mean nested in the sense of a dynamic menu, like yfan lu's graphical menu, where you can visit the whole menu structure without interrupting the navigation. Anyhow, your hack has value, for instance if someone wants to temporarily hide all entries but the ones that are "needed for the job". Thanks for sharing your idea.
stepk is offline   Reply With Quote
Old 03-05-2013, 04:42 PM   #572
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,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:
Originally Posted by stepk View Post
Hey DuckieTigger, that's ingenious! I like it, but I wonder if that's the kind of "nested menu" that people have in mind when they ask for nested menus. I presume that they mean nested in the sense of a dynamic menu, like yfan lu's graphical menu, where you can visit the whole menu structure without interrupting the navigation. Anyhow, your hack has value, for instance if someone wants to temporarily hide all entries but the ones that are "needed for the job". Thanks for sharing your idea.
Yeah. I liked his idea too...

(we really have to look at the non suiciding option RSN!!!) and possibly DRILL DOWN into group? with a RETURN button?

whats your thoughts on that.
twobob is offline   Reply With Quote
Advert
Old 03-05-2013, 06:21 PM   #573
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: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by twobob View Post
Yeah. I liked his idea too...

(we really have to look at the non suiciding option RSN!!!) and possibly DRILL DOWN into group? with a RETURN button?

whats your thoughts on that.
My thought is that a dynamic menu would be great. I am afraid that you will need to change the internal datastructure and add functionality to the parser.

Stepk, look again, I am not only showing a subset of what is needed, but a set of buttons previously NOT shown at all. and everything happens without overwriting any files - purely on OS level.
DuckieTigger is offline   Reply With Quote
Old 03-05-2013, 08:32 PM   #574
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: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
idea for sub-sub menues

Just had a possibly simple idea on how to implement sub-sub-menues. It only requires minor adjustments and a non-suicidal button.
  • add a optional tag to config.xml called "do-not-recurse" with a name for the button to open sub-menu
  • when parser reads a do-not-recurse, ignore all sub-directories with further config.xml, create a button with the sub-menu name that will invoke clearing of all buttons in KUAL, reinvoking the parser starting at the directory the config.xml sat in
  • when parser is invoked from a certain directory other than /mnt/us/extensions do 2 things: ignore the config.xml in the start-directory, only recurse down. Add a button at the top "MAIN" that will clear the buttons and reinvoke the parser at /mnt/us/extensions.
Minimal changes, only one tag and name added to config.xml. Extension developer does not need to know how to clear buttons (as the command for MAIN button in sub-menu and the button to open the sub-menu will be created by parser). It will work recursive, so sub-sub-sub-menues can easily be done.

Not completely elegant: the only way to get out of sub-menu is to go back to top hierarchy. The good though? No need to keep track of how you got to a sub-menu - it is always a sub-menu when not started from /mnt/us/extensions.

Things that would be nice: non-suicidal buttons that will keep you in a submenu, or remember which sub-menu you last used.

edit: Of course this is not the dynamic menu either. Problems may arise when sorting is concerned - and your internal data structure. Pure dynamic you have to ensure they stay grouped and visibly different. You would not want to explode a submenu and have them mixed in with the other buttons? No restart of KUAL needed, so it is kind of dynamic - my hack requires it, because after all it is a hack.

Last edited by DuckieTigger; 03-05-2013 at 09:14 PM.
DuckieTigger is offline   Reply With Quote
Old 03-06-2013, 02:26 AM   #575
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
Quote:
Originally Posted by DuckieTigger View Post
My thought is that a dynamic menu would be great. I am afraid that you will need to change the internal datastructure and add functionality to the parser.

Stepk, look again, I am not only showing a subset of what is needed, but a set of buttons previously NOT shown at all. and everything happens without overwriting any files - purely on OS level.
DuckieTigger, yes I saw what your hack can do. I just described it from a "why, would a user need it?" point of view, i.e. "to focus on a task" (I know the task could include a new set of buttons with your method).

Re dynamic menus, I don't think the parser needs more code, but the java code does for sure - if nothing else to display a dynamic menu.

Quote:
Originally Posted by twobob View Post
Yeah. I liked his idea too...

(we really have to look at the non suiciding option RSN!!!) and possibly DRILL DOWN into group? with a RETURN button?

whats your thoughts on that.
Non suiciding option should be easy as a user-controlled flag in menu.json.

Drilling down into a submenu + return button sounds within reach of the current code set with a few controlled additions, (goes into thinking...)
stepk is offline   Reply With Quote
Advert
Old 03-06-2013, 02:44 AM   #576
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
Thanks, food for thought. However, I think this would be difficult to do with the current code base, due to the way the kindlet invokes the parser - one shot, control doesn't go back and forth, data is passed back in a single stream
Thread history: I learned the hard way that KUAL development likes a simple incremental path.

Q for all: is a two-level nested menu, that is no sub-sub-... menus, just sub-menu, not enough for the vast majority of kindle use cases?

Quote:
Originally Posted by DuckieTigger View Post
Just had a possibly simple idea on how to implement sub-sub-menues. It only requires minor adjustments and a non-suicidal button.
  • add a optional tag to config.xml called "do-not-recurse" with a name for the button to open sub-menu
  • when parser reads a do-not-recurse, ignore all sub-directories with further config.xml, create a button with the sub-menu name that will invoke clearing of all buttons in KUAL, reinvoking the parser starting at the directory the config.xml sat in
  • when parser is invoked from a certain directory other than /mnt/us/extensions do 2 things: ignore the config.xml in the start-directory, only recurse down. Add a button at the top "MAIN" that will clear the buttons and reinvoke the parser at /mnt/us/extensions.
Minimal changes, only one tag and name added to config.xml. Extension developer does not need to know how to clear buttons (as the command for MAIN button in sub-menu and the button to open the sub-menu will be created by parser). It will work recursive, so sub-sub-sub-menues can easily be done.

Not completely elegant: the only way to get out of sub-menu is to go back to top hierarchy. The good though? No need to keep track of how you got to a sub-menu - it is always a sub-menu when not started from /mnt/us/extensions.

Things that would be nice: non-suicidal buttons that will keep you in a submenu, or remember which sub-menu you last used.

edit: Of course this is not the dynamic menu either. Problems may arise when sorting is concerned - and your internal data structure. Pure dynamic you have to ensure they stay grouped and visibly different. You would not want to explode a submenu and have them mixed in with the other buttons? No restart of KUAL needed, so it is kind of dynamic - my hack requires it, because after all it is a hack.
stepk is offline   Reply With Quote
Old 03-06-2013, 03:29 AM   #577
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: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by stepk View Post
Thanks, food for thought. However, I think this would be difficult to do with the current code base, due to the way the kindlet invokes the parser - one shot, control doesn't go back and forth, data is passed back in a single stream
Thread history: I learned the hard way that KUAL development likes a simple incremental path.

Q for all: is a two-level nested menu, that is no sub-sub-... menus, just sub-menu, not enough for the vast majority of kindle use cases?
Ahhhh, I see. Is it really necessary to parse each time KUAL starts? Leave the output in temp, this way it only needs to actually parse once per reboot - or until that file gets deleted per request. The java does need more flexible handling if switching from shell script to java is undesired. If one sub-menu is easier to implement, then one should work. I can see a problem when one wishes to have sub-menus for system-tools, games, editors, ... - that uses up the one level, everything underneath would be flat.
DuckieTigger is offline   Reply With Quote
Old 03-06-2013, 11:26 AM   #578
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,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
I keep thinking of something intelligent to add.

"I got nothing."

perhaps more tea will bring new thoughts. nice work guys
twobob is offline   Reply With Quote
Old 03-06-2013, 12:09 PM   #579
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by stepk View Post
Q for all: is a two-level nested menu, that is no sub-sub-... menus, just sub-menu, not enough for the vast majority of kindle use cases?
agree
thomass is offline   Reply With Quote
Old 03-06-2013, 12:26 PM   #580
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
@thomass, you agree with a question? Is your answer politically correct or was my question?
stepk is offline   Reply With Quote
Old 03-06-2013, 12:43 PM   #581
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,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
not enough.
twobob is offline   Reply With Quote
Old 03-06-2013, 02:17 PM   #582
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by stepk View Post
@thomass, you agree with a question? Is your answer politically correct or was my question?
My mistake. I thought you were inclined to have a two level menu.

OK my answer: yes, I think two level is quite sufficient.

Last edited by thomass; 03-06-2013 at 03:17 PM.
thomass is offline   Reply With Quote
Old 03-08-2013, 01:44 PM   #583
n3rd4i
Member
n3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to behold
 
Posts: 23
Karma: 19930
Join Date: May 2012
Device: Amazon Kindle Keyboard
what compiler do i need to make a build for kindle / Kindlet ?
n3rd4i is offline   Reply With Quote
Old 03-08-2013, 02:07 PM   #584
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,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
ant is what I use.
twobob is offline   Reply With Quote
Old 03-11-2013, 03:49 PM   #585
n3rd4i
Member
n3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to beholdn3rd4i is a splendid one to behold
 
Posts: 23
Karma: 19930
Join Date: May 2012
Device: Amazon Kindle Keyboard
is someone interested in compiling dos2unix for Kindle 3 keyboard?

Edit: a better option is to compile DOSBOX for kindle, will help you use old DOS programs / Games, like XCOM, but i dont know how to do it...
I'm trying to compile something with ANT on windows but i get lots of errors...

Last edited by n3rd4i; 03-11-2013 at 03:54 PM.
n3rd4i is offline   Reply With Quote
Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 10:33 AM.


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