Electronic devices such as smart phones can access various communication networks through a wireless communication unit, and users can select one of the accessible communication networks to perform data communication. Methods by which an electronic device capable of performing Wi-Fi access searches for an Access Point (AP) to receive wireless data service through AP access using Wi-Fi broadly include two methods. The two methods include a method by which a user directly activates a Wi-Fi function of an electronic device and searches for and connects to an accessible AP, and a method by which a user periodically turns on a Wi-Fi function on an electronic device if the Wi-Fi function is in a turned-on state through a separate settings window and automatically searches for an AP in order to reduce the user inconvenience of directly activating the Wi-Fi function each time.
In general, when an electronic device enters a Wi-Fi network while performing a required task by executing various applications installed on the electronic device in a mobile communication network such as a 3G or 4G network, the electronic device automatically searches for all adjacent APs that have a Wi-Fi function in an active state. Further, when there is an AP that has been previously accessed at least once, the Wi-Fi connection is automatically made to the corresponding AP.