AndroidCheck Internet Connectivity


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.