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 01-23-2013, 08:08 AM   #121
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by stepk View Post
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.
Pretty much possible without doing something wrong. AFAIR, Menu button in early KT firmwares had class "menu", not id "menu". If "#menu" was introduced just with 5.3.2, then this script will not work on earlier firmwares without adaptation. I will not adapt it, because 5.3.2 should be sufficient to all and it's a POC anyway
eureka is offline   Reply With Quote
Old 01-23-2013, 08:17 AM   #122
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
right. a really helpful thing then would be a script that just "pops up" (alert?) the searchbars various DOM elements. then it could easily be adapted by others to be more resilient.

People choose to stay on versions generally to keep running bit-rotted applications that would fail. or features. etc.

Thanks for the excellent tip on stuffing pillow with scripts via interrogatePillow.

Assuming that this fails "elegantly" (it appears to) there should be no harm in including it regardless. but I will obviously run that by Ixtab get his thoughts too. much obliged.
twobob is offline   Reply With Quote
Advert
Old 01-23-2013, 08:25 AM   #123
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by twobob View Post
right. a really helpful thing then would be a script that just "pops up" (alert?) the searchbars various DOM elements. then it could easily be adapted by others to be more resilient.
Just review /usr/share/webkit-1.0/pillow/search_bar.html

Quote:
Originally Posted by twobob View Post
Thanks for the excellent tip on stuffing pillow with scripts via interrogatePillow.
This is very old way.
eureka is offline   Reply With Quote
Old 01-23-2013, 09:51 AM   #124
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
twobob, I'm working on an aloop.sh variant that adds a group index. The idea is for java to use the index to group similar entries together and colorize zebra-style. Useful you think? It will be later today because right now I have an emergency.
BTW, do you object at changing the separator character from the current one to hex 01? The current one is actually > 255 and sort doesn't like that (in its option list). I looked at the java class and it seems to me any char will do, as long as it's guaranteed to not be part of the label.
stepk is offline   Reply With Quote
Old 01-23-2013, 10:14 AM   #125
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by stepk View Post
twobob, I'm working on an aloop.sh variant that adds a group index. The idea is for java to use the index to group similar entries together and colorize zebra-style. Useful you think? It will be later today because right now I have an emergency.
BTW, do you object at changing the separator character from the current one to hex 01? The current one is actually > 255 and sort doesn't like that (in its option list). I looked at the java class and it seems to me any char will do, as long as it's guaranteed to not be part of the label.
An un-printable control character might be hard to find problems with.

Why not a printable one, which can not appear in a file or pathname?
":", "|", are two that are often used.

Where "|" might be a poor choice if the "action" can be a one-line script.
But the dir path separator ":" should be safe.
knc1 is offline   Reply With Quote
Advert
Old 01-23-2013, 11:03 AM   #126
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 was trying to avoid using non printing chars. the : and | chars are for sure used in some descriptions so I was trying to avoid them...

^ maybe???
twobob is offline   Reply With Quote
Old 01-23-2013, 11:10 AM   #127
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by twobob View Post
I was trying to avoid using non printing chars. the : and | chars are for sure used in some descriptions so I was trying to avoid them...

^ maybe???
Maybe turn back to XML, ditching custom line-oriented format?
eureka is offline   Reply With Quote
Old 01-23-2013, 12:01 PM   #128
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
ALERT: Noob's speaking!

You could also ask developers to provide a new pair of config/menu files that suit this launcher.
I don't mind spending some minutes if this makes your work easier (and improves the launcher).


If I completely misunderstood the matter, please forgive me!
silver18 is offline   Reply With Quote
Old 01-23-2013, 12:06 PM   #129
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 eureka View Post
Maybe turn back to XML, ditching custom line-oriented format?
hmph. no. I would just re-internalise it as Java first.
twobob is offline   Reply With Quote
Old 01-23-2013, 12:06 PM   #130
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 silver18 View Post
ALERT: Noob's speaking!

You could also ask developers to provide a new pair of config/menu files that suit this launcher.
I don't mind spending some minutes if this makes your work easier (and improves the launcher).


If I completely misunderstood the matter, please forgive me!
you can just use the old style one mate. (the "Helper" download has a menu/config pair in)

Last edited by twobob; 01-23-2013 at 01:23 PM.
twobob is offline   Reply With Quote
Old 01-23-2013, 12:18 PM   #131
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
I was trying to avoid using non printing chars. the : and | chars are for sure used in some descriptions so I was trying to avoid them...

^ maybe???
I wonder what that means in Windoze.
Maybe escape the description (print -q ....) (if ash has that) and then handle them escaped.
knc1 is offline   Reply With Quote
Old 01-23-2013, 12:26 PM   #132
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by silver18 View Post
You could also ask developers to provide a new pair of config/menu files that suit this launcher.
I don't mind spending some minutes if this makes your work easier (and improves the launcher).
BTW, there is a .desktop format specification. It's used in Linux distributions for describing program items which, for example, could be launched in desktop environment. It's a simple INI-like format supporting many useful declarations like icon property, list of categories for fitting program into hierarchical menu, localization etc. This format provides extensibility. There is also Desktop Menu specification to define how menu is constructed from directories with .desktop files.

This is certainly a bit complicated for current situation, but if there will be movement to discard legacy Yifan Lu's format it'd be nice to adopt existing standard.
eureka is offline   Reply With Quote
Old 01-23-2013, 01:14 PM   #133
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
That's a decent plan IMHO.

as you say perhaps not immediately but certainly "going forward" it would be the better option.

It would make the bits ripped out of debian have more value instantly also - as an added bonus.

I'm reading up on the links you have provided. Excellent research as ever
twobob is offline   Reply With Quote
Old 01-23-2013, 02:10 PM   #134
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
Me thinks this launcher is nearly good to go once the separator matter is settled. The desktop spec is certainly excellent, but a launcher is just a launcher, people spend their time inside apps instead of launchers. And if we want to improve the launcher me thinks it's the GUI and overall usability that make a difference. Just my 2 cents.
Back to the separator character, hex 01 is just as good as any other, it's only used in one place in the java script, and in my experience all terminals show it very clearly. It would be different if we had to print it on paper. OTOH, any characters which is illegal in a pathname will work, because the splitter routine can count the fields as it separates them out, and stop after 2 separators to split (in order) index, label, command path+command arguments. As you can see, as long as index (a number) and label (a string that aloop.sh can strip of any instances of the separator character itself) do not include the separator character, we'll be fine.
Having said this, I will go with the desktop spec if you want to invest in it. I just don't know where would the launcher display the icons...
stepk is offline   Reply With Quote
Old 01-23-2013, 02:11 PM   #135
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
okay. let's give it a go your way.

Sounds great.


B011 device ey? nice choice
twobob 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 09:21 PM.


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