1. A device for managing an application composed of instructions executable by an execution system, said execution system communicating with an operating system so as to access the resources of the device, wherein the device comprises an applications manager which can execute at least one management instruction set, said management instructions modifying via functions the state of the device before the running of an application executed by the operating system and/or the execution system, said management instructions being executed upon a change of state and/or upon an event external to the device and executed at the end of the running of the application; said application, said management instructions being provided by an external source such as a broadcast network or user command introduction means.