Check Your Network Connection In Android

Hi, today i’m gonna show you how to check your internet connection in your android device.

 

Create your own project and add the permission like below:

2015-12-31_15-50-45.jpg

 

Next, see the following lines of code:

2015-12-31_15-49-37.jpg

I think you know what to do next with two methods above!

 

Thanks for visiting!