title: How to get history/logs of Wifi Hotspot names?
body: <p>I just want to get SSID of wifi hotspot. Below code snippet is enough to get current wifi hotspot name, but I want previous one.</p>
  
  <pre><code>try {
      WifiManager manager = (WifiManager) getActivity().getSystemService(Context.WIFI_SERVICE);
      Method getWifiApConfigurationMethod = manager.getClass().getMethod("getWifiApConfiguration");
      WifiConfiguration  config = (WifiConfiguration) getWifiApConfigurationMethod.invoke(manager);
      Log.e("CLIENT", "SSID:" + config.SSID);
  } catch (Exception e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>Please help...</p>