Photographing method and electronic device
AssigneeHonor Device Co., Ltd.
InventorJie Yi
Life of this patent
Estimating the term…
Abstract
Embodiments of this application provide a photographing method and an electronic device. The method is applied to an electronic device. The method includes: receiving a first operation of a user when the electronic device is in a folded state, a first screen is in a screen-on state, and a second screen is in a screen-off state; and in response to the first operation, controlling to turn off the first screen and turn on the second screen, and displaying a first photographing preview interface by using the second screen, where the first photographing preview interface includes an image obtained by using the rear-facing camera.
Claims20
A photographing method, performed by an electronic device, wherein the electronic device comprises a foldable screen, a front-facing camera and a rear-facing camera, the foldable screen comprises a first screen and a second screen, the front-facing camera and the first screen are located on a same side, the rear-facing camera is disposed away from the first screen, the first screen and the second screen are located on a same side when the electronic device is in an unfolded state, the second screen and the rear-facing camera are located on a same side when the electronic device is in a folded state, and the method comprises:
- displaying a second photographing preview interface by using the first screen when the electronic device is in the folded state, the first screen is in a screen-on state, and the second screen is in a screen-off state, wherein the second photographing preview interface comprises a first control and an image obtained by using the rear-facing camera;
- and
- when receiving a first operation performed by the user on the first control, in response to the first operation, controlling to turn off the first screen and turn on the second screen, and displaying a first photographing preview interface by using the second screen, wherein the first photographing preview interface comprises the image obtained by using the rear-facing camera;
- when receiving a second operation performed by the user on the first control, in response to the second operation, additionally displaying a second control on the second photographing preview interface;
- in response to tapping the second control by the user, displaying a fourth photographing preview interface by using the first screen, wherein the fourth photographing preview interface comprises the image obtained by using the front-facing camera.
An electronic device, comprising a processor, a memory, and an interface, the electronic device further comprises a foldable screen, a front-facing camera and a rear-facing camera, the foldable screen comprises a first screen and a second screen, the front-facing camera and the first screen are located on a same side, the rear-facing camera is disposed away from the first screen, the first screen and the second screen are located on a same side when the electronic device is in an unfolded state, the second screen and the rear-facing camera are located on a same side when the electronic device is in a folded state wherein
- the processor, the memory, and the interface cooperating with each other, to enable the electronic device to perform the following operations:
- displaying a second photographing preview interface by using the first screen when the electronic device is in the folded state, the first screen is in a screen-on state, and the second screen is in a screen-off state, wherein the second photographing preview interface comprises a first control and an image obtained by using the rear-facing camera;
- and
- when receiving a first operation performed by the user on the first control, in response to the first operation, controlling to turn off the first screen and turn on the second screen, and displaying a first photographing preview interface by using the second screen, wherein the first photographing preview interface comprises the image obtained by using the rear-facing camera;
- when receiving a second operation performed by the user on the first control, in response to the second operation, additionally displaying a second control on the second photographing preview interface;
- in response to tapping the second control by the user, displaying a fourth photographing preview interface by using the first screen, wherein the fourth photographing preview interface comprises the image obtained by using the front-facing camera.
A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to invoke instructions, to enable electronic device to perform the following operations:
- displaying a second photographing preview interface by using a first screen when the electronic device is in a folded state, the first screen is in a screen-on state, and a second screen is in a screen-off state, wherein the electronic device comprises a foldable screen, a front-facing camera and a rear-facing camera, the foldable screen comprises the first screen and the second screen, the front-facing camera and the first screen are located on a same side, the rear-facing camera is disposed away from the first screen, the first screen and the second screen are located on a same side when the electronic device is in an unfolded state, the second screen and the rear-facing camera are located on a same side when the electronic device is in a folded state, the second photographing preview interface comprises a first control and an image obtained by using the rear-facing camera;
- and
- when receiving a first operation performed by the user on the first control, in response to the first operation, controlling to turn off the first screen and turn on the second screen, and displaying a first photographing preview interface by using the second screen, wherein the first photographing preview interface comprises the image obtained by using the rear-facing camera;
- when receiving a second operation performed by the user on the first control, in response to the second operation, additionally displaying a second control on the second photographing preview interface;
- in response to tapping the second control by the user, displaying a fourth photographing preview interface by using the first screen, wherein the fourth photographing preview interface comprises the image obtained by using the front-facing camera.
Dependencies are inferred from the claim text.