File processing method, electronic device, and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsDingxuan Wang, Jun Zhang
Life of this patent
Estimating the term…
Abstract
Provided are a file processing method, an electronic device, and a storage medium. In the method, a first interface of a first application is displayed in a first display area, the first interface including file content of a first file. In response to a first control operation, a file identifier of the first file is displayed in a second interface displayed in a second display area. In response to a first operation performed on the file identifier in the second interface, processing corresponding to the first operation is performed on the first file.
Claims20
A file processing method, for an electronic device, wherein the electronic device comprises a screen, the screen comprises a first screen and a second screen, the first screen is a foldable screen, and the method comprises:
- displaying a first interface of a first application in a first display area located on the first screen, the first interface comprising file content of a first file;
- in response to a first control operation that changes the first screen from being in an unfolded state to being in a folded state, displaying a file identifier of the first file in a second interface displayed in a second display area located on the second screen, the second interface being an interface of a second application;
- and
- in response to a first operation performed on the file identifier in the second interface, performing, on the first file, processing corresponding to the first operation;
- wherein before displaying the first interface of the first application in the first display area, the method further comprises:
- while the first screen is in the folded state, in response to a second operation for the second application, displaying the second interface of the second application in the second display area;
- wherein the method further comprises:
- after the first screen is changed from being in the folded state to being in the unfolded state, controlling the second screen to be in a screen-off state, and saving a display status of the second screen;
- wherein the displaying the first interface of the first application in the first display area comprises:
- after the first screen is changed from being in the folded state to being in the unfolded state, in response to a third operation for the first application, displaying the first interface of the first application in the first display area, and displaying a prompt message in the first interface, wherein the prompt message is used to prompt that the display status of the second screen has been saved.
An electronic device, comprising:
- one or more processors;
- a memory;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to:
- display a first interface of a first application in a first display area of a screen of the electronic device, the first interface comprising file content of a first file, the screen comprising a first screen and a second screen, the first screen being a foldable screen, and the first display area being located on the first screen;
- in response to a first control operation that changes the first screen from being in an unfolded state to being in a folded state, display a file identifier of the first file in a second interface displayed in a second display area located on the second screen, the second interface being an interface of a second application;
- and
- in response to a first operation performed on the file identifier in the second interface, perform, on the first file, processing corresponding to the first operation;
- wherein the one or more programs are further executed by the one or more processors to:
- while the first screen is in the folded state, in response to a second operation for the second application, display the second interface of the second application in the second display area;
- after the first screen is changed from being in the folded state to being in the unfolded state, control the second screen to be in a screen-off state, and save a display status of the second screen;
- and
- after the first screen is changed from being in the folded state to being in the unfolded state, in response to a third operation for the first application, display the first interface of the first application in the first display area, and display a prompt message in the first interface, wherein the prompt message is used to prompt that the display status of the second screen has been saved.
A non-transitory computer-readable storage medium having program codes stored thereon, wherein the program codes are invokable by a processor to:
- display a first interface of a first application in a first display area of a screen of an electronic device, the first interface comprising file content of a first file, the screen comprising a first screen and a second screen, the first screen being a foldable screen, and the first display area being located on the first screen;
- in response to a first control operation that changes the first screen from being in an unfolded state to being in a folded state, display a file identifier of the first file in a second interface displayed in a second display area located on the second screen, the second interface being an interface of a second application;
- and
- in response to a first operation performed on the file identifier in the second interface, perform, on the first file, processing corresponding to the first operation;
- wherein the program codes are further invokable by the processor to:
- while the first screen is in the folded state, in response to a second operation for the second application, display the second interface of the second application in the second display area;
- after the first screen is changed from being in the folded state to being in the unfolded state, control the second screen to be in a screen-off state, and save a display status of the second screen;
- and
- after the first screen is changed from being in the folded state to being in the unfolded state, in response to a third operation for the first application, display the first interface of the first application in the first display area, and display a prompt message in the first interface, wherein the prompt message is used to prompt that the display status of the second screen has been saved.
Dependencies are inferred from the claim text.