GUI Launcher

From MobileRead
Jump to: navigation, search

This page is for the Kindle Touch See: Kindle_Touch_Hacking#App Launchers

[edit] Configuration


 <?xml version="1.0" encoding="UTF-8"?>
	All fields in the information section is required
	name: User readable name of the plugin
	version: Version string
	author: Who created this?
	id: Used for identifying this plugin, must be unique, should be the name of the plugin's directory
	<name>Test Plugin</name>
	<author>Yifan Lu</author>
	Scripts are run automatically based on their id. Use menus to run scripts on demand
	Script names are relative to the plugin's folder
	id="startup": Run script when Kindle starts up (when framework shows up)
	id="shutdown": Run script when Kindle shuts down (when framework goes down)
	more are coming soon, send me ideas for other places to hook scripts
	<script id="startup">bin/</script>
	<script id="shutdown">bin/</script>
	Menus can be two types:
	type="json": The value should be name of the JSON menu file relative to the plugin's folder
		If dynamic="true", then reload the file every time the menu is shown, otherwise, the menu will be cached
	type="java": The value should be the class to load, must implement the com.yifanlu.Kindle.Menuable interface
		jar="jarpath.jar" is the Jar file that contains the class, path is relative to the plugin's folder
	<menu type="json" dynamic="true">menu.json</menu>
	<menu type="json">anothermenu.json</menu>
	<menu type="java" jar="testplugin.jar">com.yifanlu.Test.TestPluginMenu</menu>

[edit] Apps for GUI Launcher

Personal tools

MobileRead Networks