You need to use WifiManage and also wifinfor to get your Wifi SSID.Also add permission in your manifest file as it requires some special permissions.Those permissions u can easily find on...