Skip to content

Help you to wise and easily use WiFi Android module

Notifications You must be signed in to change notification settings

eFishery/wiseasily

Repository files navigation

RELEASE

WisEasily

Wise and Easily to use Android Wifi Modul Functional by Efishery, Inc.

For more information please see the website.

For Sample Download.

Download

Grab via Maven:

  1. Add the JitPack repository to your build file
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add the dependency
<dependency>
  <groupId>com.github.eFishery</groupId>
  <artifactId>wiseasily</artifactId>
  <version>v0.4.6</version>
</dependency>

or Gradle:

  1. Add the JitPack repository to your build file
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. Add the dependency
dependencies {
    compile 'com.github.eFishery:wifi-wiseasily:v0.4.6'
}

Usage Sample

Connect to wifi with ssid name : efishery_2018

new WisEasily(this).connect("efishery_2018", new SourceCallback.WisEasilyCallback() {
    @Override
    public void onSuccess() {
        
    }

    @Override
    public void onError(String s) {

    }
});

Scan Wifi

@Override
protected void onResume() {
    super.onResume();
    new WisEasily(this).scan(this);
}
@Override
public void onAPChanged(List<ScanResult> scanResults) {
    adapter.replaceData(scanResults);
}

License

Copyright 2017 Efishery, Inc.

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.

About

Help you to wise and easily use WiFi Android module

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages