1. A method for controlling a camera included in a portable media device communicably coupled with an accessory, the method comprising, by the accessory: registering with the portable media device to obtain notifications about camera state; receiving a camera status notification from the portable media device, wherein the camera status notification includes information about whether the camera is active; receiving camera mode information from the portable media device, the camera mode information including information about whether the camera is in a still photo mode or a video mode; and sending an action command to the camera, wherein if the camera is in the still photo mode the action command instructs the camera to capture a still image and wherein if the camera is in the video mode, the action command instructs the camera to record a video.