├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable-v21 │ │ │ │ ├── geo_marker.png │ │ │ │ ├── ic_menu_send.xml │ │ │ │ ├── ic_menu_slideshow.xml │ │ │ │ ├── ic_menu_gallery.xml │ │ │ │ ├── ic_menu_manage.xml │ │ │ │ ├── ic_menu_camera.xml │ │ │ │ └── ic_menu_share.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-hdpi │ │ │ │ └── geo_marker.png │ │ │ ├── drawable-mdpi │ │ │ │ └── geo_marker.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── geo_marker.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── geo_marker.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ └── geo_marker.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable │ │ │ │ └── side_nav_bar.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── drawables.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── menu │ │ │ │ ├── activity_main_drawer.xml │ │ │ │ └── main.xml │ │ │ └── layout │ │ │ │ ├── activity_main.xml │ │ │ │ ├── nav_header_main.xml │ │ │ │ ├── fragment_learn.xml │ │ │ │ ├── app_bar_main.xml │ │ │ │ ├── fragment_track.xml │ │ │ │ ├── wifi_list_item.xml │ │ │ │ └── fragment_settings.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── find │ │ │ │ └── wifitool │ │ │ │ ├── OnFragmentInteractionListener.java │ │ │ │ ├── httpCalls │ │ │ │ ├── FindWiFi.java │ │ │ │ ├── HttpCallback.java │ │ │ │ └── FindWiFiImpl.java │ │ │ │ ├── wifi │ │ │ │ ├── WifiObject.java │ │ │ │ ├── WifiArrayAdapter.java │ │ │ │ ├── WifiData.java │ │ │ │ ├── WifiDataNetwork.java │ │ │ │ └── WifiIntentReceiver.java │ │ │ │ ├── database │ │ │ │ ├── Event.java │ │ │ │ └── InternalDataBase.java │ │ │ │ ├── internal │ │ │ │ ├── Utils.java │ │ │ │ └── Constants.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── TrackFragment.java │ │ │ │ ├── LearnFragment.java │ │ │ │ └── SettingsFragment.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── find │ │ │ └── wifitool │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── find │ │ └── wifitool │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── screenshots ├── learn.png ├── track.png ├── create.png ├── settings.png └── nav-header.png ├── .idea ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── LICENSE ├── gradlew.bat ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /screenshots/learn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/screenshots/learn.png -------------------------------------------------------------------------------- /screenshots/track.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/screenshots/track.png -------------------------------------------------------------------------------- /screenshots/create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/screenshots/create.png -------------------------------------------------------------------------------- /screenshots/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/screenshots/settings.png -------------------------------------------------------------------------------- /screenshots/nav-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/screenshots/nav-header.png -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-v21/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-hdpi/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-mdpi/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-xhdpi/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-xxhdpi/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/geo_marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/drawable-xxxhdpi/geo_marker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uncleashi/find-client-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/find/wifitool/OnFragmentInteractionListener.java: -------------------------------------------------------------------------------- 1 | package com.find.wifitool; 2 | 3 | import android.net.Uri; 4 | 5 | /** 6 | * Created by akshay on 30/12/16. 7 | */ 8 | 9 | public interface OnFragmentInteractionListener { 10 | 11 | void onFragmentInteraction(Uri uri); 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_send.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #e51717 4 | #b90808 5 | #e51717 6 | #b20909 7 | 8 | #BDBDBD 9 | #4CAF50 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_slideshow.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_gallery.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/test/java/com/find/wifitool/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.find.wifitool; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_manage.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/find/wifitool/httpCalls/FindWiFi.java: -------------------------------------------------------------------------------- 1 | package com.find.wifitool.httpCalls; 2 | 3 | import com.squareup.okhttp.Callback; 4 | 5 | import org.json.JSONObject; 6 | 7 | /** 8 | * Created by akshay on 30/12/16. 9 | */ 10 | 11 | /** 12 | * Asynchronous HTTP library for the Find API. 13 | */ 14 | public interface FindWiFi { 15 | 16 | /** 17 | * Track 18 | */ 19 | void findTrack(Callback callback, String serverAddr, JSONObject requestBody); 20 | 21 | /** 22 | * Learn 23 | */ 24 | void findLearn(Callback callback, String serverAddr, JSONObject requestBody); 25 | } 26 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | @android:drawable/ic_menu_camera 3 | @android:drawable/ic_menu_gallery 4 | @android:drawable/ic_menu_slideshow 5 | @android:drawable/ic_menu_manage 6 | @android:drawable/ic_menu_share 7 | @android:drawable/ic_menu_send 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_camera.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 160dp 5 | 6 | 16dp 7 | 16dp 8 | 16dp 9 | 250dp 10 | 64dp 11 | 16dp 12 | 13 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/akshay/Android/Sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/activity_main_drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 13 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/ic_menu_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/find/wifitool/wifi/WifiObject.java: -------------------------------------------------------------------------------- 1 | package com.find.wifitool.wifi; 2 | 3 | import android.os.Parcel; 4 | import android.os.Parcelable; 5 | 6 | /** 7 | * Created by akshay on 31/12/16. 8 | */ 9 | 10 | public class WifiObject implements Parcelable { 11 | 12 | public String wifiName; 13 | public String grpName; 14 | public String userName; 15 | 16 | // constructor 17 | public WifiObject(String wifi, String group, String user) { 18 | this.wifiName = wifi; 19 | this.grpName = group; 20 | this.userName = user; 21 | } 22 | 23 | @Override 24 | public int describeContents() { 25 | return 0; 26 | } 27 | 28 | @Override 29 | public void writeToParcel(Parcel dest, int flags) { 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |