1. A method of executing an application in a mobile device comprising a camera, the method comprising: capturing through the camera a visual background external to the mobile device; associating a selected application with the visual background; executing the selected application in the mobile device; determining orientation parameters indicative of an orientation of the mobile device relative to the visual background; and generating application-specific output signals in the mobile device based at least on the orientation parameters.