GUI Launcher

From MobileRead
Jump to: navigation, search

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

[edit] Configuration

config.xml


 <?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
 -->
 <information>
	<name>Test Plugin</name>
	<version>1.0</version>
	<author>Yifan Lu</author>
	<id>testplugin</id>
 </information>
 <!-- 
	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
 -->
 <scripts>
	<script id="startup">bin/startup.sh</script>
	<script id="shutdown">bin/shutdown.sh</script>
 </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
 -->
 <menus>
	<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>
 </menus>


[edit] Apps for GUI Launcher

Personal tools
Namespaces

Variants
Actions
Navigation
MobileRead Networks
Toolbox