diff --git a/src/Front-end/.gitignore b/src/Front-end/.gitignore
new file mode 100644
index 0000000..aa724b7
--- /dev/null
+++ b/src/Front-end/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/src/Front-end/app/.gitignore b/src/Front-end/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/src/Front-end/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/src/Front-end/app/build.gradle b/src/Front-end/app/build.gradle
new file mode 100644
index 0000000..70d909f
--- /dev/null
+++ b/src/Front-end/app/build.gradle
@@ -0,0 +1,46 @@
+plugins {
+ id 'com.android.application'
+}
+
+android {
+ namespace 'com.example.myapplication'
+ compileSdk 33
+
+ defaultConfig {
+ applicationId "com.example.myapplication"
+ minSdk 24
+ targetSdk 33
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_11
+ targetCompatibility JavaVersion.VERSION_11
+ }
+ buildFeatures {
+ viewBinding true
+ }
+}
+
+dependencies {
+
+ implementation 'androidx.appcompat:appcompat:1.4.1'
+ implementation 'com.google.android.material:material:1.5.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
+ implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
+ implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
+ implementation 'androidx.navigation:navigation-fragment:2.4.1'
+ implementation 'androidx.navigation:navigation-ui:2.4.1'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+}
\ No newline at end of file
diff --git a/src/Front-end/app/proguard-rules.pro b/src/Front-end/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/src/Front-end/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# 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 *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/src/Front-end/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java b/src/Front-end/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
new file mode 100644
index 0000000..982ba51
--- /dev/null
+++ b/src/Front-end/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.myapplication;
+
+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.myapplication", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/AndroidManifest.xml b/src/Front-end/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..50765ac
--- /dev/null
+++ b/src/Front-end/app/src/main/AndroidManifest.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/BottomNavigiationActivity.java b/src/Front-end/app/src/main/java/com/example/myapplication/BottomNavigiationActivity.java
new file mode 100644
index 0000000..4bbe575
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/BottomNavigiationActivity.java
@@ -0,0 +1,66 @@
+package com.example.myapplication;
+
+import android.os.Bundle;
+import android.view.View;
+
+import com.example.myapplication.ui.Buttonfragments.RecycleGarbageFragment;
+import com.google.android.material.bottomnavigation.BottomNavigationView;
+
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.fragment.app.Fragment;
+import androidx.navigation.NavController;
+import androidx.navigation.Navigation;
+import androidx.navigation.ui.AppBarConfiguration;
+import androidx.navigation.ui.NavigationUI;
+
+import com.example.myapplication.databinding.BottomNavigiationBinding;
+
+public class BottomNavigiationActivity extends AppCompatActivity implements View.OnClickListener {
+
+ private BottomNavigiationBinding binding;
+ private Fragment recycleGarbageFragment;
+
+ private Fragment kitchenGarbageFragment;
+
+ private Fragment otherGarbageFragment;
+
+ private Fragment hazardGarbageFragment;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ binding = BottomNavigiationBinding.inflate(getLayoutInflater());
+ setContentView(binding.getRoot());
+ BottomNavigationView navView = findViewById(R.id.nav_view);
+ recycleGarbageFragment=new RecycleGarbageFragment();
+ // Passing each menu ID as a set of Ids because each
+ // menu should be considered as top level destinations.
+ AppBarConfiguration appBarConfiguration = new AppBarConfiguration.Builder(
+ R.id.navigation_home, R.id.navigation_dashboard, R.id.navigation_notifications)
+ .build();
+ NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_bottom_navigiation);
+ NavigationUI.setupActionBarWithNavController(this, navController, appBarConfiguration);
+ NavigationUI.setupWithNavController(binding.navView, navController);
+ }
+
+ @Override
+ public void onClick(View view) {
+ Fragment curFragment = getSupportFragmentManager().findFragmentById(R.id.content_container);
+ Fragment targetFargment = null;
+ switch (view.getId()) {
+ case R.id.recycle:
+ targetFargment=recycleGarbageFragment;
+ break;
+ case R.id.kitchen_garbage:
+ targetFargment=kitchenGarbageFragment;
+ break;
+ case R.id.other_garbage:
+ targetFargment=otherGarbageFragment;
+ break;
+ case R.id.hazardous_waste:
+ targetFargment=hazardGarbageFragment;
+ break;
+ }
+ getSupportFragmentManager().beginTransaction().replace(R.id.content_container,targetFargment).commit();
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/HazardGarbageFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/HazardGarbageFragment.java
new file mode 100644
index 0000000..0bb9743
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/HazardGarbageFragment.java
@@ -0,0 +1,4 @@
+package com.example.myapplication.ui.Buttonfragments;
+
+public class HazardGarbageFragment {
+}
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/KithchenGarbageFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/KithchenGarbageFragment.java
new file mode 100644
index 0000000..652406c
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/KithchenGarbageFragment.java
@@ -0,0 +1,4 @@
+package com.example.myapplication.ui.Buttonfragments;
+
+public class KithchenGarbageFragment {
+}
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/OtherGarbageFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/OtherGarbageFragment.java
new file mode 100644
index 0000000..4aa3ff0
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/OtherGarbageFragment.java
@@ -0,0 +1,4 @@
+package com.example.myapplication.ui.Buttonfragments;
+
+public class OtherGarbageFragment {
+}
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/RecycleGarbageFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/RecycleGarbageFragment.java
new file mode 100644
index 0000000..5bbbcbc
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/Buttonfragments/RecycleGarbageFragment.java
@@ -0,0 +1,24 @@
+package com.example.myapplication.ui.Buttonfragments;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.fragment.app.Fragment;
+
+import com.example.myapplication.R;
+
+public class RecycleGarbageFragment extends Fragment {
+
+ public RecycleGarbageFragment() {
+ // Required empty public constructor
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.recycle_garbage, container, false);
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardFragment.java
new file mode 100644
index 0000000..2e1ca37
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardFragment.java
@@ -0,0 +1,35 @@
+package com.example.myapplication.ui.dashboard;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+import androidx.fragment.app.Fragment;
+import androidx.lifecycle.ViewModelProvider;
+
+import com.example.myapplication.R;
+import com.example.myapplication.databinding.FragmentDashboardBinding;
+
+public class DashboardFragment extends Fragment {
+
+ private FragmentDashboardBinding binding;
+
+ public View onCreateView(@NonNull LayoutInflater inflater,
+ ViewGroup container, Bundle savedInstanceState) {
+ DashboardViewModel dashboardViewModel =
+ new ViewModelProvider(this).get(DashboardViewModel.class);
+
+ binding = FragmentDashboardBinding.inflate(inflater, container, false);
+ View root = binding.getRoot();
+ return root;
+ }
+
+ @Override
+ public void onDestroyView() {
+ super.onDestroyView();
+ binding = null;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardViewModel.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardViewModel.java
new file mode 100644
index 0000000..e7f4278
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/dashboard/DashboardViewModel.java
@@ -0,0 +1,19 @@
+package com.example.myapplication.ui.dashboard;
+
+import androidx.lifecycle.LiveData;
+import androidx.lifecycle.MutableLiveData;
+import androidx.lifecycle.ViewModel;
+
+public class DashboardViewModel extends ViewModel {
+
+ private final MutableLiveData mText;
+
+ public DashboardViewModel() {
+ mText = new MutableLiveData<>();
+ mText.setValue("This is dashboard fragment");
+ }
+
+ public LiveData getText() {
+ return mText;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeFragment.java
new file mode 100644
index 0000000..7683653
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeFragment.java
@@ -0,0 +1,35 @@
+package com.example.myapplication.ui.home;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+import androidx.fragment.app.Fragment;
+import androidx.lifecycle.ViewModelProvider;
+
+import com.example.myapplication.databinding.FragmentHomeBinding;
+
+public class HomeFragment extends Fragment {
+
+ private FragmentHomeBinding binding;
+
+ public View onCreateView(@NonNull LayoutInflater inflater,
+ ViewGroup container, Bundle savedInstanceState) {
+ HomeViewModel homeViewModel =
+ new ViewModelProvider(this).get(HomeViewModel.class);
+
+ binding = FragmentHomeBinding.inflate(inflater, container, false);
+ View root = binding.getRoot();
+
+ return root;
+ }
+
+ @Override
+ public void onDestroyView() {
+ super.onDestroyView();
+ binding = null;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeViewModel.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeViewModel.java
new file mode 100644
index 0000000..ea94cae
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/home/HomeViewModel.java
@@ -0,0 +1,19 @@
+package com.example.myapplication.ui.home;
+
+import androidx.lifecycle.LiveData;
+import androidx.lifecycle.MutableLiveData;
+import androidx.lifecycle.ViewModel;
+
+public class HomeViewModel extends ViewModel {
+
+ private final MutableLiveData mText;
+
+ public HomeViewModel() {
+ mText = new MutableLiveData<>();
+ mText.setValue("This is home fragment");
+ }
+
+ public LiveData getText() {
+ return mText;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsFragment.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsFragment.java
new file mode 100644
index 0000000..67b3712
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsFragment.java
@@ -0,0 +1,34 @@
+package com.example.myapplication.ui.notifications;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+import androidx.fragment.app.Fragment;
+import androidx.lifecycle.ViewModelProvider;
+
+import com.example.myapplication.databinding.FragmentNotificationsBinding;
+
+public class NotificationsFragment extends Fragment {
+
+ private FragmentNotificationsBinding binding;
+
+ public View onCreateView(@NonNull LayoutInflater inflater,
+ ViewGroup container, Bundle savedInstanceState) {
+ NotificationsViewModel notificationsViewModel =
+ new ViewModelProvider(this).get(NotificationsViewModel.class);
+
+ binding = FragmentNotificationsBinding.inflate(inflater, container, false);
+ View root = binding.getRoot();
+ return root;
+ }
+
+ @Override
+ public void onDestroyView() {
+ super.onDestroyView();
+ binding = null;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsViewModel.java b/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsViewModel.java
new file mode 100644
index 0000000..24c4e22
--- /dev/null
+++ b/src/Front-end/app/src/main/java/com/example/myapplication/ui/notifications/NotificationsViewModel.java
@@ -0,0 +1,19 @@
+package com.example.myapplication.ui.notifications;
+
+import androidx.lifecycle.LiveData;
+import androidx.lifecycle.MutableLiveData;
+import androidx.lifecycle.ViewModel;
+
+public class NotificationsViewModel extends ViewModel {
+
+ private final MutableLiveData mText;
+
+ public NotificationsViewModel() {
+ mText = new MutableLiveData<>();
+ mText.setValue("This is notifications fragment");
+ }
+
+ public LiveData getText() {
+ return mText;
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/src/Front-end/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/drawable/button.xml b/src/Front-end/app/src/main/res/drawable/button.xml
new file mode 100644
index 0000000..4f39204
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/button.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/drawable/garbage_bin.png b/src/Front-end/app/src/main/res/drawable/garbage_bin.png
new file mode 100644
index 0000000..a7025ca
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/garbage_bin.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/garbage_recogniton.png b/src/Front-end/app/src/main/res/drawable/garbage_recogniton.png
new file mode 100644
index 0000000..8993acb
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/garbage_recogniton.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/gocation.png b/src/Front-end/app/src/main/res/drawable/gocation.png
new file mode 100644
index 0000000..c241a71
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/gocation.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/hazardous_waste.png b/src/Front-end/app/src/main/res/drawable/hazardous_waste.png
new file mode 100644
index 0000000..3ffd9d9
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/hazardous_waste.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/ic_dashboard_black_24dp.xml b/src/Front-end/app/src/main/res/drawable/ic_dashboard_black_24dp.xml
new file mode 100644
index 0000000..46fc8de
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/ic_dashboard_black_24dp.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/Front-end/app/src/main/res/drawable/ic_home_black_24dp.xml b/src/Front-end/app/src/main/res/drawable/ic_home_black_24dp.xml
new file mode 100644
index 0000000..f8bb0b5
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/ic_home_black_24dp.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/Front-end/app/src/main/res/drawable/ic_launcher_background.xml b/src/Front-end/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Front-end/app/src/main/res/drawable/ic_notifications_black_24dp.xml b/src/Front-end/app/src/main/res/drawable/ic_notifications_black_24dp.xml
new file mode 100644
index 0000000..78b75c3
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/ic_notifications_black_24dp.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/Front-end/app/src/main/res/drawable/image_upload.png b/src/Front-end/app/src/main/res/drawable/image_upload.png
new file mode 100644
index 0000000..51fa454
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/image_upload.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/kitchen_garbage.png b/src/Front-end/app/src/main/res/drawable/kitchen_garbage.png
new file mode 100644
index 0000000..7846c00
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/kitchen_garbage.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/map.png b/src/Front-end/app/src/main/res/drawable/map.png
new file mode 100644
index 0000000..5ea7e32
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/map.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/other_garbage.png b/src/Front-end/app/src/main/res/drawable/other_garbage.png
new file mode 100644
index 0000000..916cf0f
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/other_garbage.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/photo.png b/src/Front-end/app/src/main/res/drawable/photo.png
new file mode 100644
index 0000000..51fa454
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/photo.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/recycle.png b/src/Front-end/app/src/main/res/drawable/recycle.png
new file mode 100644
index 0000000..daeea57
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/recycle.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/recycle_garbage.jpg b/src/Front-end/app/src/main/res/drawable/recycle_garbage.jpg
new file mode 100644
index 0000000..0f0e823
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/recycle_garbage.jpg differ
diff --git a/src/Front-end/app/src/main/res/drawable/sqrt.png b/src/Front-end/app/src/main/res/drawable/sqrt.png
new file mode 100644
index 0000000..52a6a6b
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/sqrt.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/user_feed_back.png b/src/Front-end/app/src/main/res/drawable/user_feed_back.png
new file mode 100644
index 0000000..35419cc
Binary files /dev/null and b/src/Front-end/app/src/main/res/drawable/user_feed_back.png differ
diff --git a/src/Front-end/app/src/main/res/drawable/your_image.xml b/src/Front-end/app/src/main/res/drawable/your_image.xml
new file mode 100644
index 0000000..fb3185b
--- /dev/null
+++ b/src/Front-end/app/src/main/res/drawable/your_image.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/src/Front-end/app/src/main/res/layout-v26/bottom_navigiation.xml b/src/Front-end/app/src/main/res/layout-v26/bottom_navigiation.xml
new file mode 100644
index 0000000..493c32d
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout-v26/bottom_navigiation.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/bottom_navigiation.xml b/src/Front-end/app/src/main/res/layout/bottom_navigiation.xml
new file mode 100644
index 0000000..e17f876
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/bottom_navigiation.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/fragment_dashboard.xml b/src/Front-end/app/src/main/res/layout/fragment_dashboard.xml
new file mode 100644
index 0000000..bbabbbb
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/fragment_dashboard.xml
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/fragment_home.xml b/src/Front-end/app/src/main/res/layout/fragment_home.xml
new file mode 100644
index 0000000..662c10e
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/fragment_home.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/fragment_notifications.xml b/src/Front-end/app/src/main/res/layout/fragment_notifications.xml
new file mode 100644
index 0000000..3438800
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/fragment_notifications.xml
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Front-end/app/src/main/res/layout/hazard_garbage.xml b/src/Front-end/app/src/main/res/layout/hazard_garbage.xml
new file mode 100644
index 0000000..b310efa
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/hazard_garbage.xml
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/kitchen_garbage.xml b/src/Front-end/app/src/main/res/layout/kitchen_garbage.xml
new file mode 100644
index 0000000..77d9ef6
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/kitchen_garbage.xml
@@ -0,0 +1,6 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/other_garbage.xml b/src/Front-end/app/src/main/res/layout/other_garbage.xml
new file mode 100644
index 0000000..77d9ef6
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/other_garbage.xml
@@ -0,0 +1,6 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/layout/recycle_garbage.xml b/src/Front-end/app/src/main/res/layout/recycle_garbage.xml
new file mode 100644
index 0000000..809051f
--- /dev/null
+++ b/src/Front-end/app/src/main/res/layout/recycle_garbage.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
diff --git a/src/Front-end/app/src/main/res/menu/bottom_nav_menu.xml b/src/Front-end/app/src/main/res/menu/bottom_nav_menu.xml
new file mode 100644
index 0000000..6408b8c
--- /dev/null
+++ b/src/Front-end/app/src/main/res/menu/bottom_nav_menu.xml
@@ -0,0 +1,22 @@
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/src/Front-end/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml b/src/Front-end/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml
new file mode 100644
index 0000000..6f3b755
--- /dev/null
+++ b/src/Front-end/app/src/main/res/mipmap-anydpi-v33/ic_launcher.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 0000000..c209e78
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..b2dfe3d
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 0000000..4f0f1d6
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..62b611d
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 0000000..948a307
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..1b9a695
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..28d4b77
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9287f50
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..aa7d642
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9126ae3
Binary files /dev/null and b/src/Front-end/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/app/src/main/res/navigation/mobile_navigation.xml b/src/Front-end/app/src/main/res/navigation/mobile_navigation.xml
new file mode 100644
index 0000000..9439eda
--- /dev/null
+++ b/src/Front-end/app/src/main/res/navigation/mobile_navigation.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values-night/themes.xml b/src/Front-end/app/src/main/res/values-night/themes.xml
new file mode 100644
index 0000000..3109eee
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values-night/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/colors.xml b/src/Front-end/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..8a2f4d1
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/colors.xml
@@ -0,0 +1,11 @@
+
+
+ #FFBB86FC
+ #FF6200EE
+ #FF3700B3
+ #FF03DAC5
+ #FF018786
+ #FF000000
+ #FFFFFFFF
+ #CABFBF
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/dimen.xml b/src/Front-end/app/src/main/res/values/dimen.xml
new file mode 100644
index 0000000..e26df2c
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/dimen.xml
@@ -0,0 +1,4 @@
+
+
+ 30sp
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/dimens.xml b/src/Front-end/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..e00c2dd
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+
+
+ 16dp
+ 16dp
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/ids.xml b/src/Front-end/app/src/main/res/values/ids.xml
new file mode 100644
index 0000000..783bc27
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/ids.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/strings.xml b/src/Front-end/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..69a287e
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/strings.xml
@@ -0,0 +1,10 @@
+
+ My Application
+ BottomNavigiationActivity
+ Home
+ Dashboard
+ Notifications
+ 垃圾识别
+ 垃圾桶定位
+ 用户反馈
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/values/themes.xml b/src/Front-end/app/src/main/res/values/themes.xml
new file mode 100644
index 0000000..3466669
--- /dev/null
+++ b/src/Front-end/app/src/main/res/values/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/xml/backup_rules.xml b/src/Front-end/app/src/main/res/xml/backup_rules.xml
new file mode 100644
index 0000000..fa0f996
--- /dev/null
+++ b/src/Front-end/app/src/main/res/xml/backup_rules.xml
@@ -0,0 +1,13 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/main/res/xml/data_extraction_rules.xml b/src/Front-end/app/src/main/res/xml/data_extraction_rules.xml
new file mode 100644
index 0000000..9ee9997
--- /dev/null
+++ b/src/Front-end/app/src/main/res/xml/data_extraction_rules.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/app/src/test/java/com/example/myapplication/ExampleUnitTest.java b/src/Front-end/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
new file mode 100644
index 0000000..bf43ee5
--- /dev/null
+++ b/src/Front-end/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.myapplication;
+
+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/src/Front-end/build.gradle b/src/Front-end/build.gradle
new file mode 100644
index 0000000..f05eacf
--- /dev/null
+++ b/src/Front-end/build.gradle
@@ -0,0 +1,5 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+ id 'com.android.application' version '7.4.2' apply false
+ id 'com.android.library' version '7.4.2' apply false
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/.gitignore b/src/Front-end/chapter1/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/src/Front-end/chapter1/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/src/Front-end/chapter1/build.gradle b/src/Front-end/chapter1/build.gradle
new file mode 100644
index 0000000..2191b62
--- /dev/null
+++ b/src/Front-end/chapter1/build.gradle
@@ -0,0 +1,40 @@
+plugins {
+ id 'com.android.application'
+}
+
+android {
+ namespace 'com.example.chapter1'
+ compileSdk 33
+
+ defaultConfig {
+ applicationId "com.example.chapter1"
+ minSdk 24
+ targetSdk 33
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+
+ }
+}
+
+dependencies {
+
+ implementation 'androidx.appcompat:appcompat:1.4.1'
+ implementation 'com.google.android.material:material:1.5.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/proguard-rules.pro b/src/Front-end/chapter1/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/src/Front-end/chapter1/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# 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 *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/androidTest/java/com/example/chapter1/ExampleInstrumentedTest.java b/src/Front-end/chapter1/src/androidTest/java/com/example/chapter1/ExampleInstrumentedTest.java
new file mode 100644
index 0000000..b705d73
--- /dev/null
+++ b/src/Front-end/chapter1/src/androidTest/java/com/example/chapter1/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.chapter1;
+
+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.chapter1", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/AndroidManifest.xml b/src/Front-end/chapter1/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..e2d677a
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/AndroidManifest.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/java/com/example/chapter1/MainActivity.java b/src/Front-end/chapter1/src/main/java/com/example/chapter1/MainActivity.java
new file mode 100644
index 0000000..76ff921
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/java/com/example/chapter1/MainActivity.java
@@ -0,0 +1,32 @@
+package com.example.chapter1;
+
+import android.os.Bundle;
+import android.view.View;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.google.android.material.floatingactionbutton.FloatingActionButton;
+
+public class MainActivity extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setTheme(androidx.appcompat.R.style.Theme_AppCompat);
+ setContentView(R.layout.activity_main);
+
+
+ // 获取 FloatingActionButton 对象
+ FloatingActionButton fab = findViewById(R.id.fab);
+
+ // 添加 FloatingActionButton 的点击事件监听器
+ fab.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ // 处理 FloatingActionButton 的点击事件
+ }
+ });
+
+ // 其他初始化操作和逻辑处理
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/BlankFragment.java b/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/BlankFragment.java
new file mode 100644
index 0000000..b9d90c1
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/BlankFragment.java
@@ -0,0 +1,66 @@
+package com.example.chapter1.fragment;
+
+import android.os.Bundle;
+
+import androidx.fragment.app.Fragment;
+
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.example.chapter1.R;
+
+/**
+ * A simple {@link Fragment} subclass.
+ * Use the {@link BlankFragment#newInstance} factory method to
+ * create an instance of this fragment.
+ */
+public class BlankFragment extends Fragment {
+
+ // TODO: Rename parameter arguments, choose names that match
+ // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
+ private static final String ARG_PARAM1 = "param1";
+ private static final String ARG_PARAM2 = "param2";
+
+ // TODO: Rename and change types of parameters
+ private String mParam1;
+ private String mParam2;
+
+ public BlankFragment() {
+ // Required empty public constructor
+ }
+
+ /**
+ * Use this factory method to create a new instance of
+ * this fragment using the provided parameters.
+ *
+ * @param param1 Parameter 1.
+ * @param param2 Parameter 2.
+ * @return A new instance of fragment BlankFragment.
+ */
+ // TODO: Rename and change types and number of parameters
+ public static BlankFragment newInstance(String param1, String param2) {
+ BlankFragment fragment = new BlankFragment();
+ Bundle args = new Bundle();
+ args.putString(ARG_PARAM1, param1);
+ args.putString(ARG_PARAM2, param2);
+ fragment.setArguments(args);
+ return fragment;
+ }
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ if (getArguments() != null) {
+ mParam1 = getArguments().getString(ARG_PARAM1);
+ mParam2 = getArguments().getString(ARG_PARAM2);
+ }
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_blank, container, false);
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/ScrollingFragment.java b/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/ScrollingFragment.java
new file mode 100644
index 0000000..bccfbb0
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/java/com/example/chapter1/fragment/ScrollingFragment.java
@@ -0,0 +1,23 @@
+package com.example.chapter1.fragment;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.fragment.app.Fragment;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
+import com.example.chapter1.R;
+
+class ScrollingFragment extends Fragment {
+
+ @Nullable
+ @Override
+ public View onCreateView(@NonNull LayoutInflater inflater,
+ @Nullable ViewGroup container,
+ @Nullable Bundle savedInstanceState) {
+ return inflater.inflate(R.layout.fragment_scrolling, container, false);
+ }
+}
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/drawable-v24/ic_launcher_foreground.xml b/src/Front-end/chapter1/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/drawable/ic_launcher_background.xml b/src/Front-end/chapter1/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Front-end/chapter1/src/main/res/layout/activity_main.xml b/src/Front-end/chapter1/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..dc18c4f
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/layout/activity_main.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Front-end/chapter1/src/main/res/layout/fragment_blank.xml b/src/Front-end/chapter1/src/main/res/layout/fragment_blank.xml
new file mode 100644
index 0000000..39900b5
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/layout/fragment_blank.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/layout/fragment_scrolling.xml b/src/Front-end/chapter1/src/main/res/layout/fragment_scrolling.xml
new file mode 100644
index 0000000..8e6498d
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/layout/fragment_scrolling.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v33/ic_launcher.xml b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v33/ic_launcher.xml
new file mode 100644
index 0000000..6f3b755
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/mipmap-anydpi-v33/ic_launcher.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher.webp b/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 0000000..c209e78
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..b2dfe3d
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher.webp b/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 0000000..4f0f1d6
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..62b611d
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher.webp b/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 0000000..948a307
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..1b9a695
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..28d4b77
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9287f50
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..aa7d642
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9126ae3
Binary files /dev/null and b/src/Front-end/chapter1/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/src/Front-end/chapter1/src/main/res/values-night/themes.xml b/src/Front-end/chapter1/src/main/res/values-night/themes.xml
new file mode 100644
index 0000000..54202f5
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/values-night/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/values/colors.xml b/src/Front-end/chapter1/src/main/res/values/colors.xml
new file mode 100644
index 0000000..f8c6127
--- /dev/null
+++ b/src/Front-end/chapter1/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/src/Front-end/chapter1/src/main/res/values/dimens.xml b/src/Front-end/chapter1/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..bd9fded
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/values/dimens.xml
@@ -0,0 +1,3 @@
+
+ 16dp
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/values/strings.xml b/src/Front-end/chapter1/src/main/res/values/strings.xml
new file mode 100644
index 0000000..0a38a69
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/values/strings.xml
@@ -0,0 +1,94 @@
+
+ chapter1
+
+ "Material is the metaphor.\n\n"
+
+ "A material metaphor is the unifying theory of a rationalized space and a system of motion."
+ "The material is grounded in tactile reality, inspired by the study of paper and ink, yet "
+ "technologically advanced and open to imagination and magic.\n"
+ "Surfaces and edges of the material provide visual cues that are grounded in reality. The "
+ "use of familiar tactile attributes helps users quickly understand affordances. Yet the "
+ "flexibility of the material creates new affordances that supercede those in the physical "
+ "world, without breaking the rules of physics.\n"
+ "The fundamentals of light, surface, and movement are key to conveying how objects move, "
+ "interact, and exist in space and in relation to each other. Realistic lighting shows "
+ "seams, divides space, and indicates moving parts.\n\n"
+
+ "Bold, graphic, intentional.\n\n"
+
+ "The foundational elements of print based design typography, grids, space, scale, color, "
+ "and use of imagery guide visual treatments. These elements do far more than please the "
+ "eye. They create hierarchy, meaning, and focus. Deliberate color choices, edge to edge "
+ "imagery, large scale typography, and intentional white space create a bold and graphic "
+ "interface that immerse the user in the experience.\n"
+ "An emphasis on user actions makes core functionality immediately apparent and provides "
+ "waypoints for the user.\n\n"
+
+ "Motion provides meaning.\n\n"
+
+ "Motion respects and reinforces the user as the prime mover. Primary user actions are "
+ "inflection points that initiate motion, transforming the whole design.\n"
+ "All action takes place in a single environment. Objects are presented to the user without "
+ "breaking the continuity of experience even as they transform and reorganize.\n"
+ "Motion is meaningful and appropriate, serving to focus attention and maintain continuity. "
+ "Feedback is subtle yet clear. Transitions are efficient yet coherent.\n\n"
+
+ "3D world.\n\n"
+
+ "The material environment is a 3D space, which means all objects have x, y, and z "
+ "dimensions. The z-axis is perpendicularly aligned to the plane of the display, with the "
+ "positive z-axis extending towards the viewer. Every sheet of material occupies a single "
+ "position along the z-axis and has a standard 1dp thickness.\n"
+ "On the web, the z-axis is used for layering and not for perspective. The 3D world is "
+ "emulated by manipulating the y-axis.\n\n"
+
+ "Light and shadow.\n\n"
+
+ "Within the material environment, virtual lights illuminate the scene. Key lights create "
+ "directional shadows, while ambient light creates soft shadows from all angles.\n"
+ "Shadows in the material environment are cast by these two light sources. In Android "
+ "development, shadows occur when light sources are blocked by sheets of material at "
+ "various positions along the z-axis. On the web, shadows are depicted by manipulating the "
+ "y-axis only. The following example shows the card with a height of 6dp.\n\n"
+
+ "Resting elevation.\n\n"
+
+ "All material objects, regardless of size, have a resting elevation, or default elevation "
+ "that does not change. If an object changes elevation, it should return to its resting "
+ "elevation as soon as possible.\n\n"
+
+ "Component elevations.\n\n"
+
+ "The resting elevation for a component type is consistent across apps (e.g., FAB elevation "
+ "does not vary from 6dp in one app to 16dp in another app).\n"
+ "Components may have different resting elevations across platforms, depending on the depth "
+ "of the environment (e.g., TV has a greater depth than mobile or desktop).\n\n"
+
+ "Responsive elevation and dynamic elevation offsets.\n\n"
+
+ "Some component types have responsive elevation, meaning they change elevation in response "
+ "to user input (e.g., normal, focused, and pressed) or system events. These elevation "
+ "changes are consistently implemented using dynamic elevation offsets.\n"
+ "Dynamic elevation offsets are the goal elevation that a component moves towards, relative "
+ "to the component’s resting state. They ensure that elevation changes are consistent "
+ "across actions and component types. For example, all components that lift on press have "
+ "the same elevation change relative to their resting elevation.\n"
+ "Once the input event is completed or cancelled, the component will return to its resting "
+ "elevation.\n\n"
+
+ "Avoiding elevation interference.\n\n"
+
+ "Components with responsive elevations may encounter other components as they move between "
+ "their resting elevations and dynamic elevation offsets. Because material cannot pass "
+ "through other material, components avoid interfering with one another any number of ways, "
+ "whether on a per component basis or using the entire app layout.\n"
+ "On a component level, components can move or be removed before they cause interference. "
+ "For example, a floating action button (FAB) can disappear or move off screen before a "
+ "user picks up a card, or it can move if a snackbar appears.\n"
+ "On the layout level, design your app layout to minimize opportunities for interference. "
+ "For example, position the FAB to one side of stream of a cards so the FAB won’t interfere "
+ "when a user tries to pick up one of cards.\n\n"
+
+
+ Hello blank fragment
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/main/res/values/themes.xml b/src/Front-end/chapter1/src/main/res/values/themes.xml
new file mode 100644
index 0000000..503477b
--- /dev/null
+++ b/src/Front-end/chapter1/src/main/res/values/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Front-end/chapter1/src/test/java/com/example/chapter1/ExampleUnitTest.java b/src/Front-end/chapter1/src/test/java/com/example/chapter1/ExampleUnitTest.java
new file mode 100644
index 0000000..2feff06
--- /dev/null
+++ b/src/Front-end/chapter1/src/test/java/com/example/chapter1/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.chapter1;
+
+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/src/Front-end/gradle.properties b/src/Front-end/gradle.properties
new file mode 100644
index 0000000..3e927b1
--- /dev/null
+++ b/src/Front-end/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Enables namespacing of each library's R class so that its R class includes only the
+# resources declared in the library itself and none from the library's dependencies,
+# thereby reducing the size of the R class for that library
+android.nonTransitiveRClass=true
\ No newline at end of file
diff --git a/src/Front-end/gradle/wrapper/gradle-wrapper.jar b/src/Front-end/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..e708b1c
Binary files /dev/null and b/src/Front-end/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/src/Front-end/gradle/wrapper/gradle-wrapper.properties b/src/Front-end/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..c26a858
--- /dev/null
+++ b/src/Front-end/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Sep 02 22:41:29 CST 2023
+distributionBase=GRADLE_USER_HOME
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/src/Front-end/gradlew b/src/Front-end/gradlew
new file mode 100644
index 0000000..4f906e0
--- /dev/null
+++ b/src/Front-end/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/src/Front-end/gradlew.bat b/src/Front-end/gradlew.bat
new file mode 100644
index 0000000..107acd3
--- /dev/null
+++ b/src/Front-end/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/src/Front-end/settings.gradle b/src/Front-end/settings.gradle
new file mode 100644
index 0000000..bfe2e1f
--- /dev/null
+++ b/src/Front-end/settings.gradle
@@ -0,0 +1,17 @@
+pluginManagement {
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+rootProject.name = "My Application"
+include ':app'
+include ':chapter1'