Abstract:
In an electronic device and a method of operating an electronic device according to various embodiments, the electronic device may include: a foldable housing, including a hinge, a first housing connected to the hinge and including a first surface facing a first direction and a second surface facing a second direction opposite the first direction, and a second housing connected to the hinge, including a third surface facing a third direction and a fourth surface facing a fourth direction opposite the third direction, the second housing configured to be foldable with respect to the first housing about the hinge, wherein the first surface faces the third surface in a folded state of the electronic device; a display extending from the first surface to the third surface to provide the first surface and the third surface and including a touch controller configured to control a receiving function of an input on the display; a processor disposed inside the first or second housing and operatively coupled to the display; and a memory operatively connected to the processor, wherein the memory may store instructions that, when executed, cause the processor to control the electronic device to: detect the occurrence of changing an angle between the first housing and the second housing; receive a touch interrupt produced based on an input on the display; identify characteristics of the input in response to detecting the change in the angle; and determine whether to cancel the touch event corresponding to the input based on the characteristics of the input.
Abstract:
A method of controlling the output according to a type of connector and an electronic device adapted to the method are provided. The method includes determining whether a first, second and third external connector is inserted into a receptacle, via a circuit connected to the receptacle, wherein the receptacle is configured to receive the first, second or third external connector, each of the first and second connector includes a first number of contacts, and the third external connector includes a second number of contacts less than the first number of contacts; providing an audio output signal to the first external connector in a first manner when the first external connector is inserted into the receptacle; providing an audio output signal to the second external connector in a second manner which differs from the first manner when the second external connector is inserted into the receptacle; and providing an audio output signal to the third external connector in a third manner which differs from the first and second manners when the third external connector is inserted into the receptacle.
Abstract:
A method of controlling the output according to a type of connector and an electronic device adapted to the method are provided. The method includes determining whether a first, second and third external connector is inserted into a receptacle, via a circuit connected to the receptacle, wherein the receptacle is configured to receive the first, second or third external connector, each of the first and second connector includes a first number of contacts, and the third external connector includes a second number of contacts less than the first number of contacts; providing an audio output signal to the first external connector in a first manner when the first external connector is inserted into the receptacle; providing an audio output signal to the second external connector in a second manner which differs from the first manner when the second external connector is inserted into the receptacle; and providing an audio output signal to the third external connector in a third manner which differs from the first and second manners when the third external connector is inserted into the receptacle.