0

I want to check if the connection to a host url is successful or not, without using internet. My Android application will not use internet. The connection to host url is right now done with the help of VPN.

But in the future, the connection will get changed from VPN to something else, may be APN. And, users will be able to connect to host url with that connection. So, I should be able to check whether user is able to connect to the host url or not. if not, then I will have to stop user from using the application.

Let me know if it is possible to check the connection status without internet connection. And if yes, please give me the solution. I have tried different ways but all of them give me error when internet is not available.

Priyanka Alachiya
  • 1,707
  • 2
  • 20
  • 31
  • Could you tell how to do VPN without an internet connection? – blackapps Jun 25 '20 at 14:00
  • Right now I have to use internet for VPN connection. But in future, the client will use some private network to connect to url. They have not given more details on that. But the requirement is that they will not be using internet. – Priyanka Alachiya Jun 25 '20 at 14:10

0 Answers0