Abstract:
An electronic device and a method for controlling a gesture sensor of the same are provided. The electronic device includes a gesture sensor and a threshold determining module configured to receive a light amount measurement with respect to light incident to the gesture sensor, to compare the light amount measurement with a light amount reference value, and to determine a light amount threshold that is used based on object recognition of the gesture sensor by adding the weight value to the light amount measurement.
Abstract:
An electronic device may include a main body; a rotary member rotatably mounted upon and enclosing at least a portion of the main body, the rotary member including a first region corresponding to a first attribute and a second region corresponding to a second attribute, the first and second regions being alternately arranged on one face of the rotary member; a sensor module configured to acquire attribute information corresponding to at least a partial region of the rotary member as the rotary member is rotated; and a processor, wherein the processor is configured to confirm a change in at least one of the first attribute and the second attribute and to determine at least one of a rotated angle and a rotated direction of the rotary member based on the change.
Abstract:
A method is provided for operating an electronic device. The method includes detecting an ultraviolet ray value through an ultraviolet ray detection sensor; acquiring an image including a sun object; comparing a position of the sun object within the acquired image to a position of a guide object; and correcting the detected ultraviolet ray value based on a difference between the position of the sun object and the position of the guide object