: An electronic device comprising: a touchscreen; wireless communication circuitry; and a processor configured to control the electronic device to perform operations comprising: activating a first application based on detecting a first touch input to the touchscreen display for the first application; displaying a first application screen for selecting content based on a second touch input; detecting a third touch input to the touchscreen display for selecting at least one content from among content displayed on the first application screen of the activated first application; transmitting a signal via the wireless communication circuitry, based on activating the first application, wherein the signal includes identification information for identifying the first application and wireless connection information including a channel number and a device name of the electronic device; receiving, via the wireless communication circuitry, a response to the signal from an external electronic device executing a second application corresponding to the first application, wherein the response from the external electronic device comprises a request for establishing the wireless connection; establishing, via the wireless communication circuitry, a wireless communication connection with the external electronic device, based on the received response; transmitting, via the wireless communication connection, the selected at least one content to the external electronic device; detecting a fourth touch input to the touchscreen display for deactivating the first application; and terminating the wireless communication connection based on the deactivating of the first application. a touchscreen; wireless communication circuitry; and a processor configured to control the electronic device to perform operations comprising: activating a first application based on detecting a first touch input to the touchscreen display for the first application; displaying a first application screen for selecting content based on a second touch input; detecting a third touch input to the touchscreen display for selecting at least one content from among content displayed on the first application screen of the activated first application; transmitting a signal via the wireless communication circuitry, based on activating the first application, wherein the signal includes identification information for identifying the first application and wireless connection information including a channel number and a device name of the electronic device; receiving, via the wireless communication circuitry, a response to the signal from an external electronic device executing a second application corresponding to the first application, wherein the response from the external electronic device comprises a request for establishing the wireless connection; establishing, via the wireless communication circuitry, a wireless communication connection with the external electronic device, based on the received response; transmitting, via the wireless communication connection, the selected at least one content to the external electronic device; detecting a fourth touch input to the touchscreen display for deactivating the first application; and terminating the wireless communication connection based on the deactivating of the first application. activating a first application based on detecting a first touch input to the touchscreen display for the first application; displaying a first application screen for selecting content based on a second touch input; detecting a third touch input to the touchscreen display for selecting at least one content from among content displayed on the first application screen of the activated first application; transmitting a signal via the wireless communication circuitry, based on activating the first application, wherein the signal includes identification information for identifying the first application and wireless connection information including a channel number and a device name of the electronic device; receiving, via the wireless communication circuitry, a response to the signal from an external electronic device executing a second application corresponding to the first application, wherein the response from the external electronic device comprises a request for establishing the wireless connection; establishing, via the wireless communication circuitry, a wireless communication connection with the external electronic device, based on the received response; transmitting, via the wireless communication connection, the selected at least one content to the external electronic device; detecting a fourth touch input to the touchscreen display for deactivating the first application; and terminating the wireless communication connection based on the deactivating of the first application.