Picture selection method and electronic device
Abstract
A picture selection method and an electronic device are provided. The method includes: displaying a first interface in an interaction scenario of a first application, where the first interface includes a picture selection button; and displaying a target album interface in response to a first operation performed by a user to trigger the picture selection button, where the target album interface includes thumbnails of at least two pictures that carry different identifier information or at least two picture sets that carry different identifier information; and where identifier information is generated based on interaction scenarios of at least two applications, and the identifier information includes at least one of an application name of an application, time of an interaction scenario of an application, or a quantity of times in an interaction scenario of an application.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A picture selection method, applied to an electronic device and comprising:
displaying, by the electronic device, a first interface in an interaction scenario of a first application, wherein the first interface comprises a picture selection button;
displaying, by the electronic device, a target album interface in response to a first operation performed by a user to trigger the picture selection button, wherein the target album interface comprises:
thumbnails of at least two pictures that carry different identifier information; or
at least two picture sets that carry different identifier information;
wherein identifier information is generated based on interaction scenarios of at least two applications, and the identifier information comprises at least one of an application name of an application, time of an interaction scenario of an application, or a quantity of times in an interaction scenario of an application;
displaying, by the electronic device, in response to a third operation in which the user selects at least one picture in the target album interface, at least one of time of the at least one selected picture, a geographical location of the at least one selected picture, and a picture associated with the at least one picture;
uploading the at least one picture; and
in response to the at least one picture being successfully uploaded, displaying, by the electronic device, a first prompt that the at least one picture is successfully uploaded, updating, by the electronic device, identifier information of the successfully uploaded picture, and prompting, by the electronic device, the user with the updated identifier information by using the first prompt.
2. The picture selection method according to claim 1 , wherein
the interaction scenario of the application comprises a scenario of picture uploading, picture editing, or picture downloading.
3. The picture selection method according to claim 1 , wherein
the identifier information further comprises at least one of a content category of a picture, a geographical location of a picture, a source of a picture, usage of a picture, favorite information of a picture, or preference information of a picture.
4. The picture selection method according to claim 1 , wherein
in the target album interface, a picture or a picture set with identifier information comprising an application name of the first application is located before a picture or a picture set with identifier information comprising an application name of another application.
5. The picture selection method according to claim 1 , wherein displaying, by the electronic device, the target album interface in response to the first operation performed by the user to trigger the picture selection button comprises:
popping up, by the electronic device, a dialog box in the first interface in response to the first operation performed by the user to trigger the picture selection button, wherein the dialog box comprises a target album button; and
displaying, by the electronic device, the target album interface in response to a second operation performed by the user to select the target album button.
6. The picture selection method according to claim 1 , wherein the method further comprises:
in response to the at least one picture failing to be uploaded, displaying, by the electronic device, a second prompt that the at least one picture fails to be uploaded, wherein
the second prompt comprises one or more of the followings: a picture format is not supported, a picture size exceeds a first threshold, or a quantity of to-be-uploaded pictures exceeds a second threshold.
7. The picture selection method according to claim 1 , wherein the method further comprises:
redetermining, by the electronic device, a display manner of the thumbnails of the at least two pictures or the at least two picture sets in the target album interface based on the updated identifier information.
8. The picture selection method according to claim 1 , wherein
the at least two applications belong to a same application type;
the at least two applications belong to a group of applications that are jointly developed, jointly registered, jointly packaged, jointly deployed, or mutually bound; or
the at least two applications execute preset logic processing within a preset time period.
9. The picture selection method according to claim 1 , wherein displaying, by the electronic device, the target album interface comprises:
controlling, by the electronic device, an activity corresponding to the first interface to start an intent, and transferring, by the electronic device, a uniform resource identifier (URI) of a target album in the intent;
gaining, by the electronic device, an access to a multimedia database based on the URI of the target album, wherein the multimedia database stores paths of the at least two pictures that carry the different identifier information or a path of each picture in the at least two picture sets that carry the different identifier information;
obtaining, by the electronic device, based on the paths of the at least two pictures that carry the different identifier information, the at least two pictures that carry the different identifier information, or obtaining, by the electronic device, based on the path of each picture in the at least two picture sets that carry the different identifier information, each picture in the at least two picture sets that carry the different identifier information; and
performing, by the electronic device, zooming processing on the at least two pictures that carry the different identifier information and displaying, by the electronic device, the at least two pictures that carry the different identifier information, or performing, by the electronic device, zooming processing on cover pictures of the at least two picture sets that carry the different identifier information and displaying, by the electronic device, the cover pictures of the at least two picture sets that carry the different identifier information.
10. The picture selection method according to claim 9 , wherein the method further comprises:
in an interaction scenario of each of the at least two applications, writing, by the electronic device, into the multimedia database, a path of a picture on which logic processing that comprises picture uploading, picture editing, or picture downloading is performed.
11. An application display apparatus, applied to an electronic device, wherein the apparatus comprises one or more interface circuits and one or more processors, wherein the one or more interface circuits and the one or more processors are interconnected through a line, wherein the one or more interface circuits are configured to receive computer-executable instructions from the electronic device and send the computer-executable instructions to the one or more processors, when the one or more processors execute the computer-executable instructions, cause the apparatus to perform:
displaying a first interface in an interaction scenario of a first application, wherein the first interface comprises a picture selection button;
displaying a target album interface in response to a first operation performed by a user to trigger the picture selection button, wherein the target album interface comprises:
thumbnails of at least two pictures that carry different identifier information; or
at least two picture sets that carry different identifier information;
wherein identifier information is generated based on interaction scenarios of at least two applications, and the identifier information comprises at least one of an application name of an application, time of an interaction scenario of an application, or a quantity of times in an interaction scenario of an application;
displaying, in response to a third operation in which the user selects at least one picture in the target album interface, at least one of time of the at least one selected picture, a geographical location of the at least one selected picture, and a picture associated with the at least one picture;
uploading the at least one picture; and
in response to the at least one picture being successfully uploaded, displaying a first prompt that the at least one picture is successfully uploaded, updating identifier information of the successfully uploaded picture, and prompting the user with the updated identifier information by using the first prompt.
12. The application display apparatus according to claim 11 , wherein the interaction scenario of the application comprises a scenario of picture uploading, picture editing, or picture downloading.
13. The application display apparatus according to claim 11 , wherein the identifier information further comprises at least one of a content category of a picture, a geographical location of a picture, a source of a picture, usage of a picture, favorite information of a picture, or preference information of a picture.
14. The application display apparatus according to claim 11 , wherein in the target album interface, a picture or a picture set with identifier information comprising an application name of the first application is located before a picture or a picture set with identifier information comprising an application name of another application.
15. A chip system, wherein the chip system is applied to an electronic device, and the chip system comprises one or more interface circuits and one or more processors, wherein the one or more interface circuits and the one or more processors are interconnected through a line, wherein the one or more interface circuits are configured to:
receive a signal from a memory in the electronic device, and send the signal to the one or more processors, and wherein the signal comprises computer-executable instructions stored in the memory; and when the one or more processors execute the computer-executable instructions, the electronic device performs:
displaying a first interface in an interaction scenario of a first application, wherein the first interface comprises a picture selection button;
displaying a target album interface in response to a first operation performed by a user to trigger the picture selection button, wherein the target album interface comprises:
thumbnails of at least two pictures that carry different identifier information; or
at least two picture sets that carry different identifier information;
wherein identifier information is generated based on interaction scenarios of at least two applications, and the identifier information comprises at least one of an application name of an application, time of an interaction scenario of an application, or a quantity of times in an interaction scenario of an application;
displaying, in response to a third operation in which the user selects at least one picture in the target album interface, at least one of time of the at least one selected picture, a geographical location of the at least one selected picture, and a picture associated with the at least one picture;
uploading the at least one picture; and
in response to the at least one picture being successfully uploaded, displaying a first prompt that the at least one picture is successfully uploaded, updating identifier information of the successfully uploaded picture, and prompting the user with the updated identifier information by using the first prompt.
16. The chip system according to claim 15 , wherein the interaction scenario of the application comprises a scenario of picture uploading, picture editing, or picture downloading.
17. The chip system according to claim 15 , wherein the identifier information further comprises at least one of a content category of a picture, a geographical location of a picture, a source of a picture, usage of a picture, favorite information of a picture, or preference information of a picture.
18. A non-transitory computer-readable storage medium, comprising computer-executable instructions, wherein when the computer-executable instructions are run on an electronic device, the electronic device performs the picture selection method according to claim 1 .Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.