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 05-24-2016, 11:39 PM   #1531
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
I posted a frontlight control KUAL extension over here:
https://www.mobileread.com/forums/sho...13#post3323913

It lets you turn the paperwhite frontlight completely off (plus other settings). Resuming from screensaver restores the brightness value set with the control panel brightness slider.

There have been reports that you can turn the backlight off by sliding to minimum brightness and then tapping "minus" (or "dim" or whatever that icon means). However, this never worked on my PW1 or PW2 or PW3. This extension DOES work (just tested on my PW2 and PW3).

And I will add the extension download here too...

But for details, read the linked post.
Attached Files
File Type: gz frontlight_control.tar.gz (573 Bytes, 218 views)
geekmaster is offline   Reply With Quote
Old 05-25-2016, 04:52 AM   #1532
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
I asked for it in another post, but i write here 'cause i think it will be an useful feature for the future:

It's possible to give some sort of parameters to the scripts KUAL launches?
It would be great if, clicking on a KUAL button, a window with textboxes, checkboxes, radiobutton, etc can be shown

Last edited by encol; 05-25-2016 at 05:08 AM.
encol is online now   Reply With Quote
Old 05-25-2016, 06:25 AM   #1533
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by encol View Post
I asked for it in another post, but i write here 'cause i think it will be an useful feature for the future:

It's possible to give some sort of parameters to the scripts KUAL launches?
It would be great if, clicking on a KUAL button, a window with textboxes, checkboxes, radiobutton, etc can be shown
It is possible. KUAL can launch any script or binary application, and those apps can do whatever you want. If you want to write your own program, there are a number of languages available -- java, lua, python, C, even plain old shell script programming.
geekmaster is offline   Reply With Quote
Old 05-25-2016, 06:52 AM   #1534
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by geekmaster View Post
It is possible. KUAL can launch any script or binary application, and those apps can do whatever you want.
Yes, it's true.
However it would be nice if we can directly pass some parameters to the script/application.
For example a script i made recently needed a password and a command as parameter.
If i can pass them directly by Kual (only a textbox would be sufficient) there is no need to write UI code every time
encol is online now   Reply With Quote
Old 05-25-2016, 06:55 AM   #1535
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by encol View Post
Yes, it's true.
However it would be nice if we can directly pass some parameters to the script/application.
For example a script i made recently needed a password and a command as parameter.
If i can pass them directly by Kual (only a textbox would be sufficient) there is no need to write UI code every time
A KUAL button can pass parameters to a script or application already. Look at some exsiting KUAL extensions to see how that works (something other than my "Frontlight Control" extension -- not all extensions use such parameter passing). However, those parameters are either hard-coded or defined as environment variables. If you want a popup to request user input, that would be part of the application script that KUAL calls, and such a script may call other apps passing such user input as a username.

Now, if you really WANT a feature added to KUAL for (built-in) user-input textboxes or other input controls, the KUAL source code IS available (Via the magic of "open source", and you are certainly free to add such features. But in my case, rquesting user input in an intermediate script would be easier to implement.

Last edited by geekmaster; 05-25-2016 at 07:02 AM.
geekmaster is offline   Reply With Quote
Old 05-25-2016, 07:01 AM   #1536
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by geekmaster View Post
A KUAL button can pass parameters to a script or application already.
I mean parameters that user can input every time the script is launched.

Quote:
Originally Posted by geekmaster View Post
Look at some exsiting KUAL extensions to see how that works
I searched for it but with no luck do you suggest me some example?
encol is online now   Reply With Quote
Old 05-25-2016, 07:03 AM   #1537
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by encol View Post
I mean parameters that user can input every time the script is launched.

I searched for it but with no luck do you suggest me some example
I bumped the submit button before I completed my post. Read it again -- I added info about user-input methods.
geekmaster is offline   Reply With Quote
Old 05-25-2016, 07:05 AM   #1538
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by geekmaster View Post
Now, if you really WANT a feature added to KUAL for (built-in) user-input textboxes or other input controls, the KUAL source code IS available (Via the magic of "open source", and you are certainly free to add such features. But in my case, rquesting user input in an intermediate script would be easier to implement.
Ok, i'll take a look
encol is online now   Reply With Quote
Old 05-25-2016, 07:49 AM   #1539
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 encol View Post
I mean parameters that user can input every time the script is launched.


I searched for it but with no luck do you suggest me some example?
Investigate how this command does its tricks:
Code:
lipc-set-prop com.lab126.pillow customDialog '{"name":"sensitivity_control" ,"clientParams":{"show":true}}'
You would be looking for two things -

grep the world, including *.jar contents if required, to find where and how "sensitivity_control" is defined.
(My guess, that is the panel layout).

how to return the values input.

= = = =

That is a working command, although the script that contains it is disable outside of the factory.
knc1 is offline   Reply With Quote
Old 05-26-2016, 06:56 AM   #1540
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
I made an extension to control manual connections to networks without re-enter credentials/configuration:

If anyone has this need, he can find it here
encol is online now   Reply With Quote
Old 05-28-2016, 05:20 PM   #1541
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Show time while reading

This extension shows the current time also while reading a book.

I needed it because my pw3 doesn't show time if i don't tap on the top bar and if the book i'm reading is very absorbing i often don't realize that is time to sleep
Attached Files
File Type: zip show_time.zip (2.0 KB, 307 views)
encol is online now   Reply With Quote
Old 05-28-2016, 06:44 PM   #1542
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@encol: I'd sleep a bit more and keep the last shown time around to avoid launching eips if time hasn't moved .
NiLuJe is offline   Reply With Quote
Old 06-04-2016, 01:55 PM   #1543
sk8terek
Member
sk8terek began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2012
Location: Warsaw, Poland
Device: PW3
I jailbroke my PW3 with 5.6.5 firmware (with 1.14.N JB) and installed KUAL, then updated it to FW 5.7.5.1. Unfortunately I've accidentaly performed a factory reset and when I try to open KUAL it says that my device is not authorised as a test Kindle. I can't install MKK ("update your kindle" is grayed out")

Have I just made myself to perform serial JB? :/

Last edited by sk8terek; 06-04-2016 at 02:04 PM.
sk8terek is offline   Reply With Quote
Old 06-04-2016, 02:34 PM   #1544
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 sk8terek View Post
I jailbroke my PW3 with 5.6.5 firmware (with 1.14.N JB) and installed KUAL, then updated it to FW 5.7.5.1. Unfortunately I've accidentaly performed a factory reset and when I try to open KUAL it says that my device is not authorised as a test Kindle. I can't install MKK ("update your kindle" is grayed out")

Have I just made myself to perform serial JB? :/
Try the "hotfix" package, the same (there is only one, I mean the one you already have a copy of) "hotfix" package you used when you jailbroke the device.

= = = =

You **MUST** use MrPI to install packages (UYK does not work for our packages, with the exception of the hotfix package).

- - - - -

Reread the first post of the software jailbreak thread -
It has recently been edited to make this information more clear.
https://www.mobileread.com/forums/sho...d.php?t=265675

Last edited by knc1; 06-04-2016 at 02:39 PM.
knc1 is offline   Reply With Quote
Old 06-04-2016, 03:02 PM   #1545
sk8terek
Member
sk8terek began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Dec 2012
Location: Warsaw, Poland
Device: PW3
Quote:
Originally Posted by knc1 View Post
Try the "hotfix" package, the same (there is only one, I mean the one you already have a copy of) "hotfix" package you used when you jailbroke the device.
When I copy Update_jailbreak_bridge_1.14.N_install.bin, which I used on 5.6.5, and eject the device, an "Update Error" pops out saying "An invalid update file has been loaded on your device..." The UYT option is grayed out as well...

Last edited by sk8terek; 06-04-2016 at 03:04 PM.
sk8terek 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:08 PM.


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