An electronic device (100, 310, 510) comprising: a wireless communication module; a memory; a processor electrically connected to the wireless communication module and the memory; wherein the memory is storing a first application configured to manage the connection to at least one external device (220, 320, 520), and a second application configured to process data received from the at least one external device and to manage the data; wherein the processor is configured to: execute the first and second application; connect to a first external device of the at least one external device (220, 320, 520) through the wireless communication module by executing the first application; obtain first connection information for connection between the first application and the first external device; and connect the first external device to the second application through the wireless communication module by using the first connection information; transmit, to the first external device, information associated with connection to the second application; when receiving (301, 301a) data associated with the second application from the first external device (220, 320, 520), maintain the first application in a non-executable state; and execute the second application to receive the data from the first external device, comprising: determining a state of the second application; in case the state of the second application is determined to be a first state being a suspended mode, switching (302, 302b) the state of the second application to a second state being a background mode, and processing the data received from the first external device using the second application in the second state; and in case the state of the second application is determined to be the second state, processing the data received from the first external device using the second application in the second state. a wireless communication module; a memory; a processor electrically connected to the wireless communication module and the memory; wherein the memory is storing a first application configured to manage the connection to at least one external device (220, 320, 520), and a second application configured to process data received from the at least one external device and to manage the data; wherein the processor is configured to: execute the first and second application; connect to a first external device of the at least one external device (220, 320, 520) through the wireless communication module by executing the first application; obtain first connection information for connection between the first application and the first external device; and connect the first external device to the second application through the wireless communication module by using the first connection information; transmit, to the first external device, information associated with connection to the second application; when receiving (301, 301a) data associated with the second application from the first external device (220, 320, 520), maintain the first application in a non-executable state; and execute the second application to receive the data from the first external device, comprising: determining a state of the second application; in case the state of the second application is determined to be a first state being a suspended mode, switching (302, 302b) the state of the second application to a second state being a background mode, and processing the data received from the first external device using the second application in the second state; and in case the state of the second application is determined to be the second state, processing the data received from the first external device using the second application in the second state. obtain first connection information for connection between the first application and the first external device; and connect the first external device to the second application through the wireless communication module by using the first connection information; transmit, to the first external device, information associated with connection to the second application; when receiving (301, 301a) data associated with the second application from the first external device (220, 320, 520), maintain the first application in a non-executable state; and execute the second application to receive the data from the first external device, comprising: determining a state of the second application; in case the state of the second application is determined to be a first state being a suspended mode, switching (302, 302b) the state of the second application to a second state being a background mode, and processing the data received from the first external device using the second application in the second state; and in case the state of the second application is determined to be the second state, processing the data received from the first external device using the second application in the second state. determining a state of the second application; in case the state of the second application is determined to be a first state being a suspended mode, switching (302, 302b) the state of the second application to a second state being a background mode, and processing the data received from the first external device using the second application in the second state; and in case the state of the second application is determined to be the second state, processing the data received from the first external device using the second application in the second state.