├── app ├── .gitignore ├── src │ ├── main │ │ ├── ic_tracker-web.png │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── aa.png │ │ │ │ ├── aaa.png │ │ │ │ ├── cap.png │ │ │ │ ├── dd.jpg │ │ │ │ ├── lgo.png │ │ │ │ ├── s.jpeg │ │ │ │ ├── signin.png │ │ │ │ ├── signup.png │ │ │ │ ├── background.jpg │ │ │ │ ├── circle.xml │ │ │ │ ├── ic_tracker.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── font │ │ │ │ ├── bigjhon.otf │ │ │ │ ├── slimjoe.otf │ │ │ │ ├── zonaprobold.otf │ │ │ │ └── zonaproextralight.otf │ │ │ ├── drawable-v24 │ │ │ │ ├── signin.png │ │ │ │ ├── signup.png │ │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_tracker.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_trackers.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_tracker_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_tracker.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_trackers.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_tracker_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_tracker.png │ │ │ │ ├── ic_trackers.png │ │ │ │ ├── ic_tracker_round.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_tracker.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_trackers.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_tracker_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_tracker.png │ │ │ │ ├── ic_trackers.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_tracker_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_tracker.xml │ │ │ │ ├── ic_tracker_round.xml │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ ├── activity_anotheone.xml │ │ │ │ ├── activity_splash.xml │ │ │ │ ├── activity_home.xml │ │ │ │ └── activity_signin.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── choicemartstore │ │ │ │ └── computerzone │ │ │ │ └── dtracker │ │ │ │ ├── Splash.java │ │ │ │ ├── Home.java │ │ │ │ ├── signin.java │ │ │ │ ├── NewTracker.java │ │ │ │ ├── Anotheone.java │ │ │ │ └── TrackerService.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── choicemartstore │ │ │ └── computerzone │ │ │ └── dtracker │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── choicemartstore │ │ └── computerzone │ │ └── dtracker │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── caches │ ├── gradle_models.ser │ └── build_file_checksums.ser ├── encodings.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /.idea/caches/gradle_models.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/.idea/caches/gradle_models.ser -------------------------------------------------------------------------------- /app/src/main/ic_tracker-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/ic_tracker-web.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/aa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/aa.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/aaa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/aaa.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/cap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/cap.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/dd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/dd.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/lgo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/lgo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/s.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/s.jpeg -------------------------------------------------------------------------------- /app/src/main/res/font/bigjhon.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/font/bigjhon.otf -------------------------------------------------------------------------------- /app/src/main/res/font/slimjoe.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/font/slimjoe.otf -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /app/src/main/res/drawable/signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/signin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/signup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/signup.png -------------------------------------------------------------------------------- /app/src/main/res/font/zonaprobold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/font/zonaprobold.otf -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable-v24/signin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/signup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable-v24/signup.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/drawable/background.jpg -------------------------------------------------------------------------------- /app/src/main/res/font/zonaproextralight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/font/zonaproextralight.otf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-hdpi/ic_tracker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-mdpi/ic_tracker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_trackers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-hdpi/ic_trackers.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_trackers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-mdpi/ic_trackers.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xhdpi/ic_tracker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_trackers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xhdpi/ic_trackers.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tracker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_trackers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxhdpi/ic_trackers.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_tracker.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_trackers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_trackers.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_tracker_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-hdpi/ic_tracker_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_tracker_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-mdpi/ic_tracker_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_tracker_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xhdpi/ic_tracker_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tracker_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tracker_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_tracker_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raja0sama/Tracker-APP/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_tracker_round.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.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 | /app/google-services.json -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat May 19 10:42:13 PKT 2018 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-4.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_tracker.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_tracker_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #232B3E 4 | #01d08e 5 | #232B3E 6 | #ffffff 7 | #FF4081 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_anotheone.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/test/java/com/choicemartstore/computerzone/dtracker/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.choicemartstore.computerzone.dtracker; 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 | } -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tracker App 2 | 3 | 4 | This is Based on Java and it requires firebase. 5 | To Get it to work on your system as well, follow the instructions. 6 | 7 | - Clone the Project 8 | - Create a Firebase Account and enable Authentication for email and password. 9 | - Get your google_serivce.json file for android and add it to app folder of the App. 10 | - Run the App. 11 | 12 | ### To View the Results you need my flutter Display Tracker App. 13 | 14 | GitHub Repo : super-sami.com(Link Comming Soon) 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_tracker.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/choicemartstore/computerzone/dtracker/Splash.java: -------------------------------------------------------------------------------- 1 | package com.choicemartstore.computerzone.dtracker; 2 | 3 | import android.content.Intent; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.os.Bundle; 6 | 7 | import java.util.Timer; 8 | import java.util.TimerTask; 9 | 10 | public class Splash extends AppCompatActivity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | setContentView(R.layout.activity_splash); 16 | timer(); 17 | 18 | } 19 | public void timer(){ 20 | startActivity(new Intent(getApplicationContext(), signin.class)); 21 | finish(); 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 20 | 21 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | DTracker 3 | Latitude 4 | Longitude 5 | Last location update time 6 | 7 | Start updates 8 | Stop updates 9 | 10 | The location settings on the device are not 11 | adequate to run this sample. Fix in Settings. 12 | 13 | Location permission is needed for core functionality 14 | Permission was denied, but is needed for core 15 | functionality. 16 | Settings 17 | 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/choicemartstore/computerzone/dtracker/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.choicemartstore.computerzone.dtracker; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.choicemartstore.computerzone.dtracker", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'io.fabric' 3 | 4 | android { 5 | compileSdkVersion 26 6 | defaultConfig { 7 | applicationId "com.choicemartstore.computerzone.dtracker" 8 | minSdkVersion 16 9 | targetSdkVersion 26 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation 'com.android.support:appcompat-v7:26.1.0' 24 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' 25 | implementation 'com.google.firebase:firebase-database:12.0.1' 26 | implementation 'com.google.firebase:firebase-storage:12.0.1' 27 | implementation 'com.google.firebase:firebase-auth:12.0.1' 28 | compile 'de.hdodenhof:circleimageview:1.2.1' 29 | implementation 'com.google.android.gms:play-services-location:12.0.1' 30 | testImplementation 'junit:junit:4.12' 31 | androidTestImplementation 'com.android.support.test:runner:1.0.1' 32 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' 33 | implementation 'com.crashlytics.sdk.android:crashlytics:2.9.1' 34 | } 35 | 36 | 37 | 38 | 39 | 40 | apply plugin: 'com.google.gms.google-services' -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 15 | 16 | 22 | > 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |