CONTENT SHARING METHODS AND APPARATUS, TERMINAL, STORAGE MEDIUM

Information

  • Patent Application
  • 20230297209
  • Publication Number
    20230297209
  • Date Filed
    May 23, 2023
    a year ago
  • Date Published
    September 21, 2023
    a year ago
Abstract
Provided are a content sharing method and apparatus, a terminal, and a storage medium, wherein the method is applied to an electronic device having a display. The method includes: obtaining the position information of the target icon during the move operation in response to a move operation for a target icon in the first application interface; adjusting the interface display state of the second application if the location identified by location information is within the location range associated with the second application; sharing the target content corresponding to the target icon with the second application if the end position of the move operation is in the second application interface, in response to the end of the move operation.
Description
Claims
  • 1. A file sharing method applied to an electronic device having a display, comprising: obtaining, by at least one processor, position information of a target icon during a move operation for the target icon in a first application interface associated with a first application;adjusting, by the at least one processor, an interface display state of a second application interface if a location identified by location information is within a location range associated with the second application interface; andin response to an end position of the move operation being associated with the second application interface, sharing, by the at least one processor, target content corresponding to the target icon with a second application associated with the second application interface.
  • 2. The method of claim 1, wherein the location identified by location information is within the location range associated with the second application interface when: the location identified by location information is associated with an application icon location of the second application;the location identified by location information is within the second application interface;the location identified by location information is associated with a shortcut icon corresponding to the second application; orthe location identified by location information is associated with a shortcut launch bar corresponding to the second application.
  • 3. The method of claim 1, wherein the sharing, by the at least one processor, target content corresponding to the target icon with the second application interface if the end position of the move operation is associated with the second application interface comprises: in response to the end position of the move operation being located at a display object position, sharing the target content corresponding to the target icon with a display object associated with the display object position.
  • 4. The method of claim 3, wherein: the second application includes a communication application,the display object includes a contact identifier, andthe sharing the target content corresponding to the target icon with the display object comprises: sharing the target content corresponding to the target icon with a contact corresponding to the contact identifier.
  • 5. The method of claim 4, wherein the contact identifier includes at least one of: a contact avatar,a contact number,a contact conversation list item, ora contact conversation page.
  • 6. The method of claim 3, wherein: the second application includes a file management application,the display object includes a folder identifier, andthe sharing the target content corresponding to the target icon with the display object comprises: saving the target content corresponding to the target icon to a path where a folder associated with the folder identifier is located.
  • 7. The method of claim 1, wherein: a second application includes a document editing application, and the sharing, by the at least one processor, the target content corresponding to the target icon with the second application comprises: saving the target content corresponding to the target icon to a file in a corresponding format of the document editing application.
  • 8. The method of claim 1, wherein an interface display state of the second application interface comprises at least one of: a size of the second application interface,a shape of the second application interface,a form of the second application, ora position of the second application in the display.
  • 9. The method of claim 1, further comprising: in response to the end position of the move operation not being associated with the second application interface, causing, by the at least one processor, the target content to not be shared with the second application associated with the second application interface.
  • 10. The method of claim 9, further comprising: displaying, by the at least one processor, the second application interface in a pre-adjusted state after the sharing the target content with the second application; ordisplaying, by the at least one processor, the second application interface in the pre-adjusted state after the target content is caused not to be shared with the second application.
  • 11. The method of claim 8, further comprising: in response to the end position of the move operation being located at a position of a title bar of the electronic device, causing, by the at least one processor, the target content not to be shared, orin response to the end position of the move operation being beyond a display boundary of the electronic device, causing, by the at least one processor, the target content not to be shared.
  • 12. A terminal, comprising: at least one processor; andmemory storing instructions, which when executed by the at least one processor, causes the at least one processor to: obtain position information of a target icon during a move operation for the target icon in a first application interface associated with a first application;adjust an interface display state of a second application interface if a location identified by location information is within a location range associated with the second application interface; andin response to an end position of the move operation being associated with the second application interface, share target content corresponding to the target icon with a second application associated with the second application interface.
  • 13. The terminal of claim 12, wherein the location identified by location information is within the location range associated with the second application interface when: the location identified by location information is associated with an application icon location of the second application;the location identified by location information is within the second application interface;the location identified by location information is associated with a shortcut icon corresponding to the second application; orthe location identified by location information is associated with a shortcut launch bar corresponding to the second application.
  • 14. The terminal of claim 12, wherein, to share the target content corresponding to the target icon with the second application interface if the end position of the move operation is associated with the second application interface, the memory storing instructions, which when executed by the at least one processor, causes the at least one processor to: in response to the end position of the move operation being located at a display object position, share the target content corresponding to the target icon with a display object associated with the display object position.
  • 15. The terminal of claim 14, wherein: the second application includes a communication application,the display object includes a contact identifier, andto sharing the target content corresponding to the target icon with the display object, the memory storing instructions, which when executed by the at least one processor, cause the at least one processor to: share the target content corresponding to the target icon with a contact corresponding to the contact identifier.
  • 16. The terminal of claim 14, wherein: the second application includes a file management application,the display object includes a folder identifier, andto sharing the target content corresponding to the target icon with the display object, the memory storing instructions, which when executed by the at least one processor, cause the at least one processor to: save the target content corresponding to the target icon to a path where a folder associated with the folder identifier is located.
  • 17. The terminal of claim 12, wherein: a second application includes a document editing application, andto share the target content corresponding to the target icon with the second application, the memory storing instructions, which when executed by the at least one processor, cause the at least one processor to: save the target content corresponding to the target icon to a file in a corresponding format of the document editing application.
  • 18. The terminal of claim 12, wherein the memory storing instructions, which when executed by the at least one processor, further cause the at least one processor to: in response to the end position of the move operation not being associated with the second application interface, cause the target content to not be shared with the second application associated with the second application interface.
  • 19. The terminal of claim 18, wherein the memory storing instructions, which when executed by the at least one processor, further cause the at least one processor to: display the second application interface in a pre-adjusted state after the sharing the target content with the second application; ordisplay the second application interface in the pre-adjusted state after the target content is caused not to be shared with the second application.
  • 20. A non-transitory computer-readable medium storing instructions, which when executed by at least one processor, cause the at least one processor to: obtain position information of a target icon during a move operation for the target icon in a first application interface associated with a first application;adjust an interface display state of a second application interface if a location identified by location information is within a location range associated with the second application interface; andin response to an end position of the move operation being associated with the second application interface, share target content corresponding to the target icon with a second application associated with the second application interface.
Priority Claims (1)
Number Date Country Kind
202011471717.6 Dec 2020 CN national
Continuations (1)
Number Date Country
Parent PCT/CN2021/126128 Oct 2021 WO
Child 18201132 US