SMNetworkChecker aims to help check if the network is connected or if the wifi is connected.

Overview

Network Checker for Android

Download Releases Language License

SMNetworkChecker aims to help check if the network is connected or if the wifi is connected.



Preview

Network connection O Network connection X wifi connection O wifi connection X



Usage

1. Gradle dependency:

  • Add it in your root build.gradle at the end of repositories

     allprojects {
        repositories {
            	maven { url "https://jitpack.io" }
        }
     }
  • Add the dependency

    implementation 'com.github.Sangmeebee:SMNetworkChecker:x.y.z'

2. Set init function in the Class that inherits from Application

// Application.kt
    override fun onCreate() {
      super.onCreate()
      
      // ...
      
      //network module build
      NetworkCheckApi.init(this)
  }

3. You have to user NetworkCheckApi

  • network check function

    NetworkCheckApi.getNetWorkConnectState()  // return Boolean
  • wifi check function

    NetworkCheckApi.getWifiConnectState()  // return Boolean



License

Copyright 2022 Sangmeebee

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You might also like...
Cli lightning network server, based on LDK (rust-lightning). Provides DUMB-RPC interface (telnet friendly).

Hello Lightning Cli lightning network server, based on LDK (rust-lightning). Provides DUMB-RPC interface (telnet friendly). Example: Build it run it:

SimpleApiCalls is a type-safe REST client for Android. The library provides the ability to interact with APIs and send network requests with HttpURLConnection.

SimpleApiCalls πŸ“’ SimpleApiCalls is a type-safe REST client for Android. The library provides the ability to interact with APIs and send network reque

A downloader to help in downloading to custom folders

Murerwa Downloader (Still in development) Murerwa downloader is a custom downloader library beside the default Android downloader that helps users dow

Android library for finding connected devices on same WiFi network. It can provide IP Address, device name, MAC Address and vendor names.
Android library for finding connected devices on same WiFi network. It can provide IP Address, device name, MAC Address and vendor names.

Android WiFi Tools Android library for finding connected devices on the same WiFi network. It can provide IP Addresses, device names, MAC Address and

Android library listening network connection state and change of the WiFi signal strength with event bus

NetworkEvents Android library listening network connection state and change of the WiFi signal strength with event bus. It works with any implementati

A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out

FabricView - A new canvas drawing library for Android. The library was born as part of a project in SD Hacks (www.sdhacks.io) on October 3rd. It is cu

Check out the new style for App Design aims for the Online Plant Shop Service...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Check out the new style for App Design aims for the Online Plant Shop Service...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž

PlantShopUI-Android Check out the new style for App Design aims for Online Plant Shop Service... πŸ˜‰ πŸ˜€ 😁 😎 Screenshots Please click the image below

Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž

VegetableOrderUI-Android Check out the new style for App Design aims for the Vegetable Order Service using jetpack compose... πŸ˜‰ πŸ˜€ 😁 😎 Screenshots

Ipify allows users to get current public IP address for connected network in real-time
Ipify allows users to get current public IP address for connected network in real-time

Ipify-Android Ipify allows you to get current public IP address when connected to internet in real-time Add Dependency Use Gradle: Step 1: Add it in y

AndroidPermissions 4.2 0.0 Java Android M was added to check Permission. but Permission check processing is so dirty.

Android Permissions Checker Android M was added to check Permission. but Permission check processing is so dirty. This Project is to be simple, Checki

Linkester is an Android library that aims to help Android developers test their deep links implementation.
Linkester is an Android library that aims to help Android developers test their deep links implementation.

Linkester Linkester is an Android library that aims to help Android developers test their deep links implementation. The idea is to have a new launche

A small Android project to practice executing network requests and parsing the network response
A small Android project to practice executing network requests and parsing the network response

InspirationalQuotesExercise A small Android project to practice executing network requests and parsing the network response This app uses the ZenQuote

Connect adb from devices to androidstudio by wifi without usb anymore
Connect adb from devices to androidstudio by wifi without usb anymore

WIFI ADB There are two projects in the repository. The first one is an android project,and the second is an intellij plugin project. You can see more

A lightweight super-fast wireless file sharing application built on WiFi Peer-to-Peer technology.
A lightweight super-fast wireless file sharing application built on WiFi Peer-to-Peer technology.

ZipBolt ZipBolt is a file-sharing platform that allows digital devices to share files at incredible speeds using WiFi Peer-to-Peer technology. ZipBolt

ADB WIFI Android Studio plugin for debug android app over Wi-Fi.
ADB WIFI Android Studio plugin for debug android app over Wi-Fi.

ADB WIFI ADB WIFI Android Studio plugin for debug android app over Wi-Fi. How to install in Android Studio: go to Preferences

This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging your codes.
This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging your codes.

AdbWifiUtils Github | Issues | README | δΈ­ζ–‡ζ–‡ζ‘£ ● [Description]: This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging

This is an open-source project connected to Formaloo CDP
This is an open-source project connected to Formaloo CDP

Twitter Rank Android Application This is an open-source project connected to Formaloo CDP to calculate a tweeter and his/her followings rank. For each

This is a simple application through which I connected Students, Courses and Teachers in an a beautiful way. The main purpose of this project is the connection between the Objects.
This is a simple application through which I connected Students, Courses and Teachers in an a beautiful way. The main purpose of this project is the connection between the Objects.

UniversityApp This is a simple application through which I connected Students, Courses and Teachers in an a beautiful way. The main purpose of this pr

Framework for quickly creating connected applications in Kotlin with minimal effort
Framework for quickly creating connected applications in Kotlin with minimal effort

Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. import io.ktor.server.n

Releases(1.0.1)
Owner
Sangmin Kim
Android Developer
Sangmin Kim
A small Android project to practice executing network requests and parsing the network response

InspirationalQuotesExercise A small Android project to practice executing network requests and parsing the network response This app uses the ZenQuote

Caren 0 Oct 13, 2021
CheckInternetConnection - CheckInternetConnection helps to find out if user`s Android device is connected to Internet or not

Check Internet Connection CheckInternetConnection helps to find out if user`s An

Hamed.D 1 Jan 16, 2022
Light library to check internet connection in android apps easily.

check-internet-android Light library to check internet connection in android apps easily. It checks real internet connection by connecting to Google's

Raheem 7 Nov 15, 2022
Write your asynchronous Network / IO call painlessly in Kotlin !!

Asynkio : Write asynced IO/ Network calls painlessly on android | | | Documentation Write your network requests, IO calls in android with Kotlin seaml

Nikhil Chaudhari 82 Jan 26, 2022
Compact and easy to use, 'all-in-one' android network solution

Deprecated Unfortunately due to many reasons including maintenance cost, this library is deprecated. I recommend to use Retrofit/OkHttp instead. Curre

Orhan Obut 585 Dec 30, 2022
A library that observes your network status.

A library that observes your network status. Update in progress ... Download Using gradle In your root build.gradle at the end of repositories add all

Moses Wangira 9 Apr 18, 2022
Sandwich was invented for constructing the standardized response interface from the network response

?? A lightweight and standardized Android network response interface for handling successful data and error responses.

Jaewoong Eum 973 Jan 5, 2023
Android network client based on Cronet. This library let you easily use QUIC protocol in your Android projects

Android network client based on Cronet. This library let you easily use QUIC protocol in your Android projects

VK.com 104 Dec 12, 2022
Operations are performed by calling api endpoints over the network

##About The app Operations are performed by calling api endpoints over the network. Local data is in effect immutable, the client just downloads updat

Marc Daniel Registre 1 Oct 22, 2021