1. A method for protecting an application program performing a task in an electronic device, the method comprising: storing information for executing the task in the electronic device in a smart object coupled thereto; and providing a request for the information to the smart object at a run time execution of the application program in the electronic device, and returning the information to the application program to define at the run time a correct description of the task; with the application program comprising codes associated with the task, with the codes that are correctly described being compiled and executed with the application program after receiving the information from the smart object, and with the codes that are incorrectly or incompletely described not being executed with the application program before receiving the information from the smart object; the incomplete description allowing a limited execution of the task before receiving the information from the smart object, with the limited execution comprising displaying an inactive icon corresponding to the task on a user interface of the electronic device, and with the application program processing the information received from the smart object for activating the icon for execution of the task.