diff --git a/2015/android/Geofence/headunitservicemock/.gitignore b/2015/android/Geofence/headunitservicemock/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/.gitignore @@ -0,0 +1 @@ +/build diff --git a/2015/android/Geofence/headunitservicemock/build.gradle b/2015/android/Geofence/headunitservicemock/build.gradle new file mode 100644 index 0000000..00216da --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/build.gradle @@ -0,0 +1,26 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 22 + buildToolsVersion "22.0.1" + + defaultConfig { + applicationId "com.esrlabs.headunitservicemock" + minSdkVersion 17 + targetSdkVersion 22 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:22.2.0' + compile project(':headunitinterface') +} diff --git a/2015/android/Geofence/headunitservicemock/proguard-rules.pro b/2015/android/Geofence/headunitservicemock/proguard-rules.pro new file mode 100644 index 0000000..ca379fe --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /home/flo/android-sdks/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/2015/android/Geofence/headunitservicemock/src/androidTest/java/com/esrlabs/headunitservicemock/ApplicationTest.java b/2015/android/Geofence/headunitservicemock/src/androidTest/java/com/esrlabs/headunitservicemock/ApplicationTest.java new file mode 100644 index 0000000..566133b --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/src/androidTest/java/com/esrlabs/headunitservicemock/ApplicationTest.java @@ -0,0 +1,13 @@ +package com.esrlabs.headunitservicemock; + +import android.app.Application; +import android.test.ApplicationTestCase; + +/** + * Testing Fundamentals + */ +public class ApplicationTest extends ApplicationTestCase { + public ApplicationTest() { + super(Application.class); + } +} \ No newline at end of file diff --git a/2015/android/Geofence/headunitservicemock/src/main/AndroidManifest.xml b/2015/android/Geofence/headunitservicemock/src/main/AndroidManifest.xml new file mode 100644 index 0000000..ca8576c --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/src/main/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + + + diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-hdpi/ic_launcher.png b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..cde69bc Binary files /dev/null and b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-mdpi/ic_launcher.png b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..c133a0c Binary files /dev/null and b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xhdpi/ic_launcher.png b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..bfa42f0 Binary files /dev/null and b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xxhdpi/ic_launcher.png b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..324e72c Binary files /dev/null and b/2015/android/Geofence/headunitservicemock/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/values/strings.xml b/2015/android/Geofence/headunitservicemock/src/main/res/values/strings.xml new file mode 100644 index 0000000..e552f4b --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + HeadUnitServiceMock + diff --git a/2015/android/Geofence/headunitservicemock/src/main/res/values/styles.xml b/2015/android/Geofence/headunitservicemock/src/main/res/values/styles.xml new file mode 100644 index 0000000..766ab99 --- /dev/null +++ b/2015/android/Geofence/headunitservicemock/src/main/res/values/styles.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/2015/android/Geofence/settings.gradle b/2015/android/Geofence/settings.gradle index 7cfa3de..6f50817 100644 --- a/2015/android/Geofence/settings.gradle +++ b/2015/android/Geofence/settings.gradle @@ -1 +1 @@ -include ':app', ':headunitinterface' +include ':app', ':headunitinterface', ':headunitservicemock'