2

Hello I've been reading up about checking the users Internet connection and majority of people are saying completing a ping is the best way to make sure a connection is made.

Currently I can do a simple internet connection check, but ideally in my application I want a continuous loop which if the Internet connection returns true then application will continue as normal but if it returns false then I want it to display my currently hidden image view.

Any assistance on the subject would be most appricated, thank you.

Gauders
  • 21
  • 1
  • is this what you want ? http://stackoverflow.com/questions/1560788/how-to-check-internet-access-on-android-inetaddress-never-timeouts/27312494#27312494 – Shayan Pourvatan Apr 30 '16 at 16:57

0 Answers0