The mobile device includes a communication unit which performs communication through a network; and a control unit which executes an application prepared by an application programming interface (API) of the network function provided by a platform, and controls the communication unit to perform communication in accordance with a setup of a preferred network if the application includes the setup of the preferred network.