cancel
Showing results for 
Search instead for 
Did you mean: 

Android Developers - Check VPN Status (Junos Pulse)

Highlighted
Not applicable

Android Developers - Check VPN Status (Junos Pulse)

Hello


I am android developer and need to check in my java code if the connection is active.

Is there any way to do this?

I use this class for the internet connection

http://www.androidhive.info/2012/07/android-detect-internet-connection-status/

1 REPLY 1
Highlighted
Respected Contributor

Re: Android Developers - Check VPN Status (Junos Pulse)

do you mean to check if the vpn is up?

if the code enumerates all connections and you can make a decision off that, i don't think it would be a problem; but i am not familiar with the output available to know if that is feasible.

or if you can add another if to the segment so that if internet is available, does a specific name resolve?