Abstract:
A method includes detecting a first operation from a user to start a camera of an electronic device, when a display of the electronic device is unfolded to a plane state, starting a camera application, displaying a preview interface in a first display area of the display, where the preview interface includes a viewfinder frame, and the viewfinder frame includes a first picture, detecting a second operation from the user to indicate photographing, controlling the camera to perform a photographing action to generate a first multimedia file, simultaneously displaying the preview interface and a gallery application interface in the first display area of the display, where the gallery application interface displays the first multimedia file, and the gallery application interface includes a deletion control, detecting a deletion operation from the user, deleting the first multimedia file, and displaying the preview interface in the first display area of the display.
Abstract:
An object dimension measurement method and apparatus, where the object dimension measurement method includes obtaining a horizontal distance between a photographing terminal and a photographed object or a vertical distance between the photographing terminal and a horizontal plane, obtaining a camera imaging angle when the photographing terminal photographs the photographed object, calculating a deflection angle of a camera in a vertical direction when the photographing terminal photographs the photographed object, obtaining through calculation an imaging distance of the photographed object on a display screen of the photographing terminal according to a trigonometric relationship among the horizontal distance or the vertical distance, the camera imaging angle, the deflection angle, and the imaging distance, and obtaining through conversion an actual dimension of the photographed object according to the imaging distance. Hence, an object dimension can be accurately measured without using a special measuring tool.
Abstract:
A method, an apparatus, and a system for establishing a data connection are disclosed that relate to the field of communications network technologies, and can implement automatic determination of a transmission function by an electronic device and reduce operation steps of enabling a transmission function by a user. A receiver device obtains connection information sent by a transmitter device, and enables a target transmission function according to transmission function priorities obtained in advance, transmission functions of the transmitter device, and transmission functions of the receiver device; and then the receiver device sends an authentication message to the transmitter device through the target transmission function, and establishes a connection of the target transmission function with the transmitter device. Solutions provided are applicable to data transmission.
Abstract:
An electronic device may display an interface of a first application, where the interface of the first application includes a first window and a second window, a first page of the first application is displayed in the first window, and a second page of the first application is displayed in the second window. The second page is a sub page of the first page. After the electronic device can receive a window locking operation of a user, if the electronic device receives an operation performed by the user on a new page open control in the first page, the electronic device may display a third page in the first window in response to the operation. The third page is a sub page of the first page.
Abstract:
A method includes detecting a first operation from a user to start a camera of an electronic device, when a display of the electronic device is unfolded to a plane state, starting a camera application, displaying a preview interface in a first display area of the display, where the preview interface includes a viewfinder frame, and the viewfinder frame includes a first picture, detecting a second operation from the user to indicate photographing, controlling the camera to perform a photographing action to generate a first multimedia file, simultaneously displaying the preview interface and a gallery application interface in the first display area of the display, where the gallery application interface displays the first multimedia file, and the gallery application interface includes a deletion control, detecting a deletion operation from the user, deleting the first multimedia file, and displaying the preview interface in the first display area of the display.
Abstract:
An electronic device includes a first application. The electronic device detects a first operation. The electronic device displays, in a landscape orientation state, a first interface of the first application in a first area of a display screen of the electronic device in response to the first operation. The electronic device detects a second operation on the first interface, where the second operation enables the electronic device to open a second interface of the first application. The electronic device displays the second interface in a second area in response to the second operation. The display screen includes at least two areas, the at least two areas include the first area and the second area, and different areas of the display screen do not overlap.
Abstract:
An electronic device includes a first application. The electronic device detects a first operation. The electronic device displays, in a landscape orientation state, a first interface of the first application in a first area of a display screen of the electronic device in response to the first operation. The electronic device detects a second operation on the first interface, where the second operation enables the electronic device to open a second interface of the first application. The electronic device displays the second interface in a second area in response to the second operation. The display screen includes at least two areas, the at least two areas include the first area and the second area, and different areas of the display screen do not overlap.
Abstract:
A method includes detecting a first operation from a user to start a camera of an electronic device, when a display of the electronic device is unfolded to a plane state, starting a camera application, displaying a preview interface in a first display area of the display, where the preview interface includes a viewfinder frame, and the viewfinder frame includes a first picture, detecting a second operation from the user to indicate photographing, controlling the camera to perform a photographing action to generate a first multimedia file, simultaneously displaying the preview interface and a gallery application interface in the first display area of the display, where the gallery application interface displays the first multimedia file, and the gallery application interface includes a deletion control, detecting a deletion operation from the user, deleting the first multimedia file, and displaying the preview interface in the first display area of the display.
Abstract:
An object dimension measurement method and apparatus, where the object dimension measurement method includes obtaining a horizontal distance between a photographing terminal and a photographed object or a vertical distance between the photographing terminal and a horizontal plane, obtaining a camera imaging angle when the photographing terminal photographs the photographed object, calculating a deflection angle of a camera in a vertical direction when the photographing terminal photographs the photographed object, obtaining through calculation an imaging distance of the photographed object on a display screen of the photographing terminal according to a trigonometric relationship among the horizontal distance or the vertical distance, the camera imaging angle, the deflection angle, and the imaging distance, and obtaining through conversion an actual dimension of the photographed object according to the imaging distance. Hence, an object dimension can be accurately measured without using a special measuring tool.