Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2013, 12:12 PM   #976
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@twobob: That works fine for a script, or a command, but, like ixtab said, for an application, it's not really applicable or recommended (eating ALL THE RAM!), especially if the target application is a Kindlet.

Depending on what the target application does, one could potentially try to watch the logs/listen for a specific event to catch its exit and restore the previous state, but that's hackish, potentially unreliable, and out of scope for KUAL.

@nasser: Yeah, I use it extensively in my stuff, but that's because I only launch a quick command, or a very short-term script (a couple of seconds at most) with it.

Last edited by NiLuJe; 08-07-2013 at 01:37 PM.
NiLuJe is offline   Reply With Quote
Old 08-07-2013, 12:12 PM   #977
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
no worries.

Note that it is wrapped in ""
twobob is offline   Reply With Quote
Advert
Old 08-07-2013, 12:13 PM   #978
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 NiLuJe View Post
@twobob: That works fine for a script, or a command, but, like ixtab said, for an application, it's not really applicable, especially if the target application is a Kindlet.

Depending on what the target application does, one could potentially try to watch the logs/listen to a specific event to catch it's exit and restore the previous state, but that's hackish, potentially unreliable, and out of scope for KUAL.
Agreed.

I used it on a gtk application "9 mens morris"

what niljue said "YMMV"
twobob is offline   Reply With Quote
Old 08-07-2013, 01:04 PM   #979
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by nasser View Post
...
Will try out adding it to the other buttons..
Works ok for:
1. Frotz
2. Leafpad
3. kterm
4. KindleExplorer
5. gtkmines
6. Draw

Kual is now really Kool(er)..

thanks again.. twobob..
nasser is offline   Reply With Quote
Old 08-07-2013, 01:26 PM   #980
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 nasser View Post
Works ok for:
1. Frotz
2. Leafpad
3. kterm
4. KindleExplorer
5. gtkmines
6. Draw

Kual is now really Kool(er)..

thanks again.. twobob..
Yeah pretty much the gtk stuff.

What the boys said is spot on though. Just so you know.
twobob is offline   Reply With Quote
Advert
Old 08-07-2013, 02:31 PM   #981
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by twobob View Post
Yeah pretty much the gtk stuff.

What the boys said is spot on though. Just so you know.
Yes.. noted..

As long as the app run by the button doesn't run out of RAM..
nasser is offline   Reply With Quote
Old 08-07-2013, 02:50 PM   #982
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by nasser View Post
.....
As long as the app run by the button doesn't run out of RAM..
Tried running "free" command in kterm with and without return to kual entry in kterm's menu.json file.. but no clear result.. the difference in memory is not much..
nasser is offline   Reply With Quote
Old 08-07-2013, 03:18 PM   #983
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
yeah.

not a great deal I wouldn't imagine.

It's just such a small RAM every little helps.
twobob is offline   Reply With Quote
Old 08-07-2013, 03:49 PM   #984
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by nasser View Post
Yes.. noted..

As long as the app run by the button doesn't run out of RAM..
No... it's that, but not only that. If the command that is run is itself, or transitively results in the execution of, a Kindlet, KUAL will inevitably get killed along the way.

KUAL is a replacement for yifanlu's GUI Launcher, which closely matches the semantics of the well-known Windows "Start Menu": Once your desired action was started, the launcher disappears. That is by design (and given the limitations of the Kindle, it is the only feasible least common denominator).

You may be able to work around the original purpose of it by modifying the extension definitions to your liking -- but don't expect KUAL to be persistent. Ever.

Last edited by ixtab; 08-07-2013 at 06:59 PM.
ixtab is offline   Reply With Quote
Old 08-07-2013, 04:29 PM   #985
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 pulled down all the latest tweakings Ixtab.


Quote:
~/GIT/kindlelauncher $ git pull
remote: Counting objects: 568, done.
remote: Compressing objects: 100% (308/308), done.
remote: Total 523 (delta 220), reused 0 (delta 0)
Receiving objects: 100% (523/523), 77.16 KiB, done.
Resolving deltas: 100% (220/220), completed with 18 local objects.
From https://bitbucket.org/ixtab/kindlelauncher
980c560..2a41fed master -> origin/master
9ee6ba1..8b1aec5 commented -> origin/commented
* [new branch] niluje-sucks-at-java -> origin/niluje-sucks-at-java
Updating 980c560..2a41fed
Fast-forward
.../ixtab/kindlelauncher/LauncherKindlet.java | 290 +--
.../ixtab/kindlelauncher/resources/KualEntry.java | 63 +-
.../ixtab/kindlelauncher/resources/KualLog.java | 14 +-
.../kindlelauncher/resources/MailboxProcessor.java | 2 +-
.../kindlelauncher/resources/aloop/CHANGELOG.txt | 35 +
.../ixtab/kindlelauncher/resources/aloop/KUAL.cfg | 27 +-
.../resources/aloop/extensions-kindle-list.txt | 10 +-
.../resources/aloop/test-tree-kindle.tgz | Bin 4069 -> 8836 bytes
.../kindlelauncher/resources/aloop/tool/strip.awk | 79 +-
.../ixtab/kindlelauncher/resources/parse.awk | 1890 ++++++++++++--------
.../ixtab/kindlelauncher/ui/v1/KUIAdapter.java | 2 +-
.../ixtab/kindlelauncher/ui/v1/KualLabel.java | 109 ++
12 files changed, 1499 insertions(+), 1022 deletions(-)
create mode 100755 src/com/mobileread/ixtab/kindlelauncher/ui/v1/KualLabel.java
Seems like a lot has happened.

Will attempt to get up to speed
twobob is offline   Reply With Quote
Old 08-07-2013, 05:51 PM   #986
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by twobob View Post
I pulled down all the latest tweakings Ixtab.


Seems like a lot has happened.

Will attempt to get up to speed
Hehe... yeah. That's what you get from giving random strangers commit access

Just kidding, of course. What NiLuJe did is absolutely awesome, fixes a bunch of issues, and should be committed to trunk right away (nope, not kidding this time).

@NiLuJe: do you mind merging your branch back in?
ixtab is offline   Reply With Quote
Old 08-07-2013, 06:59 PM   #987
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.

Will do.

And then test.

And then release.

Yeah?

Much obliged you guys. Super heroism.
twobob is offline   Reply With Quote
Old 08-07-2013, 08:36 PM   #988
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@ixtab & @twobob: stepk mentioned in the issue tracker he planned to review the changes a bit before merging to master, and that he would be back sometime in August.

That said, I'm all for a merge & release, of course, but I don't want to step on anyone's toes... .

Technically, the part that worries me the most is the ugly way I handled counting the extra quit/toRoot button at the end of a page, but the rest should be trivial/sane enough .

When you do release, don't hesitate to ping me so that I can sum up my changes for the changelog [EDIT: done]

Last edited by NiLuJe; 08-07-2013 at 09:07 PM.
NiLuJe is offline   Reply With Quote
Old 08-09-2013, 03:27 PM   #989
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
@NiLuJe, please go ahead and merge in your changes. I don't have 'nough time to review them and you certainly don't need my blessing whatsoever. I'm certain KUAL will shine with your fixes and extensions merged in. I'm looking forward to the next official build
Oh, https://wiki.mobileread.com/wiki/KUAL_What's_New might need updating...
stepk is offline   Reply With Quote
Old 08-09-2013, 03:55 PM   #990
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@stepk: Okidoki . Done & done .
NiLuJe is offline   Reply With Quote
Reply

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


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 12:58 AM.


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