Wise and Easily to use Android Wifi Modul Functional by Efishery, Inc.
For more information please see the website.
For Sample Download.
Grab via Maven:
- Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
- Add the dependency
<dependency>
<groupId>com.github.eFishery</groupId>
<artifactId>wiseasily</artifactId>
<version>v0.4.6</version>
</dependency>
or Gradle:
- Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
compile 'com.github.eFishery:wifi-wiseasily:v0.4.6'
}
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);
}
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.