Check Internet Connectivity

Download android eBook

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

Stats

105 Contributors: 9
Friday, December 30, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook