Android Question Best practice to detect if phone has internet?

joaquinortiz

Active Member
Licensed User
Longtime User
Hello guys! .

I have a mobile app that requires consuming a webservice, but before consuming it, it is necessary to validate if the device has internet?
Is there an example?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…