摘要 |
An electronic device, a method for controlling the electronic device, a recording medium, and an ear-jack terminal cap interworking with the electronic device are provided. The method includes determining whether an ear-jack terminal cap has been inserted into an ear-jack terminal provided in the electronic device, setting at least one function for a button of the ear-jack terminal cap, and performing the set at least one function, upon receipt of an input of the button of the ear-jack terminal cap. |