android-wificonnect Download

An android library to effortlessly connect to available WiFi networks

Check the demo app for this library here.

Make sure the app has location permission and the location services are enabled for the features to work.

Supported Features

Upcoming

Version 0.1.2

Version 0.1.0

Limitations as of Now

Including into project

Make your project-level build.gradle has jcenter() under repositories block. Your build.gradle should look like:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.3'
    }
}

Gradle: compile 'com.intentfilter:android-wificonnect:0.1.2'

Add as android-wificonnect as dependency inside app module level build.gradle under dependencies block. Your app level build.gradle should look like:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.intentfilter:android-wificonnect:0.1.2'
}

Note:

  1. Marshmallow dynamic permissions must be handled for the library to work as WiFi scanning starting from Android M needs ACCESS_COARSE_LOCATION permission.
  2. Location should be enabled to get WiFi scan results.