Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 923 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 923 Bytes

WifiConnecter

A android library that allows you to connect to a Wi-Fi hotspot with the given ssid and password.

This library is very easy to use:

	    WiFiConnecter mWiFiConnecter = new WiFiConnecter(mContext);
	    mWiFiConnecter.connect("ssid", "password", new WiFiConnecter.ActionListener() {
		@Override
		public void onStarted(String ssid) {
		}

		@Override
		public void onSuccess(WifiInfo info) {
		}

		@Override
		public void onFailure() {
		}

		@Override
		public void onFinished(boolean isSuccessed) {
		}

	});

#Thanks #

This library built on the great android-wifi-connecter library.

#Contributing #

Changes and improvements are more than welcome! Feel free to fork and open a pull request. Please make your changes in a specific branch and request to pull into master!