Abstract:
A method for adjusting a display area and an electronic device are provided. The method may include, detecting a gesture for setting an inactive area in an active area of a display, identifying a size and a location of an inactive area to set, and designating part of the active area as the inactive area based on the identified size and location of the virtual inactive area.
Abstract:
A method of operating an electronic device is provided. The method of operating an electronic device includes generating at least one second moving picture representing a reaction to a first moving picture of a user of the electronic device based on a visual point of the first moving picture using an image sensor included in the electronic device while playing the first moving picture captured or received from a server. The method also includes generating a third moving picture in which at least a portion of the second moving picture is coupled to a partial area of the first moving picture at a corresponding visual point of the first moving picture.
Abstract:
A method for operating an electronic device is provided. The method includes obtaining input information input to a display screen and fingerprint information input to a fingerprint sensor. The method also includes executing a command matching a combination of the obtained screen input information and fingerprint information.
Abstract:
An electronic device according to various embodiments of the present invention comprises: a housing including a first surface facing a first direction and a second surface facing a second direction opposite to the first direction; a touch screen display disposed between the first surface and the second surface and exposed through the first surface; a pressure sensor disposed between the first surface and the second surface and configured to sense at least one pressure by an external object on the touch screen display; at least one processor electrically connected to the touch screen display and the pressure sensor; and a memory electrically connected to the processor, wherein the memory may store instructions which cause the processor to receive, from the pressure sensor, data indicating pressure by a user or the external object on the touch screen display, determine a rate of pressure change corresponding to a change of the pressure per unit time, and call a function on the basis of at least a part of at least one between a value of the pressure and the rate of pressure change, during execution. Other embodiments may be possible.
Abstract:
An electronic device is provided. The electronic device includes at least one wireless communication circuit, a processor, and a memory. The memory stores instructions to enable the processor to, during first P2P wireless communication with a first external electronic device, enable the electronic device to operate as at least one of a host or a client, store first information about a role of the electronic device one of the host or the client, during second P2P wireless communication with the first external electronic device after the first P2P wireless communication, determine whether the first external electronic device was previously in a group, exchange second information with the first external electronic device based on a status of at least one of the electronic device or the first external electronic device, and select the role of the electronic device as the host or the client based on the second information.
Abstract:
An electronic device may include a network interface, a wireless communication circuit configured to support directional communication, a processor electrically connected with the network interface and the wireless communication circuit, and a memory electrically connected with the processor. The memory may store instructions executed to enable the processor to form a first wireless communication channel with a first external electronic device using the wireless communication circuit, form a second wireless communication channel with a second external electronic device using the wireless communication circuit, determine information associated with positions of the first external electronic device and the second external electronic device, detect communication, via the electronic device, between the first external electronic device and the second external electronic device, and enable the first external electronic device and the second external electronic device to directly connect to each other in the frequency band at least partially based on the information.
Abstract:
A method and apparatus for controlling a screen in an electronic device are provided. The method includes displaying a pop-up window in a display area, disposed over another application displayed in the display area. If a movement of the pop-up window is detected, and a portion of the pop-up window reaches a predefined area of the display area, the pop-up window is removed from the display portion. A selectable icon is displayed allowing a user to redisplay the pop-up window or alter an operational state of the pop-up window.
Abstract:
An electronic device forming a mesh network with a plurality of other devices and a method for operating the same are disclosed. According to an embodiment, an electronic device may comprise a wireless communication circuit configured to provide Bluetooth low energy (BLE) wireless communication and a control circuit operably connected with the wireless communication circuit, the control circuit configured to form a mesh network with a plurality of devices using the wireless communication circuit, where a provisioning process is performed so that each of the plurality of devices is a node in the mesh network, receive, from a first device among the plurality of devices, first information including first identification information associated with the first device and second identification information associated with a second external device outside the mesh network, determine whether the first device is able to perform the provisioning process, when the first device is determined to be able to perform the provisioning process, provide, to the first device, an authorization that allows performance of the provisioning process on the second device by the first device, and receive, from the first device, second information including a result of the provisioning process on the second external device and device information associated with the second external device. Other various embodiments are also possible.
Abstract:
An electronic device, a method of controlling an electronic device, and a non-transitory computer-readable recording medium are provided. The electronic device includes a housing including a first surface, a second surface, and lateral sides; a touch screen display; a pressure sensor; a wireless communication circuit; at least one processor electrically, and the wireless communication circuit; and a memory electrically, wherein the memory stores instructions to cause the at least one processor to display a first user interface (UI) including at least one first item on the touch screen display, display a second UI including at least one second item while controlling or not controlling the first UI, and remove the second UI while reconstructing the first UI to restore a state before the controlling of the first UI or not reconstructing the first UI.
Abstract:
A method and apparatus for controlling a screen in an electronic device are provided. The method includes displaying a pop-up window in a display area, disposed over another application displayed in the display area. If a movement of the pop-up window is detected, and a portion of the pop-up window reaches a predefined area of the display area, the pop-up window is removed from the display portion. A selectable icon is displayed allowing a user to redisplay the pop-up window or alter an operational state of the pop-up window.