I apologize for the double post, but the last one was closed due to the inattention of the person who closed it!
Actually, the Android SDK is only for turning on / off the Wi-Fi module and getting information about networks. And how the software will connect to a particular network? It is program, and not the connection button!