Search found 1 match

by Openair
Thu Jun 03, 2021 3:29 pm
Forum: ESP8266 APK
Topic: connecting ESP-8266 to Android
Replies: 2
Views: 11006

Re: connecting ESP-8266 to Android

Try like this: WifiManager wifiManager = (WifiManager) context.getApplicationContext().getSystemService(Context.WIFI_SERVICE); WifiInfo wifiInfo = null; if (wifiManager != null) wifiInfo = wifiManager.getConnectionInfo(); String ssid = null; if (wifiInfo != null) ssid = wifiInfo.getSSID(); /*you wil...

Go to advanced search