|
|
#1 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Sew on a new menu of buttons.
File layout (v.0.3.1): Code:
*/documents
KindleLauncher-2.0.azw2
*/extensions
/helper
config.xml
menu.jason
/bin
411.sh
kill-kterm.sh
setorientation.sh
ssallow.sh
ssprevent.sh
start_update.sh
usbnetwork.sh
PHP Code:
PHP Code:
PHP Code:
Now, see if I can duplicate that for the BBB extension.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#2 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Laid naked.
Good place to start.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Helper Menu add-in example
Not a good example of shell programming, just an example of what to change from that shown in post #1 for your own button add-in to the Helper menu.
The Button Man's helper menu is in */extensions/helper Mine are going into */extensions/helper2 Pick a directory name of your own to use. ![]() In config.xml change **ONLY** the >author< attribute. In the menu.json file change the 'name:' string to the button label. In the same line, change the 'action:' string to your path and filename. Paths are relative to your extension directory name. The 'sort priority' field is not currently used, leave it set at 1. This demo only adds one button, but add additional button defs. as shown in the post #1 example code as required. Write a shell script (which can be executed by Busybox Ash) for that described in the 'action:' string (put in your own bin directory). All of the above text files **should** use Linux line endings. Create a compressed tarball based at your helper's directory name, see attached for an example. Enjoy. (PS: example creates a report 'book' in documents with only the character '/' in it.) I.E: The current working directory of your scripts - which are run as the administrator 'root'.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#4 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Pre-release Preview
Released, see:
http://www.mobileread.com/forums/sho...d.php?t=205732 Unarchive, Diddle the ntpdate.conf file for a local NTP time server if required (Directions in config file) - Put the directory 'helper2' and its sub-directories under the 'extensions' folder of KUAL - Establish a network connection - Select the 'Set DateTime from Server' button - It should 'just work' and produce a new 'book-report'. Only tested on Kpw-5.3.3 but it is written to be harmless - Give it a try and report back here - If any errors (other than 'server not available') attach the book-report to your post. Please mention your Kindle model when making a report.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan Last edited by knc1; 02-13-2013 at 08:21 PM. |
|
|
|
|
|
#5 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Field report #1
Works fine on the Kpw (paperwhite)
Testing by twobob: Works fine on the K5 (touch) Works fine on the K3 Does not work over DX-3G (but should work over USB networking if you have that setup to access the Internet) Other testing in progress. From the list above - it should work on the K4 Still to be heard from: the K2 Other reports on other devices would be nice to have.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan Last edited by knc1; 02-13-2013 at 01:10 PM. |
|
|
|
|
|
#6 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 147
Karma: 511590
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
Nice script! Can't help you with reporting on other devices as I only have a KT. Suggestion: change the thread title to mention its connection to KUAL.
|
|
|
|
|
|
#7 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Will give it its own thread when ready.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#8 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
KUAL DateTime Button Released
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Book (Kindle) - How to Sew: Basics | koland | Deals, Freebies, and Resources (No Self-Promotion) | 2 | 05-06-2011 10:09 AM |
| PRS-505 PRS-505 menu and other buttons no response. PLEASE HELP | jakeluck | Sony Reader | 2 | 01-08-2011 03:23 PM |
| Convert "Section Menu" in "Main Menu" | zeener | Recipes | 2 | 11-23-2010 10:33 AM |
| main menu, section menu, css for calibre mobipocket output | naisren | Calibre | 2 | 08-23-2010 11:42 PM |
| Metadata downloads via Edit menu but not via Download menu | mfyahya | Calibre | 10 | 06-20-2010 06:50 AM |