title: Get WiFi SSID in Android Module
body: <p>I am trying to make an Android Module and get WiFi SSID inside the module. </p>
  
  <p>However, the</p>
  
  <p><code>getApplicationContext()</code>   in</p>
  
  <pre><code>WifiManager wifiManager = (WifiManager) getApplicationContext().getSystemService (Context.WIFI_SERVICE);
  WifiInfo info = wifiManager.getConnectionInfo ();
  String ssid  = info.getSSID();
  </code></pre>
  
  <p>function doesn't work inside the module. </p>
  
  <p>How can I get the WiFi SSID string in an Android Module?</p>