Patent attributes
An electronic device with image-capturing functionality is provided. The electronic device includes a device housing, a module substrate, an image-capturing element, a switch unit and a control unit. The module substrate is adapted to be slid between a first substrate position and a second substrate position. The image-capturing element is disposed on the module substrate. The control unit is coupled to the image-capturing element and the switch unit. When the module substrate is in the first substrate position, the switch unit is activated, the switch unit sends a pressed signal, and the control unit deactivates the image-capturing element according to the pressed signal. When the module substrate is in the second substrate position, the switch unit is not activated, and the control unit activates the image-capturing element. The electronic device of the embodiment protects the privacy of the user.