Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanosFisherman committed Apr 25, 2020
1 parent a6afdfa commit 9856aa9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ Now lets get to the interesting stuff. You can connect to any WiFi network progr
.start();
```

There are also a few other options that would allow you to do the same job: For example you can connect using SSID, BSSID and WPA/WPA2 Key:

Let's move the `ConnectionSuccessListener` from above into its own separate field named `successListener` so that we can save some space

There are also a few other options that would allow you to do the same job but first
let's move the `ConnectionSuccessListener` from above into its own separate field named `successListener` so that we can save some space

```java
private ConnectionSuccessListener successListener = new ConnectionSuccessListener() {
Expand All @@ -94,7 +92,7 @@ Let's move the `ConnectionSuccessListener` from above into its own separate fiel
};
```

Connection with both SSID and BSSID specified
Connecting with SSID, BSSID and WPA/WPA2 key:

```java
WifiUtils.withContext(getApplicationContext())
Expand Down

0 comments on commit 9856aa9

Please sign in to comment.