title: How to check VPN connection status on Android ICS
body: <p>I'm trying to register receiver, that will check VPN status. I have tried this: <a href="https://stackoverflow.com/questions/3461967/get-vpn-connection-status-on-android">Get VPN Connection status on Android</a> but looks like it no longer works on ICS. I have checked android source code for some clue, but with no luck, only noticed that in ISC there is nothing like: <code>vpn.connectivity</code> and <code>connection_state</code> - it use to be in android 2.3. Also tried using <code>android.net.conn.CONNECTIVITY_CHANGE</code> as my <code>IntentFilter</code>, but it doesn't react on VPN connection at all (of course I have added permission <code>android.permission.ACCESS_NETWORK_STATE</code>).
  I thought that it is simple thing to do, but I already run out of ideas how to do it... Could someone help me with this please?</p>