1. An electronic apparatus for executing an application program, the electronic apparatus comprising: a memory configured to store device support information corresponding to at least one application program; and at least one processor configured to: receive device information from an external device when the external device is connected with the electronic apparatus; search for one or more application programs that support the external device, the search being based on the device information and the device support information for each of the at least one application program; determine the number of the searched one or more application programs; if the number of the searched one or more application programs is plural, display the searched one or more application programs by the display; and in response to a selection input, execute an application program among the displayed one or more application programs, wherein the device support information includes an indicator indicating a type of device supported by a specific application program, and wherein, if the number of the searched application programs is one, execute the searched application program.