I don't think there is an API for this.

On Tue, Apr 9, 2013 at 4:38 AM, Niels Kramer <[email protected]> wrote:

> Hello,,
>
> Did you ever solve this problem??
>
> I have the same problem atm. where i want to know if VPN Connection is
> closed and then launch my vpn firewall. Because it gets shutdown if i
> launch my VPN connection. ( I have not rooted my phone)
>
> Greetings,,
>
> Niels
>
> Op vrijdag 28 december 2012 07:48:43 UTC+1 schreef Priyanka het volgende:
>
>> Hello All,
>>
>> Is there a  system wide capability to check the status of VPN on Android
>> device ?
>>
>> Currently in my app the status of VPN connectivity is checked by hitting
>> the url & getting response from the server if the site is available.
>> However,
>> it could be the case that the site is temporarily down but there is
>> availability of VPN. So how do I get this status in application.
>>
>> Regards,
>> Priyanka
>>
>>
>>
>>  --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to