![]() |
#106 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
aloop.sh rev 3
Here we go, I think I added all of kc1's suggestions, and took care of twobob's requests. The labels are cleanup up a bit, with some ugly characters removed and spaces coalesced. As label format I chose "xml_name.json_name" when they differ, or simply "json_name" when they coincide. See aloop.out.
edit: version bump 20130122,c - adds sort option (aloop.sh -s) - adds TouchRunner compatible output option (aloop.sh -f=touchrunner) Last edited by stepk; 01-22-2013 at 05:23 PM. Reason: version bump |
![]() |
![]() |
![]() |
#107 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
version bump 20130122,c post #106
this version adds a TouchRunner compatible output option, ref. https://www.mobileread.com/forums/sho...&postcount=297. TouchRunner seems to be very similar to Kindle Launcher in this thread. It's an active content book, it reads its menu from /mnt/us/touchrunner/commands.txt, and displays up to 12 labels on a single page, whilst Kindle Launcher displays up to 30. I think 12 isn't enough, and 30 isn't that many. Since neither menu can be nested it's easy to run out of entries. Consider that Komic alone adds 6 or 7 entries to yfanlu's menu. Can an active content book be made to scroll? Maybe by defining page bookmarks and navigating via GoTo? Last edited by stepk; 01-22-2013 at 05:37 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#108 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It was Komic that demonstrated a need for them. |
|
![]() |
![]() |
![]() |
#109 | |
( ͡° ͜ʖ ͡°){ʇ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:
In hand. EDIT: Huge thanks |
|
![]() |
![]() |
![]() |
#110 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I've found a way to run KindleLauncher with swipe over Menu button. Tested on Kindle Touch 5.3.2.
Run provided shell script (make sure launcherPath is set to path of your KindleLauncher) and then swipe over Menu button in search bar, starting from top or right. It works even in browser. It will work until Pillow restart, so it's enough to run script only once after reboot. Simple press on Menu button will work as usual. It's possible to implement toggling of this additional functionality without reloading of Pillow, but ATM disabling isn't implemented and could be done only with restart pillow (UPD: toggling is implemented in another version made for using in Upstart script). This script is a simple POC, so there could be also other quirks. Spoiler:
Last edited by eureka; 01-09-2014 at 07:53 PM. Reason: link to another script version |
![]() |
![]() |
Advert | |
|
![]() |
#111 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
improved sh?
Quote:
Spoiler:
Last edited by stepk; 01-23-2013 at 06:37 AM. Reason: changed script to preserve double-quoting style |
|
![]() |
![]() |
![]() |
#112 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
No, thanks. I enjoy my double quotes in JavaScript code.
(Just a joke. However, double quotes are syntactically valid in JavaScript, so remembering to avoid or to escape them could be mentally painful.) EDIT: just realized that my original code didn't handle single quotes in JavaScript as expected. Fixed. Last edited by eureka; 01-23-2013 at 03:49 AM. |
![]() |
![]() |
![]() |
#113 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Another nice way to run the launcher is using the store button.
Just use this tweak placing: Code:
file:///mnt/us/documents/KindleLauncher-2.0.azw2 instead of: Code:
app://com.lab126.store Someone could also join the two things together and use the tap/swipe gesture to run launcher/something else. (Amazon "obfuscated" the searchbar.js file, but what's needed it easily findable). PS So it's time to make a nice 67x67px icon for the launcher... ![]() |
![]() |
![]() |
![]() |
#114 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Well, my script does it's work completely in runtime and doesn't change any system files. In fact, it should be possible also to change Store button icon and action in this way without editing of search_bar.js.
|
![]() |
![]() |
![]() |
#115 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
True, I didn't read it carefully!
Personally I prefer using the store button as I never use the store itself! Anyway that's a nice way to have the launcher always there to be used!! |
![]() |
![]() |
![]() |
#116 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
|
![]() |
![]() |
![]() |
#117 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
![]() |
![]() |
![]() |
#118 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Maybe I'm doing something wrong, but on KT 5.1.2 when I swipe over the Menu button nothing happens. I do see that the button flashes as I swipe over it. I did check that the path to KindleLauncher az2 is correct.
![]() P.S. I updated my mod to escape double quotes so you need not change your quoting style ![]() |
![]() |
![]() |
![]() |
#119 |
( ͡° ͜ʖ ͡°){ʇ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
|
Right. Thanks to all. Having a look now at these things. Super awesome as ever.
Thanks!!! |
![]() |
![]() |
![]() |
#120 | ||
( ͡° ͜ʖ ͡°){ʇ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:
perhaps I will rollback my device later to check that out. I can confirm it working on the 5.3.2 Excellent appreciation nevertheless. Quote:
![]() I'll play around with aloop-20130122c in the interim. Last edited by twobob; 01-23-2013 at 07:37 AM. |
||
![]() |
![]() |
![]() |
Tags |
kindle touch, kindle touch hacks, kindlet, kual, launcher, launcher add-ons, paperwhite, sqlite, unified |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |