AndroidCheck Internet Connectivity

Download Android for free

Introduction

This method is used to check weather WI-Fi is connected or not.

Syntax

  • isNetworkAvailable() : To check if Internet available on device

Parameters

ParameterDetail
ContextA reference of Activity context

Remarks

If internet connected then method will return true or false.

Related Examples

Check if device has internet connectivity