Method of processing content and electronic device thereof
A method for processing contents at an electronic device is provided. The method includes generating a first content corresponding to a user input applied to content via the electronic device, and displaying a floating user interface (UI), which displays first scrap information on the first content, on a screen of the electronic device.
1 . A portable communication device comprising:
a display;
memory storing one or more computer programs; and
one or more processors communicatively coupled with the display and the memory,
wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the portable communication device to:
display a first execution screen corresponding to a first application via the display;
generate a captured image corresponding to at least part of the first execution screen displayed via the display; and
based at least in part on determining that the captured image includes a portion corresponding to text, display, concurrently with the captured image, a user interface (UI) item for initiating text extraction from the captured image,
wherein the UI item is displayed on a second execution screen with the captured image and a plurality of icons corresponding to a plurality of commands, respectively, for processing the captured image, and
wherein, based at least in part on determining that the captured image does not include the portion corresponding to text, the UI item is not displayed and the plurality of icons are displayed on the second execution screen with the captured image.
2 . The portable communication device of claim 1 , wherein the one or more computer programs further include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the portable communication device to:
after generating the captured image, display a floating user interface corresponding to the captured image.
3 . The portable communication device of claim 2 , wherein the floating user interface includes a thumbnail of the captured image.
4 . The portable communication device of claim 1 , wherein the one or more computer programs further include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the portable communication device to:
receive a user input with respect to the UI item while the UI item is displayed concurrently with the captured image; and
based at least in part on the user input being received with respect to the UI item, initiate text extraction from the captured image.
5 . The portable communication device of claim 4 , wherein the one or more computer programs further include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the portable communication device to:
store in the memory at least part of the text extracted from the captured image.
6 . The portable communication device of claim 1 , wherein the second execution screen includes the at least part of the first execution screen.
7 . The portable communication device of claim 1 ,
wherein a size of the at least part of the first execution screen is smaller than a size of the second execution screen, and
wherein the at least part of the first execution screen is displayed in a middle region of the second execution screen.
8 . A method performed by a portable communication device, the method comprising:
displaying, by the portable communication device via a display of the portable communication device, a first execution screen corresponding to a first application;
generating, by the portable communication device, a captured image corresponding to at least part of the first execution screen displayed via the display; and
based at least in part on determining that the captured image includes a portion corresponding to text, displaying, by the portable communication device via the display concurrently with the captured image, a user interface (UI) item for initiating text extraction from the captured image,
wherein the UI item is displayed on a second execution screen with the captured image and a plurality of icons corresponding to a plurality of commands, respectively, for processing the captured image, and
wherein, based at least in part on determining that the captured image does not include the portion corresponding to text, the UI item is not displayed and the plurality of icons are displayed on the second execution screen with the captured image.
9 . The method of claim 8 , further comprising:
after generating the captured image, displaying, by the portable communication device via the display, a floating user interface corresponding to the captured image.
10 . The method of claim 9 , wherein the floating user interface includes a thumbnail of the captured image.
11 . The method of claim 8 , further comprising:
receiving, by the portable communication device, a user input with respect to the UI item while the UI item is displayed concurrently with the captured image; and
based at least in part on the user input being received with respect to the UI item, initiating text extraction from the captured image.
12 . The method of claim 11 , further comprising:
storing, by the portable communication device in a memory of the portable communication device, at least part of the text extracted from the captured image.
13 . One or more non-transitory computer-readable storage media storing one or more computer programs including computer-executable instructions that, when executed by one or more processors of a portable communication device individually or collectively, cause the portable communication device to perform operations, the operations comprising:
displaying, by the portable communication device via a display of the portable communication device, a first execution screen corresponding to a first application;
generating, by the portable communication device, a captured image corresponding to at least part of the first execution screen displayed via the display; and
based at least in part on determining that the captured image includes a portion corresponding to text, displaying, by the portable communication device via the display concurrently with the captured image, a user interface (UI) item for initiating text extraction from the captured image,
wherein the UI item is displayed on a second execution screen with the captured image and a plurality of icons corresponding to a plurality of commands, respectively, for processing the captured image, and
wherein, based at least in part on determining that the captured image does not include the portion corresponding to text, the UI item is not displayed and the plurality of icons are displayed on the second execution screen with the captured image.
14 . The method of claim 8 , wherein the second execution screen includes the at least part of the first execution screen.
15 . The one or more non-transitory computer-readable storage media of claim 13 , the operations further comprising:
after generating the captured image, displaying, by the portable communication device via the display, a floating user interface corresponding to the captured image.
16 . The one or more non-transitory computer-readable storage media of claim 15 , wherein the floating user interface includes a thumbnail of the captured image.
17 . The one or more non-transitory computer-readable storage media of claim 13 , the operations further comprising:
receiving, by the portable communication device, a user input with respect to the UI item while the UI item is displayed concurrently with the captured image; and
based at least in part on the user input being received with respect to the UI item, initiating text extraction from the captured image.
18 . The one or more non-transitory computer-readable storage media of claim 17 , the operations further comprising:
storing, by the portable communication device in a memory of the portable communication device, at least part of the text extracted from the captured image.
19 . The one or more non-transitory computer-readable storage media of claim 13 , wherein the second execution screen includes the at least part of the first execution screen.