├── GPS_APP ├── app │ ├── .gitignore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── drawable │ │ │ │ │ ├── btn_pressed.xml │ │ │ │ │ ├── btn_unpressed.xml │ │ │ │ │ ├── side_nav_bar.xml │ │ │ │ │ ├── ic_check_black_24dp.xml │ │ │ │ │ ├── ic_file_download_black_24dp.xml │ │ │ │ │ ├── ic_fiber_manual_record_black_24dp.xml │ │ │ │ │ ├── ic_dashboard_black_24dp.xml │ │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ │ ├── ic_close_black_24dp.xml │ │ │ │ │ ├── ic_map_marker_24dp.xml │ │ │ │ │ ├── ic_textsms_black_24dp.xml │ │ │ │ │ ├── ic_location_on_black_24dp.xml │ │ │ │ │ ├── ic_bluetooth_black_24dp.xml │ │ │ │ │ ├── ic_refresh_black_24dp.xml │ │ │ │ │ ├── status_off.xml │ │ │ │ │ ├── ic_do_not_disturb_alt_black_24dp.xml │ │ │ │ │ ├── status_on.xml │ │ │ │ │ ├── ic_link_black_24dp.xml │ │ │ │ │ ├── ic_sync_black_24dp.xml │ │ │ │ │ ├── ic_gps_not_fixed_black_24dp.xml │ │ │ │ │ ├── ic_map_black_24dp.xml │ │ │ │ │ ├── ic_assignment_black_24dp.xml │ │ │ │ │ ├── info_boarder.xml │ │ │ │ │ ├── ic_gps_fixed_black_24dp.xml │ │ │ │ │ ├── ic_location_off_black_24dp.xml │ │ │ │ │ ├── ic_bluetooth_searching_black_24dp.xml │ │ │ │ │ ├── action_button.xml │ │ │ │ │ ├── ic_gps_off_black_24dp.xml │ │ │ │ │ ├── ic_sync_disabled_black_24dp.xml │ │ │ │ │ └── ic_settings_black_24dp.xml │ │ │ │ ├── values-v21 │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ │ ├── ic_launcher.xml │ │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── menu │ │ │ │ │ ├── ble_menu.xml │ │ │ │ │ ├── main_menu.xml │ │ │ │ │ ├── nav_header_main.xml │ │ │ │ │ ├── activity_main_drawer.xml │ │ │ │ │ └── app_bar_main.xml │ │ │ │ ├── layout │ │ │ │ │ ├── fragment_home_second.xml │ │ │ │ │ ├── fragment_setting.xml │ │ │ │ │ ├── content_main.xml │ │ │ │ │ ├── activity_main.xml │ │ │ │ │ ├── activity_ble.xml │ │ │ │ │ ├── fragment_logs.xml │ │ │ │ │ ├── ble_cells.xml │ │ │ │ │ ├── fragment_map.xml │ │ │ │ │ └── fragment_home.xml │ │ │ │ ├── values │ │ │ │ │ ├── dimens.xml │ │ │ │ │ ├── styles.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── colors.xml │ │ │ │ ├── drawable-v24 │ │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ └── navigation │ │ │ │ │ └── mobile_navigation.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── gps │ │ │ │ │ ├── objects │ │ │ │ │ ├── GlobalApp.kt │ │ │ │ │ ├── SqliteDB.kt │ │ │ │ │ └── BLEDevice.kt │ │ │ │ │ ├── ui │ │ │ │ │ ├── home │ │ │ │ │ │ ├── HomeViewModel.kt │ │ │ │ │ │ ├── HomeSecondFragment.kt │ │ │ │ │ │ └── HomeFragment.kt │ │ │ │ │ ├── map │ │ │ │ │ │ ├── MapViewModel.kt │ │ │ │ │ │ └── MapFragment.kt │ │ │ │ │ ├── logs │ │ │ │ │ │ ├── LogsViewModel.kt │ │ │ │ │ │ └── LogsFragment.kt │ │ │ │ │ └── setting │ │ │ │ │ │ ├── SettingViewModel.kt │ │ │ │ │ │ └── SettingFragment.kt │ │ │ │ │ ├── BLEScanAdapter.kt │ │ │ │ │ ├── MainActivity.kt │ │ │ │ │ └── BLEActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── gps │ │ │ │ └── ExampleUnitTest.kt │ │ └── androidTest │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── gps │ │ │ └── ExampleInstrumentedTest.kt │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── .gitignore ├── Assets └── images │ ├── icon │ └── icon.png │ ├── UI_Mockups │ ├── Maps Mockup.png │ ├── UI Mockup.pptx │ ├── List_example.png │ ├── Dashboard Mockup.png │ ├── Activity_Load_Order.png │ └── Dashboard Buttons Mockup.png │ └── schematics │ ├── schematic.png │ ├── schematic.vsdx │ ├── schematic_b.png │ ├── ESP32-Pinout.jpg │ ├── NEO-6M-GPS-Module-Pinout.png │ └── Micro-SD-TF-Card-Module-Pinout-SPI.png ├── Test_Code ├── show_bytes.py ├── GPS │ ├── .theia │ │ └── launch.json │ └── GPS.ino ├── Hardware_Serial │ └── Hardware_Serial.ino ├── SD_Test │ └── SD_Test.ino ├── BLE_Server │ └── BLE_Server.ino └── SD_ESP_Test │ └── SD_ESP_Test.ino ├── README.md └── GPS_Firmware └── Tiny_GPS_Logger └── Tiny_GPS_Logger.ino /GPS_APP/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /GPS_APP/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name='GPS' 2 | include ':app' 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | target/ 3 | .vscode/ 4 | .idea/ 5 | *.sql 6 | git_commit.py 7 | google_maps_api.xml -------------------------------------------------------------------------------- /Assets/images/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/icon/icon.png -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/Maps Mockup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/Maps Mockup.png -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/UI Mockup.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/UI Mockup.pptx -------------------------------------------------------------------------------- /Assets/images/schematics/schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/schematic.png -------------------------------------------------------------------------------- /Assets/images/schematics/schematic.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/schematic.vsdx -------------------------------------------------------------------------------- /Assets/images/schematics/schematic_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/schematic_b.png -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/List_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/List_example.png -------------------------------------------------------------------------------- /Assets/images/schematics/ESP32-Pinout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/ESP32-Pinout.jpg -------------------------------------------------------------------------------- /GPS_APP/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/Dashboard Mockup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/Dashboard Mockup.png -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/Activity_Load_Order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/Activity_Load_Order.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Assets/images/UI_Mockups/Dashboard Buttons Mockup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/UI_Mockups/Dashboard Buttons Mockup.png -------------------------------------------------------------------------------- /Assets/images/schematics/NEO-6M-GPS-Module-Pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/NEO-6M-GPS-Module-Pinout.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/GPS_APP/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Assets/images/schematics/Micro-SD-TF-Card-Module-Pinout-SPI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuyal/Tiny_GPS_Logger/HEAD/Assets/images/schematics/Micro-SD-TF-Card-Module-Pinout-SPI.png -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/objects/GlobalApp.kt: -------------------------------------------------------------------------------- 1 | package com.gps.objects 2 | 3 | class GlobalApp { 4 | companion object { 5 | var BLE: BLEDevice? = null 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /Test_Code/show_bytes.py: -------------------------------------------------------------------------------- 1 | import shutil 2 | 3 | total, used, free = shutil.disk_usage("/") 4 | 5 | print("Total: %d B" % (total)) 6 | print("Used: %d B" % (used)) 7 | print("Free: %d B" % (free)) -------------------------------------------------------------------------------- /Test_Code/GPS/.theia/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | "version": "0.2.0", 5 | "configurations": [ 6 | 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /GPS_APP/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /GPS_APP/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jun 17 10:44:10 PDT 2020 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-6.1.1-all.zip 7 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/btn_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/btn_unpressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Test_Code/Hardware_Serial/Hardware_Serial.ino: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define RXD2 16 4 | #define TXD2 17 5 | 6 | void setup() { 7 | Serial.begin(115200); 8 | Serial2.begin(9600, SERIAL_8N1, RXD2, TXD2); 9 | 10 | 11 | } 12 | 13 | void loop() { 14 | while (Serial2.available()) { 15 | Serial.print(char(Serial2.read())); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/menu/ble_menu.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_check_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_file_download_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_fiber_manual_record_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_dashboard_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/ui/home/HomeViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.gps.ui.home 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class HomeViewModel : ViewModel() { 8 | private val _text = MutableLiveData().apply { 9 | value = "HOME Fragment" 10 | } 11 | val text: LiveData = _text 12 | } -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/ui/map/MapViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.gps.ui.map 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class MapViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "Maps Fragment" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/ui/logs/LogsViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.gps.ui.logs 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class LogsViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "Logs Fragment" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/menu/main_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/ui/setting/SettingViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.gps.ui.setting 2 | 3 | import androidx.lifecycle.LiveData 4 | import androidx.lifecycle.MutableLiveData 5 | import androidx.lifecycle.ViewModel 6 | 7 | class SettingViewModel : ViewModel() { 8 | 9 | private val _text = MutableLiveData().apply { 10 | value = "Setting Fragment" 11 | } 12 | val text: LiveData = _text 13 | } -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_close_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/layout/fragment_home_second.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_map_marker_24dp.xml: -------------------------------------------------------------------------------- 1 | 8 | 11 | -------------------------------------------------------------------------------- /GPS_APP/app/src/test/java/com/example/gps/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.gps 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_textsms_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/layout/fragment_setting.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_location_on_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_bluetooth_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 8dp 6 | 176dp 7 | 16dp 8 | 9 | 25dp 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_refresh_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/status_off.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_do_not_disturb_alt_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/status_on.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_link_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_sync_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_gps_not_fixed_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/java/com/gps/ui/home/HomeSecondFragment.kt: -------------------------------------------------------------------------------- 1 | package com.gps.ui.home 2 | 3 | import android.os.Bundle 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import androidx.fragment.app.Fragment 8 | import com.gps.R 9 | 10 | class HomeSecondFragment : Fragment() { 11 | 12 | override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { 13 | val view = inflater.inflate(R.layout.fragment_home_second, container, false) 14 | return view 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_map_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_assignment_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/info_boarder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_gps_fixed_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_location_off_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | ext.kotlin_version = '1.4.10' 4 | repositories { 5 | google() 6 | jcenter() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.0.1' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | mavenCentral() 19 | maven { url 'https://jitpack.io' } 20 | } 21 | } 22 | 23 | task clean(type: Delete) { 24 | delete rootProject.buildDir 25 | } 26 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_bluetooth_searching_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/menu/nav_header_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/action_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | 16 | 20 | 21 | -------------------------------------------------------------------------------- /GPS_APP/app/src/androidTest/java/com/example/gps/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.gps 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.gps", appContext.packageName) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_gps_off_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/drawable/ic_sync_disabled_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GPS_APP/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |