A method for operating of a first electronic device (411, 611), the method comprising: establishing a communication connection with a second electronic device (421, 651) and receiving screen data related to a first screen part corresponding to a screen of a first application being executed in the second electronic device (421, 651) or displayed in a display of the second electronic device (421, 651); controlling a first display (416, 616) of the first electronic device (411, 611) to display a first graphic element and the first screen part corresponding to the screen of the first application being executed in the second electronic device (421, 651) or displayed in the display of the second electronic device (421, 651), wherein the first screen part includes a first button; in response to a first input, detecting movement of the first graphic element to the first screen part by detecting a first user input selecting the first graphic element displayed on the first display and detecting a second user input moving from a position of the first graphic element to a position of the first screen part; in response to the movement of the first graphic element to the first screen part, transmitting a first data corresponding to the first graphic element to the second electronic device; receiving, from the second electronic device (421, 651), a second data corresponding to an updated second screen of the application displayed on the display of the second electronic device (421, 651), wherein the updated second screen includes a second graphic element corresponding to the first data; controlling the first display (416, 616) to display a second screen part corresponding to the updated second screen of the first application displayed on the display of the second electronic device (421, 651) and a third graphic element corresponding to a second application executable in the second electronic device (421, 651) and capable of processing data corresponding to the first graphic element, wherein the second screen part includes a graphic element corresponding to the second graphic element and the first button; and either: in response to receiving an input selecting the first button, control the second electronic device to transmit a message including the data related to the second graphic element to a third electronic device; or in response to the third graphic element being selected, controlling the second device to display a screen corresponding with the executing of the second application, and display on the first display (416, 616) a third screen part corresponding to a screen displayed on the second device according to the execution of the second application, wherein the third screen part includes a fourth graphic element corresponding to the first graphic element. establishing a communication connection with a second electronic device (421, 651) and receiving screen data related to a first screen part corresponding to a screen of a first application being executed in the second electronic device (421, 651) or displayed in a display of the second electronic device (421, 651); controlling a first display (416, 616) of the first electronic device (411, 611) to display a first graphic element and the first screen part corresponding to the screen of the first application being executed in the second electronic device (421, 651) or displayed in the display of the second electronic device (421, 651), wherein the first screen part includes a first button; in response to a first input, detecting movement of the first graphic element to the first screen part by detecting a first user input selecting the first graphic element displayed on the first display and detecting a second user input moving from a position of the first graphic element to a position of the first screen part; in response to the movement of the first graphic element to the first screen part, transmitting a first data corresponding to the first graphic element to the second electronic device; receiving, from the second electronic device (421, 651), a second data corresponding to an updated second screen of the application displayed on the display of the second electronic device (421, 651), wherein the updated second screen includes a second graphic element corresponding to the first data; controlling the first display (416, 616) to display a second screen part corresponding to the updated second screen of the first application displayed on the display of the second electronic device (421, 651) and a third graphic element corresponding to a second application executable in the second electronic device (421, 651) and capable of processing data corresponding to the first graphic element, wherein the second screen part includes a graphic element corresponding to the second graphic element and the first button; and either: in response to receiving an input selecting the first button, control the second electronic device to transmit a message including the data related to the second graphic element to a third electronic device; or in response to the third graphic element being selected, controlling the second device to display a screen corresponding with the executing of the second application, and display on the first display (416, 616) a third screen part corresponding to a screen displayed on the second device according to the execution of the second application, wherein the third screen part includes a fourth graphic element corresponding to the first graphic element.