A method of operating a first electronic device, the method comprising: receiving information from a second electronic device associated with data that is output on the second electronic device or an application for outputting data on the second electronic device; displaying a graphic element comprising at least a part of the information associated with the data or the application for outputting the data; detecting a user input with respect to the graphic element; sending a request to the second electronic device for transmitting output information of the data in response to the user input; receiving from the second electronic device the output information of the data in response to the request for transmitting the output information; and outputting at least a part of the data based on the output information of the data in response to receiving the output information, wherein the outputting of the at least a part of the data comprises: requesting the second electronic device to stream the part of the data based on the output information of the data, which follows a point in time where the second electronic device stops outputting the data in response to the request for transmitting the output information sent from the first electronic device; and outputting a part of the data streamed from the second electronic device, which follows the point in time where the second electronic device stops outputting the data. receiving information from a second electronic device associated with data that is output on the second electronic device or an application for outputting data on the second electronic device; displaying a graphic element comprising at least a part of the information associated with the data or the application for outputting the data; detecting a user input with respect to the graphic element; sending a request to the second electronic device for transmitting output information of the data in response to the user input; receiving from the second electronic device the output information of the data in response to the request for transmitting the output information; and outputting at least a part of the data based on the output information of the data in response to receiving the output information, wherein the outputting of the at least a part of the data comprises: requesting the second electronic device to stream the part of the data based on the output information of the data, which follows a point in time where the second electronic device stops outputting the data in response to the request for transmitting the output information sent from the first electronic device; and outputting a part of the data streamed from the second electronic device, which follows the point in time where the second electronic device stops outputting the data. requesting the second electronic device to stream the part of the data based on the output information of the data, which follows a point in time where the second electronic device stops outputting the data in response to the request for transmitting the output information sent from the first electronic device; and outputting a part of the data streamed from the second electronic device, which follows the point in time where the second electronic device stops outputting the data.