├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── libraries │ ├── org_apache_http_legacy_android_24.xml │ ├── beta_1_1_4.xml │ ├── fabric_1_3_10.xml │ ├── answers_1_3_6.xml │ ├── crashlytics_2_5_5.xml │ └── crashlytics_core_2_3_8.xml ├── modules.xml ├── runConfigurations.xml ├── compiler.xml ├── inspectionProfiles │ └── Project_Default.xml ├── gradle.xml └── misc.xml ├── settings.gradle ├── smartnaviapp ├── lint.xml ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── colors_dark.xml │ │ │ ├── dimens.xml │ │ │ ├── colors.xml │ │ │ ├── style.xml │ │ │ └── strings.xml │ │ ├── drawable-hdpi │ │ │ ├── hook.png │ │ │ ├── finish2.png │ │ │ ├── checkbox_off.png │ │ │ ├── checkbox_on.png │ │ │ ├── ic_launcher.png │ │ │ ├── welcome_step.png │ │ │ ├── gps_independent.png │ │ │ ├── seek_thumb_normal.png │ │ │ ├── ic_menu_search_holo_dark.png │ │ │ ├── ic_stat_maps_directions_walk.png │ │ │ ├── ic_menu_moreoverflow_normal_holo_dark.png │ │ │ ├── ic_maps_indicator_current_position_ohne.png │ │ │ └── ic_maps_indicator_current_position_anim_ohne.png │ │ ├── drawable │ │ │ ├── tutorial1.png │ │ │ ├── tutorial2.png │ │ │ ├── tutorial3.png │ │ │ └── spinnerbackground.png │ │ ├── drawable-xhdpi │ │ │ ├── stars.png │ │ │ ├── longpress.png │ │ │ ├── checkbox_off.png │ │ │ ├── checkbox_on.png │ │ │ ├── ic_launcher.png │ │ │ ├── splashscreen.jpg │ │ │ ├── hintergrunddienst.png │ │ │ ├── seek_thumb_normal.png │ │ │ ├── ic_menu_search_holo_dark.png │ │ │ ├── ic_stat_maps_directions_walk.png │ │ │ ├── ic_menu_moreoverflow_normal_holo_dark.png │ │ │ ├── ic_maps_indicator_current_position_ohne.png │ │ │ └── ic_maps_indicator_current_position_anim_ohne.png │ │ ├── drawable-mdpi │ │ │ ├── checkbox_off.png │ │ │ ├── checkbox_on.png │ │ │ ├── ic_launcher.png │ │ │ ├── seek_thumb_normal.png │ │ │ ├── ic_menu_search_holo_dark.png │ │ │ ├── ic_stat_maps_directions_walk.png │ │ │ ├── ic_menu_moreoverflow_normal_holo_dark.png │ │ │ ├── ic_maps_indicator_current_position_ohne.png │ │ │ └── ic_maps_indicator_current_position_anim_ohne.png │ │ ├── drawable-xxhdpi │ │ │ ├── ic_stat_maps_directions_walk.png │ │ │ ├── ic_maps_indicator_current_position_ohne.png │ │ │ └── ic_maps_indicator_current_position_anim_ohne.png │ │ ├── drawable-xxxhdpi │ │ │ └── ic_stat_maps_directions_walk.png │ │ ├── drawable-nodpi │ │ │ ├── back.xml │ │ │ ├── custom_checkbox.xml │ │ │ ├── button.xml │ │ │ ├── button_dark.xml │ │ │ ├── edittxt.xml │ │ │ └── spinner.xml │ │ ├── layout │ │ │ ├── toolbar.xml │ │ │ ├── activity_webview.xml │ │ │ ├── activity_splashscreen.xml │ │ │ ├── dialog3.xml │ │ │ ├── dialog1.xml │ │ │ ├── dialog2.xml │ │ │ ├── activity_backgroundservice.xml │ │ │ ├── fragment_rating.xml │ │ │ ├── activity_googlemap.xml │ │ │ └── activity_info.xml │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ ├── menu │ │ │ └── options_menu.xml │ │ ├── values-zh │ │ │ └── strings.xml │ │ ├── values-ja │ │ │ └── strings.xml │ │ ├── values-it │ │ │ └── strings.xml │ │ ├── values-es │ │ │ └── strings.xml │ │ ├── values-pl │ │ │ └── strings.xml │ │ ├── values-fr │ │ │ └── strings.xml │ │ └── values-de │ │ │ └── strings.xml │ │ ├── java │ │ └── com │ │ │ └── ilm │ │ │ └── sandwich │ │ │ ├── representation │ │ │ ├── EulerAngles.java │ │ │ ├── Renderable.java │ │ │ ├── Vector4f.java │ │ │ └── Vector3f.java │ │ │ ├── tools │ │ │ ├── Config.java │ │ │ ├── MySupportMapFragment.java │ │ │ ├── TouchableWrapper.java │ │ │ ├── ForegroundService.java │ │ │ └── HttpRequests.java │ │ │ ├── Webview.java │ │ │ ├── Info.java │ │ │ ├── Splashscreen.java │ │ │ ├── sensors │ │ │ ├── OrientationProvider.java │ │ │ └── ImprovedOrientationSensor2Provider.java │ │ │ └── fragments │ │ │ ├── RatingFragment.java │ │ │ └── TutorialFragment.java │ │ └── AndroidManifest.xml ├── google-services.json └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── gradlew.bat ├── gradlew └── LICENSE.md /.idea/.name: -------------------------------------------------------------------------------- 1 | smartnavi -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':smartnaviapp' 2 | -------------------------------------------------------------------------------- /smartnaviapp/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/values/colors_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | *.iml 4 | gradle.properties 5 | local.properties 6 | .DS_Store 7 | build 8 | fabric.properties 9 | Config.java -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/hook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/hook.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable/tutorial1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable/tutorial1.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable/tutorial2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable/tutorial2.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable/tutorial3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable/tutorial3.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/finish2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/finish2.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/stars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/stars.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/longpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/longpress.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/checkbox_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/checkbox_off.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/checkbox_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/checkbox_on.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/welcome_step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/welcome_step.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/checkbox_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/checkbox_off.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/checkbox_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/checkbox_on.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/checkbox_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/checkbox_off.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/checkbox_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/checkbox_on.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/splashscreen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/splashscreen.jpg -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable/spinnerbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable/spinnerbackground.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/gps_independent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/gps_independent.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/seek_thumb_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/seek_thumb_normal.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/seek_thumb_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/seek_thumb_normal.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/hintergrunddienst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/hintergrunddienst.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/seek_thumb_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/seek_thumb_normal.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_menu_search_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_menu_search_holo_dark.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_menu_search_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_menu_search_holo_dark.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_menu_search_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_menu_search_holo_dark.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_stat_maps_directions_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_stat_maps_directions_walk.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_stat_maps_directions_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_stat_maps_directions_walk.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_stat_maps_directions_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_stat_maps_directions_walk.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xxhdpi/ic_stat_maps_directions_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xxhdpi/ic_stat_maps_directions_walk.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xxxhdpi/ic_stat_maps_directions_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xxxhdpi/ic_stat_maps_directions_walk.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_menu_moreoverflow_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_menu_moreoverflow_normal_holo_dark.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_menu_moreoverflow_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_menu_moreoverflow_normal_holo_dark.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_menu_moreoverflow_normal_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_menu_moreoverflow_normal_holo_dark.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_maps_indicator_current_position_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_maps_indicator_current_position_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_maps_indicator_current_position_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_maps_indicator_current_position_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_maps_indicator_current_position_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_maps_indicator_current_position_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xxhdpi/ic_maps_indicator_current_position_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xxhdpi/ic_maps_indicator_current_position_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-hdpi/ic_maps_indicator_current_position_anim_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-hdpi/ic_maps_indicator_current_position_anim_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-mdpi/ic_maps_indicator_current_position_anim_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-mdpi/ic_maps_indicator_current_position_anim_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xhdpi/ic_maps_indicator_current_position_anim_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xhdpi/ic_maps_indicator_current_position_anim_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-xxhdpi/ic_maps_indicator_current_position_anim_ohne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phantast/smartnavi/HEAD/smartnaviapp/src/main/res/drawable-xxhdpi/ic_maps_indicator_current_position_anim_ohne.png -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #66333333 5 | #66333333 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Aug 31 14:13:06 BST 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 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/back.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/layout/toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/libraries/org_apache_http_legacy_android_24.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/custom_checkbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/layout/activity_webview.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/libraries/beta_1_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/fabric_1_3_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/answers_1_3_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/crashlytics_2_5_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/crashlytics_core_2_3_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/layout/activity_splashscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/representation/EulerAngles.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich.representation; 2 | 3 | public class EulerAngles { 4 | 5 | private float yaw; 6 | private float pitch; 7 | private float roll; 8 | 9 | public EulerAngles(float yaw, float pitch, float roll) { 10 | this.yaw = yaw; 11 | this.pitch = pitch; 12 | this.roll = roll; 13 | } 14 | 15 | public float getYaw() { 16 | return yaw; 17 | } 18 | 19 | public float getPitch() { 20 | return pitch; 21 | } 22 | 23 | public float getRoll() { 24 | return roll; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/button_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/tools/Config.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich.tools; 2 | 3 | /** 4 | * @author Christian Henke 5 | * https://smartnavi.app 6 | */ 7 | public class Config { 8 | //app-Rate Dialog 9 | public final static String APP_PNAME = "com.ilm.sandwich"; 10 | public final static int DAYS_UNTIL_PROMPT = 2; 11 | public final static int LAUNCHES_UNTIL_PROMPT = 3; 12 | // places api 13 | public static final String DIRECTIONS_API_KEY = ""; 14 | public static final String PLACES_SDK_API_KEY = ""; 15 | //permission integers 16 | public static final int PERMISSION_REQUEST_FINE_LOCATION = 0; 17 | public static final int PERMISSION_WRITE_EXTERNAL_STORAGE = 1; 18 | //other 19 | public static boolean backgroundServiceActive = false; 20 | } 21 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/edittxt.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 15 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 22 | 23 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/tools/MySupportMapFragment.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich.tools; 2 | 3 | /** 4 | * This class helps to detect TouchEvents on GoogleMap 5 | * Thanks to Stackoverflow: Gaucho 6 | */ 7 | 8 | import android.os.Bundle; 9 | import android.view.LayoutInflater; 10 | import android.view.View; 11 | import android.view.ViewGroup; 12 | 13 | import com.google.android.gms.maps.SupportMapFragment; 14 | 15 | public class MySupportMapFragment extends SupportMapFragment { 16 | public View mOriginalContentView; 17 | public TouchableWrapper mTouchView; 18 | 19 | @Override 20 | public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { 21 | mOriginalContentView = super.onCreateView(inflater, parent, savedInstanceState); 22 | mTouchView = new TouchableWrapper(getActivity()); 23 | mTouchView.addView(mOriginalContentView); 24 | return mTouchView; 25 | } 26 | 27 | @Override 28 | public View getView() { 29 | return mOriginalContentView; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/representation/Renderable.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich.representation; 2 | 3 | import java.io.Serializable; 4 | import java.util.concurrent.locks.ReentrantLock; 5 | 6 | /** 7 | * @author Leigh Beattie 8 | *

9 | * At the moment this is a place holder for objects that can be put in the scene graph. There may be some 10 | * requirements later specified. 11 | */ 12 | public class Renderable implements Serializable { 13 | 14 | /** 15 | * ID for serialisation 16 | */ 17 | private static final long serialVersionUID = 6701586807666461858L; 18 | 19 | //Used in data managemenst and synchronisation. If you make a renderable then you should change this boolean to true. 20 | protected boolean dirty = true; 21 | protected ReentrantLock lock = new ReentrantLock(); 22 | 23 | public boolean dirty() { 24 | return dirty; 25 | } 26 | 27 | public void setClean() { 28 | this.dirty = false; 29 | } 30 | 31 | public void setDirty() { 32 | this.dirty = true; 33 | } 34 | 35 | public ReentrantLock getLock() { 36 | return this.lock; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/menu/options_menu.xml: -------------------------------------------------------------------------------- 1 | 2 |

4 | 10 | 14 | 18 | 22 | 26 | 30 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/tools/TouchableWrapper.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich.tools; 2 | 3 | /** 4 | * This class helps to detect TouchEvents on GoogleMap 5 | * and disables the followMe function if user moves the map 6 | * Thanks to Stackoverflow: Gaucho 7 | */ 8 | 9 | import android.content.Context; 10 | import android.view.MotionEvent; 11 | import android.widget.FrameLayout; 12 | 13 | import com.ilm.sandwich.GoogleMap; 14 | 15 | public class TouchableWrapper extends FrameLayout { 16 | 17 | int touchCounter = 0; 18 | 19 | public TouchableWrapper(Context context) { 20 | super(context); 21 | } 22 | 23 | @Override 24 | public boolean dispatchTouchEvent(MotionEvent event) { 25 | switch (event.getAction()) { 26 | case MotionEvent.ACTION_MOVE: 27 | touchCounter++; 28 | if (touchCounter >= 10) { //Count for enough motion before disabling followMe 29 | GoogleMap.listHandler.sendEmptyMessage(15); //set followMe=false 30 | touchCounter = 0; 31 | } 32 | break; 33 | } 34 | return super.dispatchTouchEvent(event); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/drawable-nodpi/spinner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /smartnaviapp/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "156253963066", 4 | "firebase_url": "https://smartnavi-app.firebaseio.com", 5 | "project_id": "smartnavi-app", 6 | "storage_bucket": "smartnavi-app.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:156253963066:android:d013c12ed3fa7a96", 12 | "android_client_info": { 13 | "package_name": "com.ilm.sandwich" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "156253963066-f5a2ocle80jmjnno6r34u9au38ud795i.apps.googleusercontent.com", 19 | "client_type": 1, 20 | "android_info": { 21 | "package_name": "com.ilm.sandwich", 22 | "certificate_hash": "a78c8501f7ffa01b3b34a06850afce5ac868169d" 23 | } 24 | }, 25 | { 26 | "client_id": "156253963066-9d5og1laisheq9uhpoqisk3oe2gs8jpv.apps.googleusercontent.com", 27 | "client_type": 3 28 | } 29 | ], 30 | "api_key": [ 31 | { 32 | "current_key": "AIzaSyAqYk2ezXJy8LJbA_yveCMKpHS2TMfQYCE" 33 | } 34 | ], 35 | "services": { 36 | "appinvite_service": { 37 | "other_platform_oauth_client": [ 38 | { 39 | "client_id": "156253963066-9d5og1laisheq9uhpoqisk3oe2gs8jpv.apps.googleusercontent.com", 40 | "client_type": 3 41 | } 42 | ] 43 | } 44 | } 45 | } 46 | ], 47 | "configuration_version": "1" 48 | } -------------------------------------------------------------------------------- /smartnaviapp/src/main/java/com/ilm/sandwich/Webview.java: -------------------------------------------------------------------------------- 1 | package com.ilm.sandwich; 2 | 3 | import android.os.Bundle; 4 | import android.view.MenuItem; 5 | import android.webkit.WebSettings; 6 | import android.webkit.WebView; 7 | import android.webkit.WebViewClient; 8 | 9 | import androidx.appcompat.app.AppCompatActivity; 10 | 11 | import com.google.firebase.analytics.FirebaseAnalytics; 12 | 13 | public class Webview extends AppCompatActivity { 14 | 15 | private FirebaseAnalytics mFirebaseAnalytics; 16 | 17 | @Override 18 | protected void onCreate(Bundle savedInstanceState) { 19 | super.onCreate(savedInstanceState); 20 | setContentView(R.layout.activity_webview); 21 | getSupportActionBar().setDisplayHomeAsUpEnabled(true); 22 | 23 | // Obtain the FirebaseAnalytics instance. 24 | mFirebaseAnalytics = FirebaseAnalytics.getInstance(this); 25 | 26 | getSupportActionBar().setTitle(getResources().getString(R.string.tx_90)); 27 | WebView webview = new WebView(this); 28 | webview.setWebViewClient(new WebViewClient()); 29 | setContentView(webview); 30 | WebSettings webSettings = webview.getSettings(); 31 | webSettings.setJavaScriptEnabled(true); 32 | webview.loadUrl("https://smartnavi.app/offline"); 33 | } 34 | 35 | @Override 36 | public boolean onOptionsItemSelected(MenuItem menuItem) { 37 | switch (menuItem.getItemId()) { 38 | case android.R.id.home: 39 | finish(); 40 | return true; 41 | } 42 | return (super.onOptionsItemSelected(menuItem)); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /smartnaviapp/src/main/res/layout/dialog3.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | 22 | 23 | 24 | 29 | 30 |