Hello,
I'm trying to register receiver, that will check VPN status. I have tried 
this: 
http://stackoverflow.com/questions/3461967/get-vpn-connection-status-on-androidbut
 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: "vpn.connectivity" and "connection_state" - it use to be in 
android 2.3. Also tried using "android.net.conn.CONNECTIVITY_CHANGE" as my 
IntentFilter, but it doesn't react on VPN connection at all (of course I 
have added permission "android.permission.ACCESS_NETWORK_STATE"). 
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?
Thanks in advance,
Stigi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to