diff --git a/.travis.yml b/.travis.yml index 8aabc086..aa69371a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ android: - tools - build-tools-25.0.3 - android-22 - - android-25 + - android-26 - sys-img-armeabi-v7a-android-22 - extra-android-m2repository - extra-android-support @@ -21,4 +21,4 @@ before_script: - android-wait-for-emulator - adb shell input keyevent 82 & -script: travis_wait 30 ./gradlew clean connectedAndroidTest -PdisablePreDex --stacktrace \ No newline at end of file +script: travis_wait 60 ./gradlew clean connectedAndroidTest -PdisablePreDex --stacktrace \ No newline at end of file diff --git a/CHANGE.md b/CHANGE.md index 3754c9da..c816ad8a 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,716 +1,7 @@ -## v1.0.9 - 07/03/2017 +#### Change Logs -#### Undo bintray props -commit 6603ea2112e3281b1974442cfcbe9a6e62f0b9cf
-Author: isuPatches
-Date: Mon Jul 3 11:09:32 2017 -0500 +WiseFy upon each new major release will start a brand new change log. -#### Add local.properties back to gitignore -commit 43b2a6cd322a86a4ecc329800a96cabd3729575c
-Author: isuPatches
-Date: Mon Jul 3 10:48:36 2017 -0500 +[1.x Changes](/changes/1.x.md) -#### Remove local properties for travis-ci -commit c4944e0c24538630687c70a3c02807e2f835e32c
-Author: isuPatches
-Date: Mon Jul 3 10:47:26 2017 -0500 - -#### Remove unused resources -commit 67543bfeaea1e9d0c2a993d8a3ba06e34163c30c
-Author: isuPatches
-Date: Mon Jul 3 10:44:53 2017 -0500 - -#### Adjust package for return codes -commit 7486de70fbf295fe975588ba9025149e81c54f33
-Author: isuPatches
-Date: Mon Jul 3 10:20:09 2017 -0500 - -#### More adjustments for Binary -commit b10efc7e037b7f02dd39aec11a2bbad4b7ca8ca8
-Author: isuPatches
-Date: Mon Jul 3 10:00:19 2017 -0500 - -#### Adjust tests and WiseFy for scope and return unique code for network already configured -commit 2ddf9f731d11d6cc6f1065ddba7e8863bc145631
-Author: isuPatches
-Date: Mon Jul 3 09:28:00 2017 -0500 - - close #51 - close #52 - close #53 - -#### Merge branch 'master' into develop -commit 74b4ae81e645c3d9f637baa030866450ea41412c
-Merge: fdedcc0 4e22889
-Author: isuPatches
-Date: Sun Jul 2 15:43:18 2017 -0500 - -#### Merge branch 'master' into develop -commit fdedcc03c892f1af56c145e54d3987ebe19058b5
-Merge: d18109d a0f8a3b
-Author: isuPatches
-Date: Sun Jul 2 15:42:42 2017 -0500 - -#### Update CHANGE.md -commit 4e228895dbf5260824acf27208c76e1433e6dd68
-Author: Patches
-Date: Sun Jul 2 15:42:15 2017 -0500 - -#### Merge pull request #49 from isuPatches/develop -commit a0f8a3bbb2c6631a3566a5970cd6df8e60e73ffc
-Merge: 0b7a808 d18109d
-Author: Patches
-Date: Sun Jul 2 15:35:33 2017 -0500 - - v1.0.8 - -## v1.0.8 - 07/02/2017 - -#### Update Javadocs again -commit d18109d7c3093015423541151595c7de25ce80c8
-Author: isuPatches
-Date: Sun Jul 2 14:58:28 2017 -0500 - -#### Add more tests, switch to String.format, update more libs, and restore travis-ci functionality -commit db218ba7122453097b696d45bc3a43d9d05ade9c
-Author: isuPatches
-Date: Sun Jul 2 14:57:17 2017 -0500 - -#### Test for travis_wait -commit 2cb4425e5b232b67b936da2e75a99d2fcc1ca310
-Author: isuPatches
-Date: Sun Jul 2 12:57:35 2017 -0500 - -#### Update README to include permission blurb -commit 40ce82ce7c9c00e8b6ef31a08cdba4d7b1c87cc9
-Author: isuPatches
-Date: Sun Jul 2 09:38:32 2017 -0500 - -#### Adding travis_wait -commit 64168a57918dd887ddb8da2de93c134f4d3688c0
-Author: isuPatches
-Date: Sun Jul 2 09:17:39 2017 -0500 - -#### Test for travis-ci -commit b8e5449ea6f23a41a503988dd1c41ad71702b68a
-Author: isuPatches
-Date: Sun Jul 2 08:53:09 2017 -0500 - -#### Update test naming schema -commit 292487515bb1dd5883d5929f84a180066e5d8112
-Author: isuPatches
-Date: Sun Jul 2 01:26:05 2017 -0500 - - close #48 - -#### Rename GetManagerUtil -commit 5495cf97f54c5d74bff5a8e2226fe0b4fbd6e077
-Author: isuPatches
-Date: Sat Jul 1 23:54:04 2017 -0500 - - close #46 - -#### Update Javadocs, eliminate potential memory leak on Android N -commit 716997a3d6e88b89e5999603664fc7f748ad4ec4
-Author: isuPatches
-Date: Sat Jul 1 23:48:02 2017 -0500 - - close #45 - -#### Adjust scope for withContext, bump some versions, remove potential manifest conflicts -commit 48def3c09edd2b5ae54129084bc6d2f266396fb2
-Author: isuPatches
-Date: Sat Jul 1 23:13:48 2017 -0500 - - close #41 - -#### Merge branch 'master' into develop -commit c9b9cb726be57e62a925f9ac2d84682e94c2c0b0
-Merge: b1da078 0b7a808
-Author: isuPatches
-Date: Sat Mar 25 23:07:56 2017 -0500 - -#### Update CHANGE.md -commit 0b7a808eabd41a2d2eb8fd1a1c29dcd19f1be455
-Author: Patches
-Date: Sat Mar 25 23:05:20 2017 -0500 - -#### Merge branch 'master' into develop -commit b1da078eb48f0b29ba140a8a334a5fd54d242316
-Merge: e9f087b a836baf
-Author: isuPatches
-Date: Sat Mar 25 22:45:21 2017 -0500 - -## v1.0.7 - 03/25/2017 - -#### Merge pull request #37 from isuPatches/develop -commit a836baf09b974ea5332c037e236a153e9f30cf8d
-Merge: 31217ab e9f087b
-Author: Patches
-Date: Sat Mar 25 22:44:26 2017 -0500 - - v1.0.7 - -#### Revert Travis CI changes -commit e9f087beb8f262c3b805843d45a6b7b09cf89546
-Author: isuPatches
-Date: Sat Mar 25 22:22:53 2017 -0500 - -#### Going to try to cut down Travis CI time -commit ef49b55b20277c3854eece485a827f8c39157b17
-Author: isuPatches
-Date: Sat Mar 25 22:10:53 2017 -0500 - -#### Update deps, update java docs, extract jacoco gradle logic -commit d3a3a2c343e7b0b8be60a0751d2add05aca571b1
-Author: isuPatches
-Date: Sat Mar 25 21:43:40 2017 -0500 - -#### Merge branch 'master' into develop -commit 53cdb27b90586128514cf53a0611a1b2f4fd7032
-Merge: 2a59351 31217ab
-Author: isuPatches
-Date: Sat Feb 4 21:19:48 2017 -0600 - -#### Update CHANGE.md -commit 31217ab1b96b8e1b4907607050936e73e7e296a0
-Author: Patches
-Date: Sat Feb 4 21:18:44 2017 -0600 - -## v1.0.6 - 02/04/2017 - -#### Merge pull request #36 from isuPatches/develop -commit 85640461ba06babdc4b37591249af269bec60c28
-Merge: 7ed8ed1 2a59351
-Author: Patches
-Date: Sat Feb 4 21:11:52 2017 -0600 - - v1.0.6 - -#### Update README version for release -commit 2a593513ce0638d04202ff4a9de01cc2cd16b964
-Author: isuPatches
-Date: Sat Feb 4 20:47:52 2017 -0600 - -#### Update bin again -commit a88e55a64e96e2fe40a3e673b56a669825811462
-Author: isuPatches
-Date: Sat Feb 4 20:20:48 2017 -0600 - -#### Add getFrequency and isNetwork5gHz for >= 21 devices, update javadocs, adjust visibility, library updates, etc. -commit a83f4fa6a8c3af1b7f357a7259fe420d57950979
-Author: isuPatches
-Date: Sat Feb 4 20:19:52 2017 -0600 - - close #31 - close #32 - close #33 - close #34 - close #35 - -#### Merge branch 'master' into develop -commit 71a7151f7fdb7471d83f85eeedf46674803ed742
-Merge: 2c2cafd 7ed8ed1
-Author: isuPatches
-Date: Sat Nov 5 14:43:04 2016 -0500 - -#### Update README.md -commit 7ed8ed10bab57bf1ae8186e405db181a054f68f4
-Author: Patches
-Date: Sat Nov 5 14:42:27 2016 -0500 - -#### Merge branch 'master' into develop -commit 2c2cafdc09b140e914dfb9b9a14324dbbfb5817b
-Merge: 7bdd39e 716899f
-Author: isuPatches
-Date: Sat Nov 5 14:09:18 2016 -0500 - -#### Update CHANGE.md -commit 716899f792b4e88def76da74bcd2fec8df78e463
-Author: Patches
-Date: Sat Nov 5 14:08:51 2016 -0500 - -## v1.0.5 - 11/05/2016 - -#### Merge pull request #29 from isuPatches/develop -commit 0f670e635c7fe2cd1997446890ec6c6450cd6e9e
-Merge: ecbe2dc 7bdd39e
-Author: Patches
-Date: Sat Nov 5 14:06:26 2016 -0500 - - v1.0.5 - -#### Update change and readme files -commit 7bdd39e8df97158c3f667ed128f4fc0f3466d852
-Author: isuPatches
-Date: Sat Nov 5 14:04:30 2016 -0500 - -#### Adjust file structure for Bintray -commit 3685c42d198fc700976a57217175c7f8e62f6719
-Author: isuPatches
-Date: Sun Oct 30 08:35:11 2016 -0500 - -#### Merge branch 'master' into develop -commit 3d3e552ab7da0d46f7dd15d1367fd753268dca1d
-Merge: 948493f ecbe2dc
-Author: isuPatches
-Date: Sat Oct 29 21:26:29 2016 -0500 - -#### Add gradle logic to publish to Binary -commit 948493f42bd53283f6e7f8162fb9adaefd74b2e4
-Author: isuPatches
-Date: Sat Oct 29 21:23:21 2016 -0500 - - closes #19 - -#### Merge pull request #28 from isuPatches/develop -commit ecbe2dc67a4c9d86324901fb2fae9ff58aaefe92
-Merge: 7a3014c a41b4b6
-Author: Patches
-Date: Sat Oct 29 18:57:11 2016 -0500 - - Add short license to readme - -#### Add short license to read -commit a41b4b6ef55ccbf976ecec4172a90bf20286c0ea
-Author: isuPatches
-Date: Sat Oct 29 18:56:35 2016 -0500 - -## v1.0.4 - 10/29/2016 - -#### Merge pull request #27 from isuPatches/develop -commit 7a3014ce415db2f621d39e05193ffa5242c082d6
-Merge: 5ee444c 3ecb389
-Author: Patches
-Date: Sat Oct 29 18:55:24 2016 -0500 - - v1.0.4 - -#### Update javadoc -commit 3ecb3893952449ccc71aefa8930af08dd6c6bb2a
-Author: isuPatches
-Date: Sat Oct 29 18:53:10 2016 -0500 - -#### More license stuff -commit 797008957e441a6e79991f4f06c2f95dd36dfe4d
-Author: isuPatches
-Date: Sat Oct 29 18:48:08 2016 -0500 - -#### Update LICENSE.md -commit 882f6877a37bbf66324fd4a02a22f7565b62ff3d
-Author: Patches
-Date: Sat Oct 29 18:46:00 2016 -0500 - -#### Update LICENSE.md -commit 9d89ef7a6dbeacbce54b93a41a51524b7c60d9cf
-Author: Patches
-Date: Sat Oct 29 18:42:49 2016 -0500 - -#### Move license to separate file -commit fb464859eee4a0fe877a00bc0b538c59820b13bf
-Author: isuPatches
-Date: Sat Oct 29 18:38:13 2016 -0500 - -#### Remove unnecessary files -commit cce36df939677677db363049085027f98dc3229a
-Author: isuPatches
-Date: Sat Oct 29 18:35:59 2016 -0500 - -#### GAH...just work -commit cb4326f6f2c4af7d3161b6fedd4130d0dac7d658
-Author: isuPatches
-Date: Sat Oct 29 18:06:20 2016 -0500 - -#### Another test -commit e2755d24f1adb079e146448db6d9db1124f0ad66
-Author: isuPatches
-Date: Sat Oct 29 17:46:17 2016 -0500 - -#### Trying another thing -commit 5d96b2ad1d4dc0150e6df67f6ac24440968532b9
-Author: isuPatches
-Date: Sat Oct 29 17:18:20 2016 -0500 - -#### Trying a lower API level -commit 4a94ad26d9c059e8090f059ed622b1633b35e500
-Author: isuPatches
-Date: Sat Oct 29 17:02:10 2016 -0500 - -#### Adjust adoptions -commit 341cee9340afb9a4f0f891db238a55dcaa39d425
-Author: isuPatches
-Date: Sat Oct 29 15:00:38 2016 -0500 - -#### More updates -commit ec8bf2898c3ae6e6145fd8b608b63ec3dc47efe0
-Author: isuPatches
-Date: Sat Oct 29 14:32:42 2016 -0500 - -#### Removing signed bit -commit d00d586869510ea65b366922f38b8bed3c1d1a28
-Author: isuPatches
-Date: Sat Oct 29 14:27:55 2016 -0500 - -#### Another experiment -commit 9e00962af97bad9cf789c579b3d36b7082018992
-Author: isuPatches
-Date: Sat Oct 29 14:06:22 2016 -0500 - -#### More tinkering -commit 52fa35942bfe0dfdcfc5410de2610fb397359134
-Author: isuPatches
-Date: Sat Oct 29 13:38:41 2016 -0500 - -#### Update -commit 1715ec5560ac4dbf7bb0e8526868162e04db4482
-Author: isuPatches
-Date: Sat Oct 29 12:59:47 2016 -0500 - -#### Yet another travis test -commit 6c7a1a5af877d213e4558c1ebdc33933f79e7f71
-Author: isuPatches
-Date: Sat Oct 29 12:43:26 2016 -0500 - -#### Another test -commit 221bdbec458e9696b3b6f18124a88307dd2e90fc
-Author: isuPatches
-Date: Sat Oct 29 12:22:33 2016 -0500 - -#### Test -commit d4e23f60f5236b27eb9047beee6aa3df1e36a24a
-Author: isuPatches
-Date: Sat Oct 29 12:14:45 2016 -0500 - -#### Another potential travis fix -commit e645fd867f4ca4835780c5c37adfb23960e0aecf
-Author: isuPatches
-Date: Sat Oct 29 11:56:55 2016 -0500 - -#### Another test -commit 095aed8db9b05224bf0896b41727663a1cb4af78
-Author: isuPatches
-Date: Sat Oct 29 11:37:51 2016 -0500 - -#### Too much logging for Travis -commit 2e49c408548429a309bc64b2db2a04189f62d927
-Author: isuPatches
-Date: Sat Oct 29 11:03:36 2016 -0500 - -#### Potential fix for travis ci -commit f7ec203be930bb89e6df07ed8907f6fbd4d46683
-Author: isuPatches
-Date: Sat Oct 29 10:49:49 2016 -0500 - -#### Enforce context through builder constructor -commit 2a0f5f81a9d918a13fbf260c161e9384544a644b
-Author: isuPatches
-Date: Mon Oct 24 00:00:49 2016 -0500 - - close #25 - -#### More crazy experiments -commit b0a73d81fb16d6580da73559c63fdf30f77a9a70
-Author: isuPatches
-Date: Sun Oct 23 22:49:29 2016 -0500 - -#### Update -commit 196ca252e3903a3957831bdb156e00fdebe77d8d
-Author: isuPatches
-Date: Sun Oct 23 21:40:28 2016 -0500 - -#### Spaces -commit c4d1abc12d482e31920148328a87bd1d9ddd7781
-Author: isuPatches
-Date: Sun Oct 23 20:56:11 2016 -0500 - -#### Another try -commit df6ead8e07adf0fcc1d64657c968927fb3876f9f
-Author: isuPatches
-Date: Sun Oct 23 20:55:09 2016 -0500 - -#### Support libs? -commit fe3ad453bb3edfefd8a2f2960894dbd1cba44f5f
-Author: isuPatches
-Date: Sun Oct 23 20:25:15 2016 -0500 - -#### Bump -commit f87264db901d40b992408dcd1c005ec60b1a74d3
-Author: isuPatches
-Date: Sun Oct 23 20:11:14 2016 -0500 - -#### Yet another attempt -commit ad81e789526d6355e2e9ffe1d6ab16503d1bb975
-Author: isuPatches
-Date: Sun Oct 23 19:59:50 2016 -0500 - -#### Another attempt -commit 7d53c231da354faf2ef3562eee3ca0a6800a6c80
-Author: isuPatches
-Date: Sun Oct 23 19:50:01 2016 -0500 - -#### Increment again -commit 8a0c52c8c4a3435545e0aa5104df3b9366fe5a1f
-Author: isuPatches
-Date: Sun Oct 23 19:29:03 2016 -0500 - -#### Trying to bump down build tools -commit 7b7e36d4bc75f2231b1e8f58d7e37c8d173afd05
-Author: isuPatches
-Date: Sun Oct 23 19:10:13 2016 -0500 - -#### Another test -commit cb5526001046099374991ade4585f1132cef110d
-Author: isuPatches
-Date: Sun Oct 23 18:28:56 2016 -0500 - -#### Update travis.yml -commit ca88ab0ef050795d259aa893a23d5c164d781c8c
-Author: isuPatches
-Date: Sun Oct 23 17:56:28 2016 -0500 - -#### One day travis ci will work with me -commit 035eaa75a5c0a3276926b5b58713499dd2f0216a
-Author: isuPatches
-Date: Sun Oct 23 14:42:28 2016 -0500 - -#### Forgot to add tag -commit 204f753393c2101c08748bd24b1e4ebf06b19717
-Author: isuPatches
-Date: Sun Oct 23 14:32:31 2016 -0500 - -#### Add tag, move to ENV variables -commit fe7f01311d6bab0b26fb411447e55408e9819650
-Author: isuPatches
-Date: Sun Oct 23 14:21:34 2016 -0500 - -#### :( -commit c000de375e4f2863cce68db849fdc371ca09eea5
-Author: isuPatches
-Date: Sun Oct 23 14:05:23 2016 -0500 - -#### Add abi -commit 4b6e3a020af842d44953eceeb5145b6017f37922
-Author: isuPatches
-Date: Sun Oct 23 13:56:12 2016 -0500 - -#### Wait for emulator -commit eb6e5e9ac68884f37de6ae2be620556e4fe766dd
-Author: isuPatches
-Date: Sun Oct 23 13:47:02 2016 -0500 - -#### Emulator -commit acc2615abb18deb4d959701e3a6d9d39baf7754d
-Author: isuPatches
-Date: Sun Oct 23 13:34:28 2016 -0500 - -#### Another attempt -commit d9bc598ed20f37c97d25586d790d7da9618d1c91
-Author: isuPatches
-Date: Sun Oct 23 13:24:16 2016 -0500 - -#### Another test -commit 7b34b0d529de9c7026f7f8604dfe6eac9eee9593
-Author: isuPatches
-Date: Sun Oct 23 13:19:04 2016 -0500 - -#### Trying another update -commit 9164d2cd463923ba132e0fd3db662a79de5a09c5
-Author: isuPatches
-Date: Sun Oct 23 12:37:02 2016 -0500 - -#### travis.yml updates -commit 95829f1ff7a69eed20b71fbafef5e680f01ab9b0
-Author: isuPatches
-Date: Sun Oct 23 12:32:16 2016 -0500 - -#### Move travis.yml -commit 816f72fcac20311ebf5a62a0b35952750de72b5e
-Author: isuPatches
-Date: Sun Oct 23 12:27:46 2016 -0500 - -#### Add Travis badge -commit e04ab71ee15ac0193d528eb94f21a8a655c72724
-Author: isuPatches
-Date: Sun Oct 23 12:26:39 2016 -0500 - -#### Builder pattern updates, javadocs, new package name, updated README, and travis config -commit bdb6ea7c3958cb29dbe80c6f9f5f8bdda9390022
-Author: isuPatches
-Date: Sun Oct 23 12:20:34 2016 -0500 - - close #16 - close #20 - close #21 - close #22 - close #23 - close #24 - -#### Merge branch 'master' into develop -commit 3512ea1fc44ae55b82125fcf096ecf597819b7e0
-Merge: 4d45db3 5ee444c
-Author: isuPatches
-Date: Sat Oct 22 15:20:48 2016 -0500 - -#### Merge pull request #18 from isuPatches/develop -commit 5ee444c66e83ce17730df31f1442daaab09ea328
-Merge: c8292ba 4d45db3
-Author: Patches
-Date: Sat Oct 22 15:20:18 2016 -0500 - - Develop - -#### Update docs again -commit 4d45db3287a278dff512381d994cf05c5e3d1ebb
-Author: isuPatches
-Date: Sat Oct 22 15:19:31 2016 -0500 - -#### Merge branch 'master' into develop -commit d584eaf2aba3996709fc4c92254004ed03bd3a02
-Merge: 643dd75 c8292ba
-Author: isuPatches
-Date: Sat Oct 22 15:15:40 2016 -0500 - -#### Update CHANGE.md -commit c8292baba16805731221cbb07c49e787b946a93c
-Author: Patches
-Date: Sat Oct 22 15:14:57 2016 -0500 - -## v1.0.3 - 10/22/2016 - -#### Merge branch 'master' into develop -commit 643dd759b21bbf9b3062b3566215bf84f02922e2
-Merge: a9d5f6a 0363b6e
-Author: isuPatches
-Date: Sat Oct 22 15:04:35 2016 -0500 - -#### Merge pull request #17 from isuPatches/develop -commit 0363b6e3987ba1952f4c2244af94a8848a3d37fb
-Merge: 2e2246e a9d5f6a
-Author: Patches
-Date: Sat Oct 22 14:57:29 2016 -0500 - - v1.0.3 - -#### Increment versionName and versionCode -commit a9d5f6aee10545c265680b92477cb33331d3d9f4
-Author: isuPatches
-Date: Sat Oct 22 14:56:20 2016 -0500 - -#### Missed one spot in documentation -commit 5f839d5fb115ef66cef2fe113ad82623f11ec663
-Author: isuPatches
-Date: Sat Oct 22 14:34:59 2016 -0500 - -#### Update ready -commit 9895f5dc9567a80b63b5f84fbcd3b884a0cf5106
-Author: isuPatches
-Date: Sat Oct 22 14:32:27 2016 -0500 - -#### Move to builder pattern, use real time values, and update documentation -commit e61e85e817b542eaa572e527068e911ffdcdcc8e
-Author: isuPatches
-Date: Sat Oct 22 14:32:09 2016 -0500 - - close #13 - close #14 - close #15 - close #16 - -#### Merge branch 'master' into develop -commit 88c05d013caffd7b688cde44b8efea74f69ba3e4 -Merge: cd98623 2e2246e
-Author: isuPatches
-Date: Sat Oct 22 04:08:26 2016 -0500 - -#### More functionality, switching to espresso tests, updating libs, and providing logging option -commit 2e2246e63fb4dc3b16b3a59c2081b9e9c39c4388
-Author: isuPatches
-Date: Sat Oct 22 04:08:05 2016 -0500 - - closes #9 - closes #10 - closes #11 - closes #12 - -## v1.0.2 - 04/30/2016 - -#### Update README.md -commit cd98623b74763e4d12a0c682b5023fdd5f169d91
-Author: Patches
-Date: Sat Apr 30 15:02:43 2016 -0500 - -#### Update CHANGE.md -commit af298c3a986c4418cf0003e33f9d591daec58dc5
-Author: Patches
-Date: Sat Apr 30 14:54:13 2016 -0500 - -#### Create CHANGE.md -commit c16118744ff2a52881c4af6f4afc8438262888c8
-Author: Patches
-Date: Sat Apr 30 14:46:44 2016 -0500 - -#### Merge pull request #7 from isuPatches/develop -commit cdc66951cfca2a8e964f411f67b6c27a592de222
-Merge: 3ba209b 12bb210
-Author: Patches
-Date: Sat Apr 30 14:29:51 2016 -0500 - - v1.0.2 - -#### Increment versionName and versionCode for release -commit 12bb210b2aa6513b0140a2e6de7594f0e1d0e64f
-Author: isuPatches
-Date: Sat Apr 30 14:27:52 2016 -0500 - -#### Merge pull request #6 from isuPatches/issue-5 -commit a2aefadc1e46785d6f78c17d6130aa574cb05ac6
-Merge: 772558b ae81d49
-Author: Patches
-Date: Sat Apr 30 14:25:29 2016 -0500 - - issue-5 - -#### Adding isWifiEnabled functionality -commit ae81d49fcac0421cc8d5a10730359e7d1e723aec
-Author: isuPatches
-Date: Sat Apr 30 14:23:43 2016 -0500 - -## v1.0.1 - 04/28/2016 - -#### Merge pull request #3 from isuPatches/develop -commit 3ba209b036b99f6cfd432b76b8e75616cdc1fc1c
-Merge: db745f2 772558b
-Author: Patches
-Date: Thu Apr 28 09:07:06 2016 -0500 - - Fix README - -#### Fix README -commit 772558bc98f20b42849baf0eeacd012b0b383f0a
-Author: isuPatches
-Date: Thu Apr 28 09:05:24 2016 -0500 - -#### Merge pull request #1 from isuPatches/develop -commit db745f25d2caf0768ee259aa11ed0ad57c7d8ee4
-Merge: 3df4638 b309b1c
-Author: Patches
-Date: Thu Apr 28 08:57:21 2016 -0500 - - v1.0.1 - -#### Add isSecure functionality -commit b309b1c0c2550c08e92130c2e8bfb1ef1b0e48db
-Author: isuPatches
-Date: Thu Apr 28 08:53:19 2016 -0500 - -## v1.0.0 - 04/26/2016 - -#### Create README.md -commit 3df46380676592b033a4c512ec6d67e7b4e39ace
-Author: Patches
-Date: Tue Apr 26 15:25:33 2016 -0500 - -#### Initial commit -commit 58826f9cd9002b5407c6bbaa540c49da46eee3f5
-Author: isuPatches
-Date: Tue Apr 26 15:09:41 2016 -0500 +[2.x Changes](/changes/2.x.md) diff --git a/README.md b/README.md index fd9f27b7..64713aac 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Wifi configuration and util library built for Android. >
*Developed by Patches 04/24/2016 - present*
> ->
Supports Android SDK levels 16-25

+>
Supports Android SDK levels 16-26

[![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23230-blue.svg)](http://androidweekly.net/issues/issue-230) [![Build Status](https://travis-ci.org/isuPatches/WiseFy.svg?branch=master)](https://travis-ci.org/isuPatches/WiseFy) [ ![Download](https://api.bintray.com/packages/isupatches/Maven/wisefy/images/download.svg) ](https://bintray.com/isupatches/Maven/wisefy/_latestVersion) @@ -12,61 +12,61 @@ Wifi configuration and util library built for Android. Make sure you have one of the following repositories accessible: -``` -repositories { - jcenter() -} +```groovy + repositories { + jcenter() + } ``` -``` -repositories { - mavenCentral() -} +```groovy + repositories { + mavenCentral() + } ``` -``` -repositories { - maven { - url "http://dl.bintray.com/isupatches/Maven" +```groovy + repositories { + maven { + url "http://dl.bintray.com/isupatches/Maven" + } } -} ``` -Then add it as a dependency (please see https://github.com/isuPatches/WiseFy/releases for the lastest version): +Then add it as a dependency (please see https://github.com/isuPatches/WiseFy/releases for the latest version): -Gradle: +For Gradle: -``` -compile 'com.isupatches:wisefy:' +```groovy + compile 'com.isupatches:wisefy:' ``` -Maven: +For Maven: -``` - - com.isupatches - wisefy - - pom - +```xml + + com.isupatches + wisefy + + pom + ``` You may also download the @aar from the releases page and import it into your project manually. ## Getting An Instance -WiseFy now supports the builder pattern so cool functionality can be added later! +WiseFy is constructed with the builder pattern that allows you access to the synchronous and asynchronous APIs. To grab a default instance: ```java -WiseFy mWiseFy = new WiseFy.withContext(getActivity()).getSmarts(); +WiseFy mWiseFy = new WiseFy.brains(getActivity()).getSmarts(); ``` To grab an instance with logging enabled: ```java -WiseFy mWiseFy = new WiseFy.withContext(getActivity()).logging(true).getSmarts(); +WiseFy mWiseFy = new WiseFy.brains(getActivity()).logging(true).getSmarts(); ``` ## Permissions @@ -84,164 +84,13 @@ For the sake of transparency and because you're probably curious as to what perm * NOTE * -If a search for an SSID is failing (returning false or NULL depending on the method) on >= 6.x devices but the network is visible, it's most likely because you haven't asked in your application for the `Manifest.permission.ACCESS_COARSE_LOCATION` permission which is what allows us to see the access points nearby. It has been up for debate on if it would be beneficial to move permission requests to the WiseFy library, but at this time, it remains as-is so users can determine their own UI/UX and to not add additional package bloat. - -## Commands - -To add an open network: - -```java -int addedSuccessfully = mWiseFy.addOpenNetwork("Open Network"); -``` - -To add a WEP network: - -```java -int addedSuccessfully = mWiseFy.addWEPNetwork("WEP Network", "123456"); -``` - -To add a WPA2 network: - -```java -int addedSuccessfully = mWiseFy.addWPA2Network("WPA2 Network", "12345678"); -``` - -To calculate number of bars given a networks signal strength and total number of bars: - -```java -int bars = mWiseFy.calculateBars(-35, 5); -``` - -To compare the signal strength of two networks: - -```java -int result = mWiseFy.compareSignalLevel(-35, -70); -``` - -To connect to a network given an SSID: - -```java -boolean connectedSuccessfully = mWiseFy.connectToNetwork("SSID To Connect To", 30000); -``` - -To disable wifi: - -```java -boolean disabledWifiSuccessfully = mWiseFy.disableWifi(); -``` - -To disconnect from current network: - -```java -boolean disconnectedSuccessfully = mWiseFy.disconnectFromCurrentNetwork(); -``` - -To enable wifi: - -```java -boolean wifiEnabled = mWiseFy.enableWiFi(); -``` - -To get current network: - -```java -WifiInfo currentNetwork = mWiseFy.getCurrentNetwork(); -``` - -To get the frequency of the devices current network:

-* NOTE * Only supported on API >= 21 - -```java -int frequency = mWiseFy.getFrequency(); -``` - -To get the frequency of a network:

-* NOTE * Only supported on API >= 21 - -```java -int frequency = mWiseFy.getFrequency(wifiInfo); -``` - -To get nearby access points:

-Setting filterDuplicates to true will not return SSIDs with a weaker signal strength (will always take the highest) - -```java -List nearbyAccessPoints = mWiseFy.getNearbyAccessPoints(true); -``` - -To get the networks whose configuration is already stored: +If access points or SSIDs are not being returned on >= 6.x devices but there are visible networks, it's most likely because you haven't asked in your application for the `Manifest.permission.ACCESS_COARSE_LOCATION` permission which is what allows us to see the access points nearby. This permission request will not be added to the WiseFy library to reduce package bloat and so users can determine their own UI/UX. -```java -List savedNetworks = mWiseFy.getSavedNetworks(); -``` - -To check and see if the device is connected to a mobile network: - -```java -boolean isConnected = mWiseFy.isDeviceConnectedToMobileNetwork(); -``` - -To check and see if the device is connected to a mobile or wifi network: - -```java -boolean isConnected = mWiseFy.isDeviceConnectedToMobileOrWifiNetwork(); -``` - -To check and see if the device is connected to a given SSID: - -```java -boolean isConnected = mWiseFy.isDeviceConnectedToSSID("SSID"); -``` - -To check and see if the device is connected to a wifi network: - -```java -boolean isConnected = mWiseFy.isDeviceConnectedToWifiNetwork(); -``` +Please check [the permssions example](/documentation/permissions_example.md) for a sample of how to request permissions for WiseFy. -To check if the device's current network is 5gHz:

-* NOTE * Only supported on API >= 21 +## Usage -```java -boolean is5gHz = mWiseFy.isNetwork5gHz(); -``` - -To check if a network is 5gHz:

-* NOTE * Only supported on API >= 21 - -```java -boolean is5gHz = mWiseFy.isNetwork5gHz(wifiInfo); -``` - -To check and see if a given SSID is in the devices set of configured networks: - -```java -boolean isConfigured = mWiseFy.isNetworkInConfigurationList("SSID"); -``` - -To check and see if a network is secure (WEP/PSK/EAP capabilities): - -```java -boolean isSecure = mWiseFy.isNetworkSecure(scanResult); -``` - -To check and see if Wifi is enabled on a device: - -```java -boolean wifiEnabled = mWiseFy.isWifiEnabled(); -``` - -To remove a configured network: - -```java -boolean removedSuccessfully = mWiseFy.removeNetwork("SSID To Remove"); -``` - -To search for an SSID given a search string: - -```java -String ssid = mWiseFy.searchForSSID("SSID To Search For", 30000); -``` +Please check [the documentation markdown directory](/documentation) for usage examples and details about both the synchronous and asynchronous API. ## License ## Copyright 2017 Patches Klinefelter diff --git a/build.gradle b/build.gradle index b5931a63..429ef1e0 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } } dependencies { - classpath "com.android.tools.build:gradle:2.3.2" + classpath "com.android.tools.build:gradle:2.3.3" classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.1" classpath "com.github.dcendents:android-maven-gradle-plugin:1.5" classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3" diff --git a/changes/1.x.md b/changes/1.x.md new file mode 100644 index 00000000..cdf4efd6 --- /dev/null +++ b/changes/1.x.md @@ -0,0 +1,716 @@ +## v1.0.9 - 07/03/2017 + +#### Undo bintray props +commit 6603ea2112e3281b1974442cfcbe9a6e62f0b9cf
+Author: isuPatches
+Date: Mon Jul 3 11:09:32 2017 -0500 + +#### Add local.properties back to gitignore +commit 43b2a6cd322a86a4ecc329800a96cabd3729575c
+Author: isuPatches
+Date: Mon Jul 3 10:48:36 2017 -0500 + +#### Remove local properties for travis-ci +commit c4944e0c24538630687c70a3c02807e2f835e32c
+Author: isuPatches
+Date: Mon Jul 3 10:47:26 2017 -0500 + +#### Remove unused resources +commit 67543bfeaea1e9d0c2a993d8a3ba06e34163c30c
+Author: isuPatches
+Date: Mon Jul 3 10:44:53 2017 -0500 + +#### Adjust package for return codes +commit 7486de70fbf295fe975588ba9025149e81c54f33
+Author: isuPatches
+Date: Mon Jul 3 10:20:09 2017 -0500 + +#### More adjustments for Binary +commit b10efc7e037b7f02dd39aec11a2bbad4b7ca8ca8
+Author: isuPatches
+Date: Mon Jul 3 10:00:19 2017 -0500 + +#### Adjust tests and WiseFy for scope and return unique code for network already configured +commit 2ddf9f731d11d6cc6f1065ddba7e8863bc145631
+Author: isuPatches
+Date: Mon Jul 3 09:28:00 2017 -0500 + + close #51 + close #52 + close #53 + +#### Merge branch 'master' into develop +commit 74b4ae81e645c3d9f637baa030866450ea41412c
+Merge: fdedcc0 4e22889
+Author: isuPatches
+Date: Sun Jul 2 15:43:18 2017 -0500 + +#### Merge branch 'master' into develop +commit fdedcc03c892f1af56c145e54d3987ebe19058b5
+Merge: d18109d a0f8a3b
+Author: isuPatches
+Date: Sun Jul 2 15:42:42 2017 -0500 + +#### Update CHANGE.md +commit 4e228895dbf5260824acf27208c76e1433e6dd68
+Author: Patches
+Date: Sun Jul 2 15:42:15 2017 -0500 + +#### Merge pull request #49 from isuPatches/develop +commit a0f8a3bbb2c6631a3566a5970cd6df8e60e73ffc
+Merge: 0b7a808 d18109d
+Author: Patches
+Date: Sun Jul 2 15:35:33 2017 -0500 + + v1.0.8 + +## v1.0.8 - 07/02/2017 + +#### Update Javadocs again +commit d18109d7c3093015423541151595c7de25ce80c8
+Author: isuPatches
+Date: Sun Jul 2 14:58:28 2017 -0500 + +#### Add more tests, switch to String.format, update more libs, and restore travis-ci functionality +commit db218ba7122453097b696d45bc3a43d9d05ade9c
+Author: isuPatches
+Date: Sun Jul 2 14:57:17 2017 -0500 + +#### Test for travis_wait +commit 2cb4425e5b232b67b936da2e75a99d2fcc1ca310
+Author: isuPatches
+Date: Sun Jul 2 12:57:35 2017 -0500 + +#### Update README to include permission blurb +commit 40ce82ce7c9c00e8b6ef31a08cdba4d7b1c87cc9
+Author: isuPatches
+Date: Sun Jul 2 09:38:32 2017 -0500 + +#### Adding travis_wait +commit 64168a57918dd887ddb8da2de93c134f4d3688c0
+Author: isuPatches
+Date: Sun Jul 2 09:17:39 2017 -0500 + +#### Test for travis-ci +commit b8e5449ea6f23a41a503988dd1c41ad71702b68a
+Author: isuPatches
+Date: Sun Jul 2 08:53:09 2017 -0500 + +#### Update test naming schema +commit 292487515bb1dd5883d5929f84a180066e5d8112
+Author: isuPatches
+Date: Sun Jul 2 01:26:05 2017 -0500 + + close #48 + +#### Rename GetManagerUtil +commit 5495cf97f54c5d74bff5a8e2226fe0b4fbd6e077
+Author: isuPatches
+Date: Sat Jul 1 23:54:04 2017 -0500 + + close #46 + +#### Update Javadocs, eliminate potential memory leak on Android N +commit 716997a3d6e88b89e5999603664fc7f748ad4ec4
+Author: isuPatches
+Date: Sat Jul 1 23:48:02 2017 -0500 + + close #45 + +#### Adjust scope for withContext, bump some versions, remove potential manifest conflicts +commit 48def3c09edd2b5ae54129084bc6d2f266396fb2
+Author: isuPatches
+Date: Sat Jul 1 23:13:48 2017 -0500 + + close #41 + +#### Merge branch 'master' into develop +commit c9b9cb726be57e62a925f9ac2d84682e94c2c0b0
+Merge: b1da078 0b7a808
+Author: isuPatches
+Date: Sat Mar 25 23:07:56 2017 -0500 + +#### Update CHANGE.md +commit 0b7a808eabd41a2d2eb8fd1a1c29dcd19f1be455
+Author: Patches
+Date: Sat Mar 25 23:05:20 2017 -0500 + +#### Merge branch 'master' into develop +commit b1da078eb48f0b29ba140a8a334a5fd54d242316
+Merge: e9f087b a836baf
+Author: isuPatches
+Date: Sat Mar 25 22:45:21 2017 -0500 + +## v1.0.7 - 03/25/2017 + +#### Merge pull request #37 from isuPatches/develop +commit a836baf09b974ea5332c037e236a153e9f30cf8d
+Merge: 31217ab e9f087b
+Author: Patches
+Date: Sat Mar 25 22:44:26 2017 -0500 + + v1.0.7 + +#### Revert Travis CI changes +commit e9f087beb8f262c3b805843d45a6b7b09cf89546
+Author: isuPatches
+Date: Sat Mar 25 22:22:53 2017 -0500 + +#### Going to try to cut down Travis CI time +commit ef49b55b20277c3854eece485a827f8c39157b17
+Author: isuPatches
+Date: Sat Mar 25 22:10:53 2017 -0500 + +#### Update deps, update java docs, extract jacoco gradle logic +commit d3a3a2c343e7b0b8be60a0751d2add05aca571b1
+Author: isuPatches
+Date: Sat Mar 25 21:43:40 2017 -0500 + +#### Merge branch 'master' into develop +commit 53cdb27b90586128514cf53a0611a1b2f4fd7032
+Merge: 2a59351 31217ab
+Author: isuPatches
+Date: Sat Feb 4 21:19:48 2017 -0600 + +#### Update CHANGE.md +commit 31217ab1b96b8e1b4907607050936e73e7e296a0
+Author: Patches
+Date: Sat Feb 4 21:18:44 2017 -0600 + +## v1.0.6 - 02/04/2017 + +#### Merge pull request #36 from isuPatches/develop +commit 85640461ba06babdc4b37591249af269bec60c28
+Merge: 7ed8ed1 2a59351
+Author: Patches
+Date: Sat Feb 4 21:11:52 2017 -0600 + + v1.0.6 + +#### Update README version for release +commit 2a593513ce0638d04202ff4a9de01cc2cd16b964
+Author: isuPatches
+Date: Sat Feb 4 20:47:52 2017 -0600 + +#### Update bin again +commit a88e55a64e96e2fe40a3e673b56a669825811462
+Author: isuPatches
+Date: Sat Feb 4 20:20:48 2017 -0600 + +#### Add getFrequency and isNetwork5gHz for >= 21 devices, update javadocs, adjust visibility, library updates, etc. +commit a83f4fa6a8c3af1b7f357a7259fe420d57950979
+Author: isuPatches
+Date: Sat Feb 4 20:19:52 2017 -0600 + + close #31 + close #32 + close #33 + close #34 + close #35 + +#### Merge branch 'master' into develop +commit 71a7151f7fdb7471d83f85eeedf46674803ed742
+Merge: 2c2cafd 7ed8ed1
+Author: isuPatches
+Date: Sat Nov 5 14:43:04 2016 -0500 + +#### Update README.md +commit 7ed8ed10bab57bf1ae8186e405db181a054f68f4
+Author: Patches
+Date: Sat Nov 5 14:42:27 2016 -0500 + +#### Merge branch 'master' into develop +commit 2c2cafdc09b140e914dfb9b9a14324dbbfb5817b
+Merge: 7bdd39e 716899f
+Author: isuPatches
+Date: Sat Nov 5 14:09:18 2016 -0500 + +#### Update CHANGE.md +commit 716899f792b4e88def76da74bcd2fec8df78e463
+Author: Patches
+Date: Sat Nov 5 14:08:51 2016 -0500 + +## v1.0.5 - 11/05/2016 + +#### Merge pull request #29 from isuPatches/develop +commit 0f670e635c7fe2cd1997446890ec6c6450cd6e9e
+Merge: ecbe2dc 7bdd39e
+Author: Patches
+Date: Sat Nov 5 14:06:26 2016 -0500 + + v1.0.5 + +#### Update change and readme files +commit 7bdd39e8df97158c3f667ed128f4fc0f3466d852
+Author: isuPatches
+Date: Sat Nov 5 14:04:30 2016 -0500 + +#### Adjust file structure for Bintray +commit 3685c42d198fc700976a57217175c7f8e62f6719
+Author: isuPatches
+Date: Sun Oct 30 08:35:11 2016 -0500 + +#### Merge branch 'master' into develop +commit 3d3e552ab7da0d46f7dd15d1367fd753268dca1d
+Merge: 948493f ecbe2dc
+Author: isuPatches
+Date: Sat Oct 29 21:26:29 2016 -0500 + +#### Add gradle logic to publish to Binary +commit 948493f42bd53283f6e7f8162fb9adaefd74b2e4
+Author: isuPatches
+Date: Sat Oct 29 21:23:21 2016 -0500 + + closes #19 + +#### Merge pull request #28 from isuPatches/develop +commit ecbe2dc67a4c9d86324901fb2fae9ff58aaefe92
+Merge: 7a3014c a41b4b6
+Author: Patches
+Date: Sat Oct 29 18:57:11 2016 -0500 + + Add short license to readme + +#### Add short license to read +commit a41b4b6ef55ccbf976ecec4172a90bf20286c0ea
+Author: isuPatches
+Date: Sat Oct 29 18:56:35 2016 -0500 + +## v1.0.4 - 10/29/2016 + +#### Merge pull request #27 from isuPatches/develop +commit 7a3014ce415db2f621d39e05193ffa5242c082d6
+Merge: 5ee444c 3ecb389
+Author: Patches
+Date: Sat Oct 29 18:55:24 2016 -0500 + + v1.0.4 + +#### Update javadoc +commit 3ecb3893952449ccc71aefa8930af08dd6c6bb2a
+Author: isuPatches
+Date: Sat Oct 29 18:53:10 2016 -0500 + +#### More license stuff +commit 797008957e441a6e79991f4f06c2f95dd36dfe4d
+Author: isuPatches
+Date: Sat Oct 29 18:48:08 2016 -0500 + +#### Update LICENSE.md +commit 882f6877a37bbf66324fd4a02a22f7565b62ff3d
+Author: Patches
+Date: Sat Oct 29 18:46:00 2016 -0500 + +#### Update LICENSE.md +commit 9d89ef7a6dbeacbce54b93a41a51524b7c60d9cf
+Author: Patches
+Date: Sat Oct 29 18:42:49 2016 -0500 + +#### Move license to separate file +commit fb464859eee4a0fe877a00bc0b538c59820b13bf
+Author: isuPatches
+Date: Sat Oct 29 18:38:13 2016 -0500 + +#### Remove unnecessary files +commit cce36df939677677db363049085027f98dc3229a
+Author: isuPatches
+Date: Sat Oct 29 18:35:59 2016 -0500 + +#### GAH...just work +commit cb4326f6f2c4af7d3161b6fedd4130d0dac7d658
+Author: isuPatches
+Date: Sat Oct 29 18:06:20 2016 -0500 + +#### Another test +commit e2755d24f1adb079e146448db6d9db1124f0ad66
+Author: isuPatches
+Date: Sat Oct 29 17:46:17 2016 -0500 + +#### Trying another thing +commit 5d96b2ad1d4dc0150e6df67f6ac24440968532b9
+Author: isuPatches
+Date: Sat Oct 29 17:18:20 2016 -0500 + +#### Trying a lower API level +commit 4a94ad26d9c059e8090f059ed622b1633b35e500
+Author: isuPatches
+Date: Sat Oct 29 17:02:10 2016 -0500 + +#### Adjust adoptions +commit 341cee9340afb9a4f0f891db238a55dcaa39d425
+Author: isuPatches
+Date: Sat Oct 29 15:00:38 2016 -0500 + +#### More updates +commit ec8bf2898c3ae6e6145fd8b608b63ec3dc47efe0
+Author: isuPatches
+Date: Sat Oct 29 14:32:42 2016 -0500 + +#### Removing signed bit +commit d00d586869510ea65b366922f38b8bed3c1d1a28
+Author: isuPatches
+Date: Sat Oct 29 14:27:55 2016 -0500 + +#### Another experiment +commit 9e00962af97bad9cf789c579b3d36b7082018992
+Author: isuPatches
+Date: Sat Oct 29 14:06:22 2016 -0500 + +#### More tinkering +commit 52fa35942bfe0dfdcfc5410de2610fb397359134
+Author: isuPatches
+Date: Sat Oct 29 13:38:41 2016 -0500 + +#### Update +commit 1715ec5560ac4dbf7bb0e8526868162e04db4482
+Author: isuPatches
+Date: Sat Oct 29 12:59:47 2016 -0500 + +#### Yet another travis test +commit 6c7a1a5af877d213e4558c1ebdc33933f79e7f71
+Author: isuPatches
+Date: Sat Oct 29 12:43:26 2016 -0500 + +#### Another test +commit 221bdbec458e9696b3b6f18124a88307dd2e90fc
+Author: isuPatches
+Date: Sat Oct 29 12:22:33 2016 -0500 + +#### Test +commit d4e23f60f5236b27eb9047beee6aa3df1e36a24a
+Author: isuPatches
+Date: Sat Oct 29 12:14:45 2016 -0500 + +#### Another potential travis fix +commit e645fd867f4ca4835780c5c37adfb23960e0aecf
+Author: isuPatches
+Date: Sat Oct 29 11:56:55 2016 -0500 + +#### Another test +commit 095aed8db9b05224bf0896b41727663a1cb4af78
+Author: isuPatches
+Date: Sat Oct 29 11:37:51 2016 -0500 + +#### Too much logging for Travis +commit 2e49c408548429a309bc64b2db2a04189f62d927
+Author: isuPatches
+Date: Sat Oct 29 11:03:36 2016 -0500 + +#### Potential fix for travis ci +commit f7ec203be930bb89e6df07ed8907f6fbd4d46683
+Author: isuPatches
+Date: Sat Oct 29 10:49:49 2016 -0500 + +#### Enforce context through builder constructor +commit 2a0f5f81a9d918a13fbf260c161e9384544a644b
+Author: isuPatches
+Date: Mon Oct 24 00:00:49 2016 -0500 + + close #25 + +#### More crazy experiments +commit b0a73d81fb16d6580da73559c63fdf30f77a9a70
+Author: isuPatches
+Date: Sun Oct 23 22:49:29 2016 -0500 + +#### Update +commit 196ca252e3903a3957831bdb156e00fdebe77d8d
+Author: isuPatches
+Date: Sun Oct 23 21:40:28 2016 -0500 + +#### Spaces +commit c4d1abc12d482e31920148328a87bd1d9ddd7781
+Author: isuPatches
+Date: Sun Oct 23 20:56:11 2016 -0500 + +#### Another try +commit df6ead8e07adf0fcc1d64657c968927fb3876f9f
+Author: isuPatches
+Date: Sun Oct 23 20:55:09 2016 -0500 + +#### Support libs? +commit fe3ad453bb3edfefd8a2f2960894dbd1cba44f5f
+Author: isuPatches
+Date: Sun Oct 23 20:25:15 2016 -0500 + +#### Bump +commit f87264db901d40b992408dcd1c005ec60b1a74d3
+Author: isuPatches
+Date: Sun Oct 23 20:11:14 2016 -0500 + +#### Yet another attempt +commit ad81e789526d6355e2e9ffe1d6ab16503d1bb975
+Author: isuPatches
+Date: Sun Oct 23 19:59:50 2016 -0500 + +#### Another attempt +commit 7d53c231da354faf2ef3562eee3ca0a6800a6c80
+Author: isuPatches
+Date: Sun Oct 23 19:50:01 2016 -0500 + +#### Increment again +commit 8a0c52c8c4a3435545e0aa5104df3b9366fe5a1f
+Author: isuPatches
+Date: Sun Oct 23 19:29:03 2016 -0500 + +#### Trying to bump down build tools +commit 7b7e36d4bc75f2231b1e8f58d7e37c8d173afd05
+Author: isuPatches
+Date: Sun Oct 23 19:10:13 2016 -0500 + +#### Another test +commit cb5526001046099374991ade4585f1132cef110d
+Author: isuPatches
+Date: Sun Oct 23 18:28:56 2016 -0500 + +#### Update travis.yml +commit ca88ab0ef050795d259aa893a23d5c164d781c8c
+Author: isuPatches
+Date: Sun Oct 23 17:56:28 2016 -0500 + +#### One day travis ci will work with me +commit 035eaa75a5c0a3276926b5b58713499dd2f0216a
+Author: isuPatches
+Date: Sun Oct 23 14:42:28 2016 -0500 + +#### Forgot to add tag +commit 204f753393c2101c08748bd24b1e4ebf06b19717
+Author: isuPatches
+Date: Sun Oct 23 14:32:31 2016 -0500 + +#### Add tag, move to ENV variables +commit fe7f01311d6bab0b26fb411447e55408e9819650
+Author: isuPatches
+Date: Sun Oct 23 14:21:34 2016 -0500 + +#### :( +commit c000de375e4f2863cce68db849fdc371ca09eea5
+Author: isuPatches
+Date: Sun Oct 23 14:05:23 2016 -0500 + +#### Add abi +commit 4b6e3a020af842d44953eceeb5145b6017f37922
+Author: isuPatches
+Date: Sun Oct 23 13:56:12 2016 -0500 + +#### Wait for emulator +commit eb6e5e9ac68884f37de6ae2be620556e4fe766dd
+Author: isuPatches
+Date: Sun Oct 23 13:47:02 2016 -0500 + +#### Emulator +commit acc2615abb18deb4d959701e3a6d9d39baf7754d
+Author: isuPatches
+Date: Sun Oct 23 13:34:28 2016 -0500 + +#### Another attempt +commit d9bc598ed20f37c97d25586d790d7da9618d1c91
+Author: isuPatches
+Date: Sun Oct 23 13:24:16 2016 -0500 + +#### Another test +commit 7b34b0d529de9c7026f7f8604dfe6eac9eee9593
+Author: isuPatches
+Date: Sun Oct 23 13:19:04 2016 -0500 + +#### Trying another update +commit 9164d2cd463923ba132e0fd3db662a79de5a09c5
+Author: isuPatches
+Date: Sun Oct 23 12:37:02 2016 -0500 + +#### travis.yml updates +commit 95829f1ff7a69eed20b71fbafef5e680f01ab9b0
+Author: isuPatches
+Date: Sun Oct 23 12:32:16 2016 -0500 + +#### Move travis.yml +commit 816f72fcac20311ebf5a62a0b35952750de72b5e
+Author: isuPatches
+Date: Sun Oct 23 12:27:46 2016 -0500 + +#### Add Travis badge +commit e04ab71ee15ac0193d528eb94f21a8a655c72724
+Author: isuPatches
+Date: Sun Oct 23 12:26:39 2016 -0500 + +#### Builder pattern updates, javadocs, new package name, updated README, and travis config +commit bdb6ea7c3958cb29dbe80c6f9f5f8bdda9390022
+Author: isuPatches
+Date: Sun Oct 23 12:20:34 2016 -0500 + + close #16 + close #20 + close #21 + close #22 + close #23 + close #24 + +#### Merge branch 'master' into develop +commit 3512ea1fc44ae55b82125fcf096ecf597819b7e0
+Merge: 4d45db3 5ee444c
+Author: isuPatches
+Date: Sat Oct 22 15:20:48 2016 -0500 + +#### Merge pull request #18 from isuPatches/develop +commit 5ee444c66e83ce17730df31f1442daaab09ea328
+Merge: c8292ba 4d45db3
+Author: Patches
+Date: Sat Oct 22 15:20:18 2016 -0500 + + Develop + +#### Update docs again +commit 4d45db3287a278dff512381d994cf05c5e3d1ebb
+Author: isuPatches
+Date: Sat Oct 22 15:19:31 2016 -0500 + +#### Merge branch 'master' into develop +commit d584eaf2aba3996709fc4c92254004ed03bd3a02
+Merge: 643dd75 c8292ba
+Author: isuPatches
+Date: Sat Oct 22 15:15:40 2016 -0500 + +#### Update CHANGE.md +commit c8292baba16805731221cbb07c49e787b946a93c
+Author: Patches
+Date: Sat Oct 22 15:14:57 2016 -0500 + +## v1.0.3 - 10/22/2016 + +#### Merge branch 'master' into develop +commit 643dd759b21bbf9b3062b3566215bf84f02922e2
+Merge: a9d5f6a 0363b6e
+Author: isuPatches
+Date: Sat Oct 22 15:04:35 2016 -0500 + +#### Merge pull request #17 from isuPatches/develop +commit 0363b6e3987ba1952f4c2244af94a8848a3d37fb
+Merge: 2e2246e a9d5f6a
+Author: Patches
+Date: Sat Oct 22 14:57:29 2016 -0500 + + v1.0.3 + +#### Increment versionName and versionCode +commit a9d5f6aee10545c265680b92477cb33331d3d9f4
+Author: isuPatches
+Date: Sat Oct 22 14:56:20 2016 -0500 + +#### Missed one spot in documentation +commit 5f839d5fb115ef66cef2fe113ad82623f11ec663
+Author: isuPatches
+Date: Sat Oct 22 14:34:59 2016 -0500 + +#### Update ready +commit 9895f5dc9567a80b63b5f84fbcd3b884a0cf5106
+Author: isuPatches
+Date: Sat Oct 22 14:32:27 2016 -0500 + +#### Move to builder pattern, use real time values, and update documentation +commit e61e85e817b542eaa572e527068e911ffdcdcc8e
+Author: isuPatches
+Date: Sat Oct 22 14:32:09 2016 -0500 + + close #13 + close #14 + close #15 + close #16 + +#### Merge branch 'master' into develop +commit 88c05d013caffd7b688cde44b8efea74f69ba3e4 +Merge: cd98623 2e2246e
+Author: isuPatches
+Date: Sat Oct 22 04:08:26 2016 -0500 + +#### More functionality, switching to espresso tests, updating libs, and providing logging option +commit 2e2246e63fb4dc3b16b3a59c2081b9e9c39c4388
+Author: isuPatches
+Date: Sat Oct 22 04:08:05 2016 -0500 + + closes #9 + closes #10 + closes #11 + closes #12 + +## v1.0.2 - 04/30/2016 + +#### Update README.md +commit cd98623b74763e4d12a0c682b5023fdd5f169d91
+Author: Patches
+Date: Sat Apr 30 15:02:43 2016 -0500 + +#### Update CHANGE.md +commit af298c3a986c4418cf0003e33f9d591daec58dc5
+Author: Patches
+Date: Sat Apr 30 14:54:13 2016 -0500 + +#### Create CHANGE.md +commit c16118744ff2a52881c4af6f4afc8438262888c8
+Author: Patches
+Date: Sat Apr 30 14:46:44 2016 -0500 + +#### Merge pull request #7 from isuPatches/develop +commit cdc66951cfca2a8e964f411f67b6c27a592de222
+Merge: 3ba209b 12bb210
+Author: Patches
+Date: Sat Apr 30 14:29:51 2016 -0500 + + v1.0.2 + +#### Increment versionName and versionCode for release +commit 12bb210b2aa6513b0140a2e6de7594f0e1d0e64f
+Author: isuPatches
+Date: Sat Apr 30 14:27:52 2016 -0500 + +#### Merge pull request #6 from isuPatches/issue-5 +commit a2aefadc1e46785d6f78c17d6130aa574cb05ac6
+Merge: 772558b ae81d49
+Author: Patches
+Date: Sat Apr 30 14:25:29 2016 -0500 + + issue-5 + +#### Adding isWifiEnabled functionality +commit ae81d49fcac0421cc8d5a10730359e7d1e723aec
+Author: isuPatches
+Date: Sat Apr 30 14:23:43 2016 -0500 + +## v1.0.1 - 04/28/2016 + +#### Merge pull request #3 from isuPatches/develop +commit 3ba209b036b99f6cfd432b76b8e75616cdc1fc1c
+Merge: db745f2 772558b
+Author: Patches
+Date: Thu Apr 28 09:07:06 2016 -0500 + + Fix README + +#### Fix README +commit 772558bc98f20b42849baf0eeacd012b0b383f0a
+Author: isuPatches
+Date: Thu Apr 28 09:05:24 2016 -0500 + +#### Merge pull request #1 from isuPatches/develop +commit db745f25d2caf0768ee259aa11ed0ad57c7d8ee4
+Merge: 3df4638 b309b1c
+Author: Patches
+Date: Thu Apr 28 08:57:21 2016 -0500 + + v1.0.1 + +#### Add isSecure functionality +commit b309b1c0c2550c08e92130c2e8bfb1ef1b0e48db
+Author: isuPatches
+Date: Thu Apr 28 08:53:19 2016 -0500 + +## v1.0.0 - 04/26/2016 + +#### Create README.md +commit 3df46380676592b033a4c512ec6d67e7b4e39ace
+Author: Patches
+Date: Tue Apr 26 15:25:33 2016 -0500 + +#### Initial commit +commit 58826f9cd9002b5407c6bbaa540c49da46eee3f5
+Author: isuPatches
+Date: Tue Apr 26 15:09:41 2016 -0500 diff --git a/changes/2.x.md b/changes/2.x.md new file mode 100644 index 00000000..e69de29b diff --git a/documentation/adding_and_removing_networks.md b/documentation/adding_and_removing_networks.md new file mode 100644 index 00000000..fcff666e --- /dev/null +++ b/documentation/adding_and_removing_networks.md @@ -0,0 +1,122 @@ +#### Via The Synchronous API + +To add an open network: + +```java +int addedSuccessfully = mWiseFy.addOpenNetwork("Open Network"); +``` + +To add a WEP network: + +```java +int addedSuccessfully = mWiseFy.addWEPNetwork("WEP Network", "123456"); +``` + +To add a WPA2 network: + +```java +int addedSuccessfully = mWiseFy.addWPA2Network("WPA2 Network", "12345678"); +``` + +To remove a configured network: + +```java +boolean removedSuccessfully = mWiseFy.removeNetwork("SSID to remove"); +``` + +#### Via The Asynchronous API + +To add an open network: + +```java +mWiseFy.addOpenNetwork("Open Network", new AddOpenNetworkCallbacks() { + @Override + public void addOpenNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureAddingOpenNetwork(Integer wifiManagerReturnCode) { + + } + + @Override + public void openNetworkAdded(WifiConfiguration wifiConfiguration) { + + } +}); +``` + +To add a WEP network: + +```java +mWiseFy.addWEPNetwork("WEP Network", "123456", new AddWEPNetworkCallbacks() { + @Override + public void addWEPNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureAddingWEPNetwork(Integer wifiManagerReturnCode) { + + } + + @Override + public void wepNetworkAdded(WifiConfiguration wifiConfiguration) { + + } +}); +``` + +To add a WPA2 network: + +```java +mWiseFy.addWPA2Network("WPA2 Network", "12345678", new AddWPA2NetworkCallbacks() { + @Override + public void addWPA2NetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureAddingWPA2Network(Integer wifiManagerReturnCode) { + + } + + @Override + public void wpa2NetworkAdded(WifiConfiguration wifiConfiguration) { + + } +}); +``` + +To remove a configured network: + +```java +mWiseFy.removeNetwork("SSID to remove", new RemoveNetworkCallbacks() { + @Override + public void failureRemovingNetwork() { + + } + + @Override + public void networkNotFoundToRemove() { + + } + + @Override + public void networkRemoved() { + + } + + @Override + public void removeNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if network is already a saved configuration +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/checking_device_connectivity.md b/documentation/checking_device_connectivity.md new file mode 100644 index 00000000..8044ce76 --- /dev/null +++ b/documentation/checking_device_connectivity.md @@ -0,0 +1,31 @@ +#### Via The Synchronous API + +To check and see if the device is connected to a mobile network: + +```java +boolean isConnected = mWiseFy.isDeviceConnectedToMobileNetwork(); +``` + +To check and see if the device is connected to a mobile or wifi network: + +```java +boolean isConnected = mWiseFy.isDeviceConnectedToMobileOrWifiNetwork(); +``` + +To check and see if the device is connected to a given SSID: + +```java +boolean isConnected = mWiseFy.isDeviceConnectedToSSID("SSID"); +``` + +To check and see if the device is connected to a wifi network: + +```java +boolean isConnected = mWiseFy.isDeviceConnectedToWifiNetwork(); +``` + +To check and see if Wifi is enabled on a device: + +```java +boolean wifiEnabled = mWiseFy.isWifiEnabled(); +``` \ No newline at end of file diff --git a/documentation/connecting_and_disconnecting_from_networks.md b/documentation/connecting_and_disconnecting_from_networks.md new file mode 100644 index 00000000..81bfe652 --- /dev/null +++ b/documentation/connecting_and_disconnecting_from_networks.md @@ -0,0 +1,67 @@ +#### Via The Synchronous API + +To connect to a network given an SSID: + +```java +boolean connectedSuccessfully = mWiseFy.connectToNetwork("SSID to connect to", 30000); +``` + +To disconnect from current network: + +```java +boolean disconnectedSuccessfully = mWiseFy.disconnectFromCurrentNetwork(); +``` + +#### Via The Asynchronous API + +To connect to a network given an SSID: + +```java +mWiseFy.connectToNetwork("SSID to connect to", 30000, new ConnectToNetworkCallbacks() { + @Override + public void connectedToNetwork() { + + } + + @Override + public void connectToNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureConnectingToNetwork() { + + } + + @Override + public void networkNotFoundToConnectTo() { + + } +}); +``` + +To disconnect from current network: + +```java +mWiseFy.disconnectFromCurrentNetwork(new DisconnectFromCurrentNetworkCallbacks() { + @Override + public void disconnectedFromCurrentNetwork() { + + } + + @Override + public void disconnectFromCurrentNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureDisconnectingFromCurrentNetwork() { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/current_network.md b/documentation/current_network.md new file mode 100644 index 00000000..19833bfc --- /dev/null +++ b/documentation/current_network.md @@ -0,0 +1,30 @@ +#### Via The Synchronous API + +To get current network: + +```java +WifiInfo currentNetwork = mWiseFy.getCurrentNetwork(); +``` + +#### Via The Asynchronous API + +To get current network: + +```java +mWiseFy.getCurrentNetwork(new GetCurrentNetworkCallbacks() { + @Override + public void getCurrentNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void retrievedCurrentNetwork(WifiInfo currentNetwork) { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/enabling_and_disabling_wifi.md b/documentation/enabling_and_disabling_wifi.md new file mode 100644 index 00000000..aae3b432 --- /dev/null +++ b/documentation/enabling_and_disabling_wifi.md @@ -0,0 +1,62 @@ +#### Via The Synchronous API + +To disable wifi: + +```java +boolean disabledWifiSuccessfully = mWiseFy.disableWifi(); +``` + +To enable wifi: + +```java +boolean wifiEnabled = mWiseFy.enableWiFi(); +``` + +#### Via The Asynchronous API + +To disable wifi: + +```java +mWiseFy.disableWifi(new DisableWifiCallbacks() { + @Override + public void disableWifiWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureDisablingWifi() { + + } + + @Override + public void wifiDisabled() { + + } +}); +``` + +To enable wifi: + +```java +mWiseFy.enableWifi(new EnableWifiCallbacks() { + @Override + public void enableWifiWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void failureEnablingWifi() { + + } + + @Override + public void wifiEnabled() { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/frequency.md b/documentation/frequency.md new file mode 100644 index 00000000..445e578d --- /dev/null +++ b/documentation/frequency.md @@ -0,0 +1,75 @@ +#### Via The Synchronous API + +To get the frequency of the devices current network:

+* NOTE * Only supported on API >= 21 + +```java +int frequency = mWiseFy.getFrequency(); +``` + +To get the frequency of a network:

+* NOTE * Only supported on API >= 21 + +```java +int frequency = mWiseFy.getFrequency(wifiInfo); +``` + +To check if the device's current network is 5gHz:

+* NOTE * Only supported on API >= 21 + +```java +boolean is5gHz = mWiseFy.isNetwork5gHz(); +``` + +To check if a network is 5gHz:

+* NOTE * Only supported on API >= 21 + +```java +boolean is5gHz = mWiseFy.isNetwork5gHz(wifiInfo); +``` + +#### Via The Asynchronous API + +To get the frequency of the devices current network:

+* NOTE * Only supported on API >= 21 + +```java +mWiseFy.getFrequency(new GetFrequencyCallbacks() { + @Override + public void failureGettingFrequency() { + + } + + @Override + public void getFrequencyWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void retrievedFrequency(int frequency) { + + } +}); +``` + +To get the frequency of a network:

+* NOTE * Only supported on API >= 21 + +```java +mWiseFy.getFrequency(wifiInfo, new GetFrequencyCallbacks() { + @Override + public void failureGettingFrequency() { + + } + + @Override + public void getFrequencyWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void retrievedFrequency(int frequency) { + + } +}); +``` \ No newline at end of file diff --git a/documentation/nearby_access_points.md b/documentation/nearby_access_points.md new file mode 100644 index 00000000..c4440098 --- /dev/null +++ b/documentation/nearby_access_points.md @@ -0,0 +1,86 @@ +#### Via The Synchronous API + +To get nearby access points:

+Setting filterDuplicates to true will not return SSIDs with a weaker signal strength (will always take the highest) + +```java +List nearbyAccessPoints = mWiseFy.getNearbyAccessPoints(true); +``` + +To search for an SSID given a regex (will return first match): + +```java +String ssid = mWiseFy.searchForSSID("regex for SSID", 3000); +``` + +To search for all SSIDs matching a given regex: + +```java +List ssids = mWiseFy.searchForSSIDs("regex for SSIDs"); +``` + +#### Via The Asynchronous API + +To get all nearby access points:

+Setting filterDuplicates to true will not return SSIDs with a weaker signal strength (will always take the highest) + +```java +WiseFy.getNearbyAccessPoints(true, new GetNearbyAccessPointsCallbacks() { + @Override + public void getNearbyAccessPointsWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void retrievedNearbyAccessPoints(List nearbyAccessPoints) { + + } +}); +``` + +To search for an SSID given a regex (will return first match): + +```java +mWiseFy.searchForSSID("regex for SSID", 3000, new SearchForSSIDCallbacks() { + @Override + public void searchForSSIDWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void ssidFound(String ssid) { + + } + + @Override + public void ssidNotFound() { + + } +}); +``` + +To search for all SSIDs matching a given regex: + +```java +mWiseFy.searchForSSIDs("regex for SSIDs", new SearchForSSIDsCallbacks() { + @Override + public void searchForSSIDsWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void retrievedSSIDs(List ssids) { + + } + + @Override + public void noSSIDsFound() { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/network_security.md b/documentation/network_security.md new file mode 100644 index 00000000..2a816987 --- /dev/null +++ b/documentation/network_security.md @@ -0,0 +1,37 @@ +#### Via The Synchronous API + +To check and see if a network is secure (defined by having EAP/PSK/WPA/WPA2 capabilities): + +```java +boolean isSecure = mWiseFy.isNetworkSecure(scanResult); +``` + +To check and see if a network has EAP capabilities): + +```java +boolean hasEAPCapabilities = mWiseFy.isNetworkEAP(scanResult); +``` + +To check and see if a network has PSK capabilities): + +```java +boolean hasPSKCapabilities = mWiseFy.isNetworkPSK(scanResult); +``` + +To check and see if a network has WEP capabilities): + +```java +boolean hasWEPCapabilities = mWiseFy.isNetworkWEP(scanResult); +``` + +To check and see if a network has WPA capabilities): + +```java +boolean hasWPACapabilities = mWiseFy.isNetworkWPA(scanResult); +``` + +To check and see if a network has WPA2 capabilities): + +```java +boolean hasWPA2Capabilities = mWiseFy.isNetworkWPA2(scanResult); +``` \ No newline at end of file diff --git a/documentation/permissions_example.md b/documentation/permissions_example.md new file mode 100644 index 00000000..0aeda3a8 --- /dev/null +++ b/documentation/permissions_example.md @@ -0,0 +1,162 @@ +The `ACCESS_COARSE_LOCATION` location permission is necessary to query for nearby access points. + +First we define the permissions in the manifest: + +```xml + + + + + + +``` + +Then on the activity using WiseFy then we can start asking for permissions and handling the permission callbacks. + +```java +package wisefy_sample.isupatches.com.wisefysample.ui; + + +import android.content.pm.PackageManager; +import android.net.wifi.ScanResult; +import android.support.annotation.NonNull; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.util.Log; +import com.isupatches.wisefy.WiseFy; +import com.isupatches.wisefy.callbacks.GetNearbyAccessPointsCallbacks; +import java.util.List; +import wisefy_sample.isupatches.com.wisefysample.R; +import wisefy_sample.isupatches.com.wisefysample.constants.Permissions; +import wisefy_sample.isupatches.com.wisefysample.util.PermissionUtil; +import static android.Manifest.permission.ACCESS_COARSE_LOCATION; + + +public class MainActivity extends AppCompatActivity { + + private static final String TAG = MainActivity.class.getSimpleName(); + + private WiseFy mWiseFy; + + private PermissionUtil mPermissionUtil = PermissionUtil.getInstance(); + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + + if (checkForPermissions()) { + getNearbyAccessPoints(); + } + } + + @Override + protected void onDestroy() { + super.onDestroy(); + mWiseFy.dump(); + } + + private boolean checkForPermissions() { + return isPermissionGranted(ACCESS_COARSE_LOCATION, R.string.access_course_location_permission_rationale, Permissions.ACCESS_COARSE_LOCATION_RESULT_CODE); + } + + public boolean isPermissionGranted(String permission, int rationaleResId, int requestCode) { + if (mPermissionUtil.permissionNotGranted(this, permission)) { + if (mPermissionUtil.shouldShowPermissionRationale(this, permission)) { + // Display dialog or rationale for requesting permission here + } else { + mPermissionUtil.requestPermissions(this, new String[]{permission}, requestCode); + } + return false; + } else { + return true; + } + } + + @Override + public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[], @NonNull int[] grantResults) { + switch (requestCode) { + case Permissions.ACCESS_COARSE_LOCATION_RESULT_CODE: + if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { + Log.d(TAG, "Access course location permission granted"); + // Continue WiseFy logic here + } else { + Log.e(TAG, "Access course location permission denied"); + // Display permission error here + } + break; + default: + Log.wtf(TAG, "Weird permission requested, not handled"); + // Display permission error here + break; + } + } + + private void getNearbyAccessPoints() { + mWiseFy = new WiseFy.brains(this).logging(true).getSmarts(); + + mWiseFy.getNearbyAccessPoints(true, new GetNearbyAccessPointsCallbacks() { + @Override + public void getNearbyAccessPointsWiseFyFailure(Integer integer) { + + } + + @Override + public void retrievedNearbyAccessPoints(List list) { + // You should see this populate with results after approving the + // the ACCESS_COARSE_LOCATION permission + Log.d(TAG, "List: " + list.toString()); + } + }); + } +} +``` + +In this example, PermissionUtil is just an abstracted, shared piece of logic: + +```java +package wisefy_sample.isupatches.com.wisefysample.util; + + +import android.app.Activity; +import android.content.pm.PackageManager; +import android.support.v4.app.ActivityCompat; +import android.support.v4.content.ContextCompat; + + +public class PermissionUtil { + + private static final PermissionUtil PERMISSION_UTIL = new PermissionUtil(); + + private PermissionUtil() { + + } + + public static PermissionUtil getInstance() { + return PERMISSION_UTIL; + } + + public boolean permissionNotGranted(Activity activity, String permission) { + return ContextCompat.checkSelfPermission(activity, permission) != PackageManager.PERMISSION_GRANTED; + } + + public boolean shouldShowPermissionRationale(Activity activity, String permission) { + return ActivityCompat.shouldShowRequestPermissionRationale(activity, permission); + } + + public void requestPermissions(Activity activity, String[] permissions, int requestCode) { + ActivityCompat.requestPermissions(activity, permissions, requestCode); + } +} +``` + +And there is a class for storing constants for permission checks: + +```java +package wisefy_sample.isupatches.com.wisefysample.constants; + + +public class Permissions { + public static final int ACCESS_COARSE_LOCATION_RESULT_CODE = 1; +} +``` \ No newline at end of file diff --git a/documentation/rssi.md b/documentation/rssi.md new file mode 100644 index 00000000..5246672d --- /dev/null +++ b/documentation/rssi.md @@ -0,0 +1,47 @@ +#### Via The Synchronous API + +To calculate number of bars given a networks signal strength and total number of bars: + +```java +int bars = mWiseFy.calculateBars(-35, 5); +``` + +To compare the signal strength of two networks: + +```java +int result = mWiseFy.compareSignalLevel(-35, -70); +``` + +To get the RSSI of the first SSID matching a given regex: + +```java +Integer rssi = mWiseFy.getRSSI("regex for SSID", true, 3000); +``` + +#### Via The Asynchronous API + +To get the RSSI of the first SSID matching a given regex: + +```java +mWiseFy.getRSSI("regex for SSID", true, 3000, new GetRSSICallbacks() { + @Override + public void retrievedRSSI(Integer rssi) { + + } + + @Override + public void networkNotFoundToRetrieveRSSI() { + + } + + @Override + public void getRSSIWiseFyFailure(Integer wisefyReturnCode) { + + } +}); +``` + +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/documentation/saved_networks.md b/documentation/saved_networks.md new file mode 100644 index 00000000..415ddde9 --- /dev/null +++ b/documentation/saved_networks.md @@ -0,0 +1,92 @@ +#### Via The Synchronous API + +To get the first saved network that matches a given regex: + +```java +WifiConfiguration savedNetwork = mWiseFy.getSavedNetwork("regex for SSID"); +``` + +To retrieve all of the saved networks: + +```java +List savedNetworks = mWiseFy.getSavedNetworks(); +``` + +To return all saved networks that match a given regex: + +```java +List savedNetworks = mWiseFy.getSavedNetworks("regex for SSID"); +``` + +To check and see if a given SSID is in the devices set of configured networks: + +```java +boolean isConfigured = mWiseFy.isNetworkInConfigurationList("regex for SSID"); +``` + +#### Via The Asynchronous API + +To get the first saved network that matches a given regex: + +```java + mWiseFy.getSavedNetwork("regex for SSID", new GetSavedNetworkCallbacks() { + @Override + public void getSavedNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void savedNetworkNotFound() { + + } + + @Override + public void retrievedSavedNetwork(WifiConfiguration savedNetwork) { + + } +}); +``` +To retrieve all of the saved networks: + +```java +mWiseFy.getSavedNetworks(new GetSavedNetworksCallbacks() { + @Override + public void getSavedNetworksWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void noSavedNetworksFound() { + + } + + @Override + public void retrievedSavedNetworks(List savedNetworks) { + + } +}); +``` +To return all saved networks that match a given regex: + +```java +mWiseFy.getSavedNetwork("regex for SSID", new GetSavedNetworkCallbacks() { + @Override + public void getSavedNetworkWiseFyFailure(Integer wisefyReturnCode) { + + } + + @Override + public void savedNetworkNotFound() { + + } + + @Override + public void retrievedSavedNetwork(WifiConfiguration savedNetwork) { + + } +}); +``` +***Notes*** + +- Will return a WiseFy error code if parameter is missing +- Will return a WiseFy error code if the instance has a missing prerequisite \ No newline at end of file diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html index 77fd708d..d8c55f18 100644 --- a/javadoc/allclasses-frame.html +++ b/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - -All Classes (wisefy 1.0.10 API) - + +All Classes (wisefy 2.0.0-BETA API) + @@ -12,14 +12,40 @@

All Classes

diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html index 59b0f2e6..915cfe67 100644 --- a/javadoc/allclasses-noframe.html +++ b/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - -All Classes (wisefy 1.0.10 API) - + +All Classes (wisefy 2.0.0-BETA API) + @@ -12,14 +12,40 @@

All Classes

diff --git a/javadoc/com/isupatches/wisefy/WiseFy.brains.html b/javadoc/com/isupatches/wisefy/WiseFy.brains.html new file mode 100644 index 00000000..7dc17b9b --- /dev/null +++ b/javadoc/com/isupatches/wisefy/WiseFy.brains.html @@ -0,0 +1,320 @@ + + + + + +WiseFy.brains (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy
+

Class WiseFy.brains

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.isupatches.wisefy.WiseFy.brains
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    WiseFy
    +
    +
    +
    +
    public static class WiseFy.brains
    +extends java.lang.Object
    +
    Static class for builder pattern + + Implements builder interfaces #Logging #GetSmarts
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      brains(android.content.Context context) +
      Mandatory - The public constructor for the builder that requires a context
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      WiseFygetSmarts() +
      Mandatory - To build and return a WiseFy instance + + Must be called after brains + WiseFy.brains
      +
      WiseFy.brainslogging(boolean loggingEnabled) +
      Optional - Builder method that enables/disables logging for a WiseWy instance
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        brains

        +
        public brains(android.content.Context context)
        +
        Mandatory - The public constructor for the builder that requires a context
        +
        +
        Parameters:
        +
        context - The activity or application context to get a WifiConfiguration and + ConnectivityManager instance
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSmarts

        +
        public WiseFy getSmarts()
        +
        Mandatory - To build and return a WiseFy instance + + Must be called after brains + WiseFy.brains
        +
        +
        Returns:
        +
        WiseFy - The instance created by the builder
        +
        +
      • +
      + + + +
        +
      • +

        logging

        +
        public WiseFy.brains logging(boolean loggingEnabled)
        +
        Optional - Builder method that enables/disables logging for a WiseWy instance
        +
        +
        Parameters:
        +
        loggingEnabled - If logging is enabled or disabled for an instance + Logging
        +
        Returns:
        +
        brains - The builder with updated logging setting
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/WiseFy.html b/javadoc/com/isupatches/wisefy/WiseFy.html index 8b08d5cf..52fd8017 100644 --- a/javadoc/com/isupatches/wisefy/WiseFy.html +++ b/javadoc/com/isupatches/wisefy/WiseFy.html @@ -2,9 +2,9 @@ - -WiseFy (wisefy 1.0.10 API) - + +WiseFy (wisefy 2.0.0-BETA API) + @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ + + + + + + + + + +
+
com.isupatches.wisefy
+

Class WiseFyApplication

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.content.Context
    • +
    • +
        +
      • android.content.ContextWrapper
      • +
      • +
          +
        • android.app.Application
        • +
        • +
            +
          • com.isupatches.wisefy.WiseFyApplication
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2
    +
    +
    +
    +
    public class WiseFyApplication
    +extends android.app.Application
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class android.app.Application

        +android.app.Application.ActivityLifecycleCallbacks, android.app.Application.OnProvideAssistDataListener
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class android.content.Context

        +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
      • +
      +
        +
      • + + +

        Fields inherited from interface android.content.ComponentCallbacks2

        +TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      WiseFyApplication() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidonCreate() 
      +
        +
      • + + +

        Methods inherited from class android.app.Application

        +onConfigurationChanged, onLowMemory, onTerminate, onTrimMemory, registerActivityLifecycleCallbacks, registerComponentCallbacks, registerOnProvideAssistDataListener, unregisterActivityLifecycleCallbacks, unregisterComponentCallbacks, unregisterOnProvideAssistDataListener
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.ContextWrapper

        +attachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, clearWallpaper, createConfigurationContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getSystemService, getSystemServiceName, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startForegroundService, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiver
      • +
      +
        +
      • + + +

        Methods inherited from class android.content.Context

        +getColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WiseFyApplication

        +
        public WiseFyApplication()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onCreate

        +
        public void onCreate()
        +
        +
        Overrides:
        +
        onCreate in class android.app.Application
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/Async.html b/javadoc/com/isupatches/wisefy/annotations/Async.html new file mode 100644 index 00000000..8c5c59be --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/Async.html @@ -0,0 +1,165 @@ + + + + + +Async (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.annotations
+

Annotation Type Async

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Inherited
    + @Retention(value=RUNTIME)
    +public @interface Async
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/CallingThread.html b/javadoc/com/isupatches/wisefy/annotations/CallingThread.html new file mode 100644 index 00000000..d04bd184 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/CallingThread.html @@ -0,0 +1,165 @@ + + + + + +CallingThread (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.annotations
+

Annotation Type CallingThread

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Inherited
    + @Retention(value=RUNTIME)
    +public @interface CallingThread
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/Sync.html b/javadoc/com/isupatches/wisefy/annotations/Sync.html new file mode 100644 index 00000000..ba2fd155 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/Sync.html @@ -0,0 +1,165 @@ + + + + + +Sync (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.annotations
+

Annotation Type Sync

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Inherited
    + @Retention(value=RUNTIME)
    +public @interface Sync
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/WaitsForTimeout.html b/javadoc/com/isupatches/wisefy/annotations/WaitsForTimeout.html new file mode 100644 index 00000000..67893480 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/WaitsForTimeout.html @@ -0,0 +1,165 @@ + + + + + +WaitsForTimeout (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.annotations
+

Annotation Type WaitsForTimeout

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Inherited
    + @Retention(value=RUNTIME)
    +public @interface WaitsForTimeout
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/WiseFyThread.html b/javadoc/com/isupatches/wisefy/annotations/WiseFyThread.html new file mode 100644 index 00000000..bee5abe7 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/WiseFyThread.html @@ -0,0 +1,165 @@ + + + + + +WiseFyThread (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.annotations
+

Annotation Type WiseFyThread

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Inherited
    + @Retention(value=RUNTIME)
    +public @interface WiseFyThread
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/package-frame.html b/javadoc/com/isupatches/wisefy/annotations/package-frame.html new file mode 100644 index 00000000..7f20f060 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/package-frame.html @@ -0,0 +1,24 @@ + + + + + +com.isupatches.wisefy.annotations (wisefy 2.0.0-BETA API) + + + + + +

com.isupatches.wisefy.annotations

+
+

Annotation Types

+ +
+ + diff --git a/javadoc/com/isupatches/wisefy/annotations/package-summary.html b/javadoc/com/isupatches/wisefy/annotations/package-summary.html new file mode 100644 index 00000000..db6d0aa3 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/package-summary.html @@ -0,0 +1,156 @@ + + + + + +com.isupatches.wisefy.annotations (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Package com.isupatches.wisefy.annotations

+
+
+ +
+ + + + + + diff --git a/javadoc/com/isupatches/wisefy/annotations/package-tree.html b/javadoc/com/isupatches/wisefy/annotations/package-tree.html new file mode 100644 index 00000000..c146db60 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/annotations/package-tree.html @@ -0,0 +1,135 @@ + + + + + +com.isupatches.wisefy.annotations Class Hierarchy (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Hierarchy For Package com.isupatches.wisefy.annotations

+Package Hierarchies: + +
+
+

Annotation Type Hierarchy

+
    +
  • com.isupatches.wisefy.annotations.WaitsForTimeout (implements java.lang.annotation.Annotation)
  • +
  • com.isupatches.wisefy.annotations.WiseFyThread (implements java.lang.annotation.Annotation)
  • +
  • com.isupatches.wisefy.annotations.Sync (implements java.lang.annotation.Annotation)
  • +
  • com.isupatches.wisefy.annotations.Async (implements java.lang.annotation.Annotation)
  • +
  • com.isupatches.wisefy.annotations.CallingThread (implements java.lang.annotation.Annotation)
  • +
+
+ + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/AddOpenNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/AddOpenNetworkCallbacks.html new file mode 100644 index 00000000..45702e88 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/AddOpenNetworkCallbacks.html @@ -0,0 +1,245 @@ + + + + + +AddOpenNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface AddOpenNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface AddOpenNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addOpenNetworkWiseFyFailure

        +
        void addOpenNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureAddingOpenNetwork

        +
        void failureAddingOpenNetwork(java.lang.Integer wifiManagerReturnCode)
        +
      • +
      + + + +
        +
      • +

        openNetworkAdded

        +
        void openNetworkAdded(android.net.wifi.WifiConfiguration wifiConfiguration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/AddWEPNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/AddWEPNetworkCallbacks.html new file mode 100644 index 00000000..8bf41cb5 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/AddWEPNetworkCallbacks.html @@ -0,0 +1,245 @@ + + + + + +AddWEPNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface AddWEPNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface AddWEPNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addWEPNetworkWiseFyFailure

        +
        void addWEPNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureAddingWEPNetwork

        +
        void failureAddingWEPNetwork(java.lang.Integer wifiManagerReturnCode)
        +
      • +
      + + + +
        +
      • +

        wepNetworkAdded

        +
        void wepNetworkAdded(android.net.wifi.WifiConfiguration wifiConfiguration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/AddWPA2NetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/AddWPA2NetworkCallbacks.html new file mode 100644 index 00000000..5391aeb0 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/AddWPA2NetworkCallbacks.html @@ -0,0 +1,245 @@ + + + + + +AddWPA2NetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface AddWPA2NetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface AddWPA2NetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addWPA2NetworkWiseFyFailure

        +
        void addWPA2NetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureAddingWPA2Network

        +
        void failureAddingWPA2Network(java.lang.Integer wifiManagerReturnCode)
        +
      • +
      + + + +
        +
      • +

        wpa2NetworkAdded

        +
        void wpa2NetworkAdded(android.net.wifi.WifiConfiguration wifiConfiguration)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/ConnectToNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/ConnectToNetworkCallbacks.html new file mode 100644 index 00000000..8c8060c5 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/ConnectToNetworkCallbacks.html @@ -0,0 +1,258 @@ + + + + + +ConnectToNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface ConnectToNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface ConnectToNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        connectedToNetwork

        +
        void connectedToNetwork()
        +
      • +
      + + + +
        +
      • +

        connectToNetworkWiseFyFailure

        +
        void connectToNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureConnectingToNetwork

        +
        void failureConnectingToNetwork()
        +
      • +
      + + + +
        +
      • +

        networkNotFoundToConnectTo

        +
        void networkNotFoundToConnectTo()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/DisableWifiCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/DisableWifiCallbacks.html new file mode 100644 index 00000000..5776db93 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/DisableWifiCallbacks.html @@ -0,0 +1,245 @@ + + + + + +DisableWifiCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface DisableWifiCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface DisableWifiCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        disableWifiWiseFyFailure

        +
        void disableWifiWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureDisablingWifi

        +
        void failureDisablingWifi()
        +
      • +
      + + + +
        +
      • +

        wifiDisabled

        +
        void wifiDisabled()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/DisconnectFromCurrentNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/DisconnectFromCurrentNetworkCallbacks.html new file mode 100644 index 00000000..90fdbd9d --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/DisconnectFromCurrentNetworkCallbacks.html @@ -0,0 +1,245 @@ + + + + + +DisconnectFromCurrentNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface DisconnectFromCurrentNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface DisconnectFromCurrentNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        disconnectedFromCurrentNetwork

        +
        void disconnectedFromCurrentNetwork()
        +
      • +
      + + + +
        +
      • +

        disconnectFromCurrentNetworkWiseFyFailure

        +
        void disconnectFromCurrentNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureDisconnectingFromCurrentNetwork

        +
        void failureDisconnectingFromCurrentNetwork()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/EnableWifiCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/EnableWifiCallbacks.html new file mode 100644 index 00000000..1793c1aa --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/EnableWifiCallbacks.html @@ -0,0 +1,245 @@ + + + + + +EnableWifiCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface EnableWifiCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface EnableWifiCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        enableWifiWiseFyFailure

        +
        void enableWifiWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        failureEnablingWifi

        +
        void failureEnablingWifi()
        +
      • +
      + + + +
        +
      • +

        wifiEnabled

        +
        void wifiEnabled()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetCurrentNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetCurrentNetworkCallbacks.html new file mode 100644 index 00000000..3c4c9db2 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetCurrentNetworkCallbacks.html @@ -0,0 +1,232 @@ + + + + + +GetCurrentNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetCurrentNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetCurrentNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCurrentNetworkWiseFyFailure

        +
        void getCurrentNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        retrievedCurrentNetwork

        +
        void retrievedCurrentNetwork(android.net.wifi.WifiInfo currentNetwork)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetFrequencyCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetFrequencyCallbacks.html new file mode 100644 index 00000000..5adef753 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetFrequencyCallbacks.html @@ -0,0 +1,245 @@ + + + + + +GetFrequencyCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetFrequencyCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetFrequencyCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        failureGettingFrequency

        +
        void failureGettingFrequency()
        +
      • +
      + + + +
        +
      • +

        getFrequencyWiseFyFailure

        +
        void getFrequencyWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        retrievedFrequency

        +
        void retrievedFrequency(int frequency)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetNearbyAccessPointsCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetNearbyAccessPointsCallbacks.html new file mode 100644 index 00000000..d925fc24 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetNearbyAccessPointsCallbacks.html @@ -0,0 +1,232 @@ + + + + + +GetNearbyAccessPointsCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetNearbyAccessPointsCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetNearbyAccessPointsCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNearbyAccessPointsWiseFyFailure

        +
        void getNearbyAccessPointsWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        retrievedNearbyAccessPoints

        +
        void retrievedNearbyAccessPoints(java.util.List<android.net.wifi.ScanResult> nearbyAccessPoints)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetRSSICallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetRSSICallbacks.html new file mode 100644 index 00000000..1141feea --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetRSSICallbacks.html @@ -0,0 +1,245 @@ + + + + + +GetRSSICallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetRSSICallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetRSSICallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        retrievedRSSI

        +
        void retrievedRSSI(java.lang.Integer rssi)
        +
      • +
      + + + +
        +
      • +

        networkNotFoundToRetrieveRSSI

        +
        void networkNotFoundToRetrieveRSSI()
        +
      • +
      + + + +
        +
      • +

        getRSSIWiseFyFailure

        +
        void getRSSIWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworkCallbacks.html new file mode 100644 index 00000000..e53ddfae --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworkCallbacks.html @@ -0,0 +1,245 @@ + + + + + +GetSavedNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetSavedNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetSavedNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSavedNetworkWiseFyFailure

        +
        void getSavedNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        savedNetworkNotFound

        +
        void savedNetworkNotFound()
        +
      • +
      + + + +
        +
      • +

        retrievedSavedNetwork

        +
        void retrievedSavedNetwork(android.net.wifi.WifiConfiguration savedNetwork)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworksCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworksCallbacks.html new file mode 100644 index 00000000..2bab65fc --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/GetSavedNetworksCallbacks.html @@ -0,0 +1,232 @@ + + + + + +GetSavedNetworksCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface GetSavedNetworksCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface GetSavedNetworksCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSavedNetworksWiseFyFailure

        +
        void getSavedNetworksWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        retrievedSavedNetworks

        +
        void retrievedSavedNetworks(java.util.List<android.net.wifi.WifiConfiguration> savedNetworks)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/RemoveNetworkCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/RemoveNetworkCallbacks.html new file mode 100644 index 00000000..628a6030 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/RemoveNetworkCallbacks.html @@ -0,0 +1,258 @@ + + + + + +RemoveNetworkCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface RemoveNetworkCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface RemoveNetworkCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        failureRemovingNetwork

        +
        void failureRemovingNetwork()
        +
      • +
      + + + +
        +
      • +

        networkNotFoundToRemove

        +
        void networkNotFoundToRemove()
        +
      • +
      + + + +
        +
      • +

        networkRemoved

        +
        void networkRemoved()
        +
      • +
      + + + +
        +
      • +

        removeNetworkWiseFyFailure

        +
        void removeNetworkWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointCallbacks.html new file mode 100644 index 00000000..39842ccd --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointCallbacks.html @@ -0,0 +1,245 @@ + + + + + +SearchForAccessPointCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface SearchForAccessPointCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface SearchForAccessPointCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        searchForAccessPointWiseFyFailure

        +
        void searchForAccessPointWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        accessPointFound

        +
        void accessPointFound(android.net.wifi.ScanResult network)
        +
      • +
      + + + +
        +
      • +

        accessPointNotFound

        +
        void accessPointNotFound()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointsCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointsCallbacks.html new file mode 100644 index 00000000..b15e70bc --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/SearchForAccessPointsCallbacks.html @@ -0,0 +1,245 @@ + + + + + +SearchForAccessPointsCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface SearchForAccessPointsCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface SearchForAccessPointsCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        searchForAccessPointsWiseFyFailure

        +
        void searchForAccessPointsWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        foundNetworks

        +
        void foundNetworks(java.util.List<android.net.wifi.ScanResult> networks)
        +
      • +
      + + + +
        +
      • +

        noNetworksFound

        +
        void noNetworksFound()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDCallbacks.html new file mode 100644 index 00000000..144b7d8a --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDCallbacks.html @@ -0,0 +1,245 @@ + + + + + +SearchForSSIDCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface SearchForSSIDCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface SearchForSSIDCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        searchForSSIDWiseFyFailure

        +
        void searchForSSIDWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        ssidFound

        +
        void ssidFound(java.lang.String ssid)
        +
      • +
      + + + +
        +
      • +

        ssidNotFound

        +
        void ssidNotFound()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDsCallbacks.html b/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDsCallbacks.html new file mode 100644 index 00000000..fc433f0d --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/SearchForSSIDsCallbacks.html @@ -0,0 +1,245 @@ + + + + + +SearchForSSIDsCallbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + + +
+
com.isupatches.wisefy.callbacks
+

Interface SearchForSSIDsCallbacks

+
+
+
+
    +
  • +
    +
    +
    public interface SearchForSSIDsCallbacks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        searchForSSIDsWiseFyFailure

        +
        void searchForSSIDsWiseFyFailure(java.lang.Integer wisefyReturnCode)
        +
      • +
      + + + +
        +
      • +

        retrievedSSIDs

        +
        void retrievedSSIDs(java.util.List<java.lang.String> ssids)
        +
      • +
      + + + +
        +
      • +

        noSSIDsFound

        +
        void noSSIDsFound()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/package-frame.html b/javadoc/com/isupatches/wisefy/callbacks/package-frame.html new file mode 100644 index 00000000..1cb19204 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/package-frame.html @@ -0,0 +1,37 @@ + + + + + +com.isupatches.wisefy.callbacks (wisefy 2.0.0-BETA API) + + + + + +

com.isupatches.wisefy.callbacks

+ + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/package-summary.html b/javadoc/com/isupatches/wisefy/callbacks/package-summary.html new file mode 100644 index 00000000..384eb766 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/package-summary.html @@ -0,0 +1,208 @@ + + + + + +com.isupatches.wisefy.callbacks (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Package com.isupatches.wisefy.callbacks

+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/callbacks/package-tree.html b/javadoc/com/isupatches/wisefy/callbacks/package-tree.html new file mode 100644 index 00000000..766cdd5c --- /dev/null +++ b/javadoc/com/isupatches/wisefy/callbacks/package-tree.html @@ -0,0 +1,148 @@ + + + + + +com.isupatches.wisefy.callbacks Class Hierarchy (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Hierarchy For Package com.isupatches.wisefy.callbacks

+Package Hierarchies: + +
+
+

Interface Hierarchy

+ +
+ + + + + + diff --git a/javadoc/com/isupatches/wisefy/constants/Capabilities.html b/javadoc/com/isupatches/wisefy/constants/Capabilities.html index d24d4abd..c0f4b273 100644 --- a/javadoc/com/isupatches/wisefy/constants/Capabilities.html +++ b/javadoc/com/isupatches/wisefy/constants/Capabilities.html @@ -2,9 +2,9 @@ - -Capabilities (wisefy 1.0.10 API) - + +Capabilities (wisefy 2.0.0-BETA API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ diff --git a/javadoc/com/isupatches/wisefy/constants/package-summary.html b/javadoc/com/isupatches/wisefy/constants/package-summary.html index b47a13cf..480a3e98 100644 --- a/javadoc/com/isupatches/wisefy/constants/package-summary.html +++ b/javadoc/com/isupatches/wisefy/constants/package-summary.html @@ -2,9 +2,9 @@ - -com.isupatches.wisefy.constants (wisefy 1.0.10 API) - + +com.isupatches.wisefy.constants (wisefy 2.0.0-BETA API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -14,7 +14,7 @@

Classes

diff --git a/javadoc/com/isupatches/wisefy/package-summary.html b/javadoc/com/isupatches/wisefy/package-summary.html index 527b5c17..8c77fbe4 100644 --- a/javadoc/com/isupatches/wisefy/package-summary.html +++ b/javadoc/com/isupatches/wisefy/package-summary.html @@ -2,9 +2,9 @@ - -com.isupatches.wisefy (wisefy 1.0.10 API) - + +com.isupatches.wisefy (wisefy 2.0.0-BETA API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ + + + + + + + + + +
+
com.isupatches.wisefy.threads
+

Class WiseFyHandlerThread

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Thread
    • +
    • +
        +
      • android.os.HandlerThread
      • +
      • +
          +
        • com.isupatches.wisefy.threads.WiseFyHandlerThread
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Runnable
    +
    +
    +
    +
    public class WiseFyHandlerThread
    +extends android.os.HandlerThread
    +
    A Thread to use for all WiseFy background processing + + *NOTE* Must be cleaned!! WiseFy.dump()
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.lang.Thread

        +java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringTAG 
      +
        +
      • + + +

        Fields inherited from class java.lang.Thread

        +MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      WiseFyHandlerThread(java.lang.String name, + boolean loggingEnabled) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanquit() 
      voidstart() 
      +
        +
      • + + +

        Methods inherited from class android.os.HandlerThread

        +getLooper, getThreadId, onLooperPrepared, quitSafely, run
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Thread

        +activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        TAG

        +
        public static final java.lang.String TAG
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WiseFyHandlerThread

        +
        public WiseFyHandlerThread(java.lang.String name,
        +                           boolean loggingEnabled)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        start

        +
        public void start()
        +
        +
        Overrides:
        +
        start in class java.lang.Thread
        +
        +
      • +
      + + + +
        +
      • +

        quit

        +
        public boolean quit()
        +
        +
        Overrides:
        +
        quit in class android.os.HandlerThread
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/javadoc/com/isupatches/wisefy/threads/package-frame.html b/javadoc/com/isupatches/wisefy/threads/package-frame.html new file mode 100644 index 00000000..8c6fac4c --- /dev/null +++ b/javadoc/com/isupatches/wisefy/threads/package-frame.html @@ -0,0 +1,20 @@ + + + + + +com.isupatches.wisefy.threads (wisefy 2.0.0-BETA API) + + + + + +

com.isupatches.wisefy.threads

+
+

Classes

+ +
+ + diff --git a/javadoc/com/isupatches/wisefy/threads/package-summary.html b/javadoc/com/isupatches/wisefy/threads/package-summary.html new file mode 100644 index 00000000..492633eb --- /dev/null +++ b/javadoc/com/isupatches/wisefy/threads/package-summary.html @@ -0,0 +1,144 @@ + + + + + +com.isupatches.wisefy.threads (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Package com.isupatches.wisefy.threads

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    WiseFyHandlerThread +
    A Thread to use for all WiseFy background processing + + *NOTE* Must be cleaned!! WiseFy.dump()
    +
    +
  • +
+
+ + + + + + diff --git a/javadoc/com/isupatches/wisefy/threads/package-tree.html b/javadoc/com/isupatches/wisefy/threads/package-tree.html new file mode 100644 index 00000000..fb56a515 --- /dev/null +++ b/javadoc/com/isupatches/wisefy/threads/package-tree.html @@ -0,0 +1,143 @@ + + + + + +com.isupatches.wisefy.threads Class Hierarchy (wisefy 2.0.0-BETA API) + + + + + + + + + + + +
+

Hierarchy For Package com.isupatches.wisefy.threads

+Package Hierarchies: + +
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Thread (implements java.lang.Runnable) + +
    • +
    +
  • +
+
+ + + + + + diff --git a/javadoc/com/isupatches/wisefy/util/LogUtil.html b/javadoc/com/isupatches/wisefy/util/LogUtil.html index 74358849..7b069369 100644 --- a/javadoc/com/isupatches/wisefy/util/LogUtil.html +++ b/javadoc/com/isupatches/wisefy/util/LogUtil.html @@ -2,9 +2,9 @@ - -LogUtil (wisefy 1.0.10 API) - + +LogUtil (wisefy 2.0.0-BETA API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,18 +12,12 @@