Application management method and apparatus, and electronic device
An application management method and apparatus, and an electronic device are provided. The method includes: recognizing that a target image satisfies a preset condition, where the preset condition includes an action of a user to trigger installing a non-installed application, updating an installed application, or creating a folder indicated by the target image; displaying at least one virtual icon indicating the action of the user; and performing a target operation in response to a first user input to the at least one virtual icon. The target operation includes at least one of the following: downloading the non-installed application corresponding to the at least one virtual icon, updating the installed application corresponding to the at least one virtual icon, or creating the folder corresponding to the at least one virtual icon.
1 . A method for application management, comprising:
recognizing that a target image satisfies a preset condition, wherein the preset condition comprises a desired action of a user to trigger a target operation on a folder indicated by the target image;
displaying at least one icon corresponding to the folder indicated by the target image, wherein one of the at least one icon is a virtual icon showing an uncreated folder and indicating the desired action of the user on the uncreated folder; and
performing the target operation in response to a first user input to the virtual icon, wherein the target operation comprises creating the uncreated folder corresponding to the virtual icon,
wherein recognizing that the target image satisfies the preset condition comprises recognizing that the target image comprises identifiers of N non-installed applications, wherein N is a positive integer; and
displaying the at least one icon comprises:
receiving a second user input, wherein the second user input is an input from the user in a first region of the target image; and
displaying K icons in a first display manner in response to the second user input, wherein K is a positive integer, and applications corresponding to the K icons comprise: one or more of the N non-installed applications other than applications in the first region.
2 . The method according to claim 1 , wherein recognizing that the target image satisfies the preset condition further comprises:
recognizing that the target image comprises identifiers of X folders, wherein the X folders are uncreated folders in the electronic device,
wherein X is a positive integer.
3 . The method according to claim 1 , wherein:
before displaying the at least one icon, the method further comprises:
receiving a third user input, wherein the third user input is an input from the user in a second region of the target image; and
downloading, in response to the third user input, W applications corresponding to identifiers displayed in the second region; and
displaying the at least one icon comprises:
displaying the at least one icon in a first display manner, and displaying W icons corresponding to the W applications in a second display manner,
wherein applications corresponding to the at least one icon comprise one or more of the N non-installed applications other than the W applications, and each icon displayed in the second display manner indicates an installed application.
4 . The method of claim 1 , wherein displaying at least one icon comprises:
displaying M icons in a first display manner including the virtual icon indicating the desired action of the user, wherein M is a positive integer, and each icon corresponds the folder indicated by the target image.
5 . An electronic device, comprising:
a memory storing a computer program; and
a processor coupled to the memory and configured to execute the computer program to perform operations comprising:
recognizing that a target image satisfies a preset condition, wherein the preset condition comprises a desired action of a user to trigger a target operation on a folder indicated by the target image;
displaying at least one icon corresponding to the folder indicated by the target image, wherein one of the at least one icon is a virtual icon showing an uncreated folder and indicating the desired action of the user on the uncreated folder; and
performing the target operation in response to a first user input to the virtual icon, wherein the target operation comprises: creating the uncreated folder corresponding to the virtual icon,
wherein recognizing that the target image satisfies the preset condition comprises recognizing that the target image comprises identifiers of N non-installed applications, wherein N is a positive integer; and
displaying the at least one icon comprises:
receiving a second user input, wherein the second user input is an input from the user in a first region of the target image; and
displaying K icons in a first display manner in response to the second user input, wherein K is a positive integer, and applications corresponding to the K icons comprise: one or more of the N non-installed applications other than applications in the first region.
6 . The electronic device according to claim 5 , wherein recognizing that the target image satisfies the preset condition further comprises:
recognizing that the target image comprises identifiers of X folders, wherein the X folders are uncreated folders in the electronic device,
wherein X is a positive integer.
7 . The electronic device according to claim 5 , wherein:
before displaying the at least one icon, the operations further comprise:
receiving a third user input, wherein the third user input is an input from the user in a second region of the target image; and
downloading, in response to the third user input, W applications corresponding to identifiers displayed in the second region; and
displaying the at least one icon comprises:
displaying the at least one icon in a first display manner, and displaying W icons corresponding to the W applications in a second display manner,
wherein applications corresponding to the at least one icon comprise one or more of the N non-installed applications other than the W applications, and each icon displayed in the second display manner indicates an installed application.
8 . A non-transitory computer-readable storage medium, storing a computer program, when the computer program is executed by a processor, causes the processor to perform operations comprising:
recognizing that a target image satisfies a preset condition, wherein the preset condition comprises a desired action of a user to trigger a target operation on a folder indicated by the target image;
displaying at least one icon corresponding to the folder indicated by the target image, wherein one of the at least one icon is a virtual icon showing an uncreated folder and indicating the desired action of the user on the uncreated folder; and
performing the target operation in response to a first user input to the virtual icon, wherein the target operation comprises: creating the uncreated folder corresponding to the virtual icon,
wherein recognizing that the target image satisfies the preset condition comprises recognizing that the target image comprises identifiers of N non-installed applications, wherein N is a positive integer; and
displaying the at least one icon comprises:
receiving a second user input, wherein the second user input is an input from the user in a first region of the target image; and
displaying K icons in a first display manner in response to the second user input, wherein K is a positive integer, and applications corresponding to the K icons comprise: one or more of the N non-installed applications other than applications in the first region.
9 . The non-transitory computer-readable storage medium according to claim 8 , wherein recognizing that the target image satisfies the preset condition further comprises:
recognizing that the target image comprises identifiers of X folders, wherein the X folders are uncreated folders in the electronic device,
wherein X is a positive integer.
10 . The non-transitory computer-readable storage medium according to claim 8 , wherein:
before displaying the at least one icon, the operations further comprise:
receiving a third user input, wherein the third user input is an input from the user in a second region of the target image; and
downloading, in response to the third user input, W applications corresponding to identifiers displayed in the second region; and
displaying the at least one icon comprises:
displaying the at least one icon in a first display manner, and displaying W icons corresponding to the W applications in a second display manner,
wherein applications corresponding to the at least one icon comprise one or more of the N non-installed applications other than the W applications, and each icon displayed in the second display manner indicates an installed application.