Check Internet Connectivity

suggest change

Introduction

isNetworkAvailable() checks whether the device has a network connection.

Syntax

Parameters

Parameter Detail
Context An activity or other Context.

Remarks

The method returns true when a network is connected, and false otherwise. A connected network does not by itself prove that a remote host answered.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents