8. A method for a peripheral device compatible with a portable media player, comprising: connecting to the portable media player; and transmitting to the portable media player a user interface (UI) document defining layout and functionality of a UI for interacting with the peripheral device, wherein the UI document identifies a widget and an update rate for the widget, and a UI presentation program executed by a microprocessor of the portable media player generates and displays the UI based on the UI document.
8. A method for a peripheral device compatible with a portable media player, comprising: connecting to the portable media player; and transmitting to the portable media player a user interface (UI) document defining layout and functionality of a UI for interacting with the peripheral device, wherein the UI document identifies a widget and an update rate for the widget, and a UI presentation program executed by a microprocessor of the portable media player generates and displays the UI based on the UI document. 9. The method of claim 8 , further comprising: transmitting an output to the portable media player, wherein the UI presentation program updates the UI with the output.