1. An electronic apparatus for executing an application program, the electronic apparatus comprising: a memory unit configured to store device support information corresponding to at least one application program; and a controller configured to receive device information from an external device when the external device is connected with the electronic apparatus, to search for one or more application programs supporting the external device based on the device information and the device support information, and to execute an application program among the found one or more application programs.