How to find the status of VPN connection through framework APIs or any other efficient method?
问题 So far: I found the following solutions Using Broadcastreceiver The broadcast receiver is deprecated from ICS Using Ping or Traceroute It's definitely going to take lots of time and its not efficient Polling for DNS server changes It's definitely going to take lots of time and its not efficient Using ip-address Even though it won't take much time depending on the network connection it may vary My conclusion: So far all the solutions I found are either not efficient or not so reliable. My