Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4400

K5 Unified Applications Launcher

$
0
0
Support:
Currently only supporting the Touch and P/W (early test let's call it)

Will eventually support all models.
Specifically we are no longer attempting to adjust obfuscated classes nor extend the menu framework

Quote:

YOU WILL NEED TO HAVE AN EXTENSION SUCH AS THIS (kterm) TO BE INSTALLED FOR THIS TO BE USEFUL HOWEVER SOME OF THE OLDER PROGRAMS NO LONGER WORK ON THE NEWER KINDLES (nothing to do with this launcher they just dont work properly anymore) SUCH AS MANY IN THIS OLD LIST: SOME OF THESE DONT WORK AS A COURTESY THESE BROKEN APPLICATIONS ARE LISTED BELOW UNDER KNOWN ISSUES IN AN EFFORT TO SAVE YOU GRIEF AND WASTED TIME
It's a launcher of "other things" not an exciting thing in itself...

We have now included a few helper scripts to fix a known issue with a misbehaving application and to get you going called "Helper" (attached - unzip to FAT-ROOT/extensions/helper)

Installation:
Jailbreak. Kindlet Jailbreak. Install Developer certs.
Put KindleLauncher-2.0.azw2 in documents folder.
Run it by clicking icon.



Expected output:
It should read thru the /mnt/us/extensions folder and build a list of your extensions. Which you can just click the relevant button of to run.
Version 0.2 will exit the kindlet when you click a choice

TO EXIT:
Currently just press the HOME key on a Touch or the < icon.
Or select an item, the menu is now self-terminating.

Known issues:
Spoiler:
Requires the dev keys to be in place.
Only works on later model kindles... for now.

3rd party Software issues:
Komic doesn't work & has LF ended config files which nerf labels. (Silver18 notified.) possibly this works okay now
Skipstone seems to be struggling a bit with menus on the 5.3.2 - this may affect closing down skipstone gracefully.
I might put together a killall -9 skipstone script in the System!k extensions thingy until this is solid again. Some reports of it being fine
Mplayer GUI. The framebuffer thing really freaks the kindle out. but it does work - kinda... EDIT Bit better now...
gtk mines and gtk sudoku dont seem to work right anymore... :(
http://www.fabiszewski.net/kindle-notepad/ leafpad no longer works. menus dont load properly.
Gnash also has this "menus dont work" bug so it doesn't work some reports of it being fine...
Probably others....

much of this is just bit rot of old extensions... not the launchers failing.


TODO:
Spoiler:

finalise support for all older models.
Make it prettier.
possibly refactor parsing.
Detect LF Dos Line Ended files
Document everything.


Credits.
This is mainly the work of Ixtab.
with some nasty hacking by Twobob. I assisted somewhat also.
Yifan was the original chap whoms configs we parse. And everyone else along the way.

Changelog:
Spoiler:

0.0 added code to remove parse scripts from temp directory.

0.1 updated logo, removed some debug from status bar
Helper changes - Fixed DOS line ending. Updated kterm killer script.

0.2 Added process backgrounding and suicide call to kindlet. now is one shot.
created tidyup for orphaned process stubs.
added killall for known to misbehave apps.



FAQ:
Spoiler:

Removing unwanted entries from menu

If you have a menu item you don't want. simply renaming the correct /mnt/us/extensions/<application name>/config.xml and menu.json to config-skip.xml and menu-skip.json will remove them from the lists next load. or delete the offending folders. your call.


Adding things to the menu
Simply construct a pair of config.xml and menu.json in it's own application subfolder under /mnt/us/extensions/<application name>/ just like before. The launcher should now parse it.
At a minimum point the menu.json to run at least one thing (like say a shell script) to be actually useful.

Anything I should know?
You should only ever run code on your device from trusted sources. Code run via this launcher is no exception. We accept no responsibility and expect you to be vigilant and mindful of any custom code you choose to run on your machine.

So what can you do with this? well at the moment a few tests would go a long way. There are a couple of apps that don't play nicely -
xterm for example on the PW must be replaced by Kterm.
Documenting these would go a long way towards fixing these corner cases.

This is in the TESTING phase right now. Shouldn't hurt anything to try it, but don't expect miracles. cheers.

Also Attached as described above is the "Helper" extensions package.
simply put in your extensions folder to get started.

Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_137.png
Views:	N/A
Size:	40.5 KB
ID:	99753   Click image for larger version

Name:	TightVNC: kindle:0.0_138.png
Views:	N/A
Size:	33.8 KB
ID:	99754   Click image for larger version

Name:	launcher-icon.png
Views:	N/A
Size:	17.5 KB
ID:	99755   Click image for larger version

Name:	helper.png
Views:	N/A
Size:	26.4 KB
ID:	99777  
Attached Files
File Type: gz KindleLauncher-2.0.V.0.2.azw2.tar.gz (79.8 KB)
File Type: zip KindleLauncher-2.0.V.0.2.azw2.zip (79.8 KB)
File Type: gz helper.V.0.2.tar.gz (1.3 KB)
File Type: zip helper.V.0.2.zip (2.4 KB)

Viewing all articles
Browse latest Browse all 4400

Trending Articles