diff --git a/code/app/app/src/androidTest/java/com/example/smartglasses/ExampleInstrumentedTest.java b/code/app/app/src/androidTest/java/com/example/smartglasses/ExampleInstrumentedTest.java new file mode 100644 index 0000000..79aed80 --- /dev/null +++ b/code/app/app/src/androidTest/java/com/example/smartglasses/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.smartglasses; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.example.smartglasses", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/code/app/app/src/main/AndroidManifest.xml b/code/app/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..d2ef8f0 --- /dev/null +++ b/code/app/app/src/main/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/app/app/src/main/java/com/example/smartglasses/MainActivity.java b/code/app/app/src/main/java/com/example/smartglasses/MainActivity.java new file mode 100644 index 0000000..8b5253e --- /dev/null +++ b/code/app/app/src/main/java/com/example/smartglasses/MainActivity.java @@ -0,0 +1,14 @@ +package com.example.smartglasses; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } +} \ No newline at end of file diff --git a/code/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/code/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/code/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/code/app/app/src/main/res/drawable/ic_launcher_background.xml b/code/app/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/code/app/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/app/app/src/main/res/layout/activity_main.xml b/code/app/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..4fc2444 --- /dev/null +++ b/code/app/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/code/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/code/app/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/code/app/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/code/app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/code/app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/code/app/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/code/app/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/code/app/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/code/app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/code/app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/code/app/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/code/app/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/code/app/app/src/main/res/values-night/themes.xml b/code/app/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..1eefbbd --- /dev/null +++ b/code/app/app/src/main/res/values-night/themes.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/code/app/app/src/main/res/values/colors.xml b/code/app/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/code/app/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/code/app/app/src/main/res/values/strings.xml b/code/app/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..fd9c6da --- /dev/null +++ b/code/app/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + SmartGlasses + \ No newline at end of file diff --git a/code/app/app/src/main/res/values/themes.xml b/code/app/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..b1df86d --- /dev/null +++ b/code/app/app/src/main/res/values/themes.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/code/app/app/src/test/java/com/example/smartglasses/ExampleUnitTest.java b/code/app/app/src/test/java/com/example/smartglasses/ExampleUnitTest.java new file mode 100644 index 0000000..c428e7a --- /dev/null +++ b/code/app/app/src/test/java/com/example/smartglasses/ExampleUnitTest.java @@ -0,0 +1,17 @@ +package com.example.smartglasses; + +import org.junit.Test; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() { + assertEquals(4, 2 + 2); + } +} \ No newline at end of file diff --git a/doc/test.md b/doc/test.md deleted file mode 100644 index e69de29..0000000