release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > Main > PluginIndex > ViewerPlugin

View Files with Plugins

A viewer-plugin is a plugin that is programmed just like any other plugin, but acts to display, edit, write or otherwise deal with a file.

Viewer plugins are kept in ".rockbox/viewers/". They can be used to browse a file when invoked with the ON+PLAY menu choice "view with" and they are invoked when a file with its associated registered extension is used.

The extension <=> plugin connection is set in the ".rockbox/viewers.config" file.

Below follows an example showing the file format of the viewers.config file. The number at the end of each line defines the icon to be associated with the extension. For more on viewer icons see here.

ch8,viewers/chip8,0
txt,viewers/viewer,1
nfo,viewers/viewer,1
txt,apps/text_editor,2
jpg,viewers/jpeg,2


r5 - 30 Jan 2008 - 23:20:34 - MarcGuay


Parents: PluginIndex
Copyright by the contributing authors.