How to get the Access Point Name in Android?
<p>I would like to know, how do we get the access point name from an Android Phone.</p>

<p>Thanks,
Sana.</p>

<p>EDIT:</p>

<pre><code>WifiManager mWiFiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
WifiInfo w = mWiFiManager.getConnectionInfo();
Toast.makeText(this, "APN Name = "+w.getSSID(), Toast.LENGTH_SHORT).show();
</code></pre>

<p>The above code snippet is for current active APN name.</p>

<p>Thanks tdelev</p>
