title: Automatically connect to wifi network in android?
body: <p>I am develping an app in which whenever wifi turned on then in background app should be to connect to a network if the network it connected to previously ?Can i use broad cast reciver for this purpose?</p>