+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/.idea/jarRepositories.xml b/Android/Android Apps/BinnaryToDecimal/.idea/jarRepositories.xml
new file mode 100644
index 00000000..a5f05cd8
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/.idea/misc.xml b/Android/Android Apps/BinnaryToDecimal/.idea/misc.xml
new file mode 100644
index 00000000..37a75096
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/.idea/runConfigurations.xml b/Android/Android Apps/BinnaryToDecimal/.idea/runConfigurations.xml
new file mode 100644
index 00000000..7f68460d
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/README.md b/Android/Android Apps/BinnaryToDecimal/README.md
new file mode 100644
index 00000000..09f3aa1d
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/README.md
@@ -0,0 +1,16 @@
+# Binary to Decimal Converter App
+The app takes input as an binary text and converting it to decimal values.
+
+## Screenshots
+
+
+## Concepts Used
+- Material design
+
+## Resources
+- How to convert binary to Decimal
+
+# Improvement
+- UI need an improvement
+- Can add feature of binary to octa and hex as well.
+- Can add feature for swaping conversion like bin to dec and dec to bin.
diff --git a/Android/Android Apps/BinnaryToDecimal/app/.gitignore b/Android/Android Apps/BinnaryToDecimal/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/build.gradle b/Android/Android Apps/BinnaryToDecimal/app/build.gradle
new file mode 100644
index 00000000..f6055b44
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/build.gradle
@@ -0,0 +1,35 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.2"
+
+ defaultConfig {
+ applicationId "com.binnarytodecimal"
+ minSdkVersion 19
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
+ implementation 'com.google.android.material:material:1.2.1'
+
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/proguard-rules.pro b/Android/Android Apps/BinnaryToDecimal/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/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/Android/Android Apps/BinnaryToDecimal/app/src/androidTest/java/com/binnarytodecimal/ExampleInstrumentedTest.java b/Android/Android Apps/BinnaryToDecimal/app/src/androidTest/java/com/binnarytodecimal/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..98d8c34b
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/androidTest/java/com/binnarytodecimal/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.binnarytodecimal;
+
+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.binnarytodecimal", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/AndroidManifest.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..74952a60
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/AndroidManifest.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/java/com/binnarytodecimal/MainActivity.java b/Android/Android Apps/BinnaryToDecimal/app/src/main/java/com/binnarytodecimal/MainActivity.java
new file mode 100644
index 00000000..9abfccd3
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/java/com/binnarytodecimal/MainActivity.java
@@ -0,0 +1,60 @@
+package com.binnarytodecimal;
+
+import android.os.Bundle;
+import android.view.View;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.google.android.material.button.MaterialButton;
+import com.google.android.material.textfield.TextInputEditText;
+import com.google.android.material.textfield.TextInputLayout;
+
+public class MainActivity extends AppCompatActivity {
+ TextInputLayout inputBinary;
+ TextInputEditText txtBinary;
+ MaterialButton btnConvert;
+ TextView tvDecimalOutput;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ inputBinary = findViewById(R.id.inputBinary);
+ txtBinary = findViewById(R.id.txtBinary);
+ btnConvert = findViewById(R.id.btnConvert);
+ tvDecimalOutput = findViewById(R.id.tvDecimalOutput);
+
+ btnConvert.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ processBinaryToDecimalConvert();
+ }
+ });
+ }
+
+ private void processBinaryToDecimalConvert() {
+ if (txtBinary.getText() == null) {
+ Toast.makeText(this, "Enter Binary Number", Toast.LENGTH_SHORT).show();
+ return;
+ }
+ String s = txtBinary.getText().toString().trim();
+ if (s.isEmpty()) {
+ Toast.makeText(this, "Enter Binary Number", Toast.LENGTH_SHORT).show();
+ return;
+ }
+
+ char[] chars = s.toCharArray();
+
+ int j = chars.length - 1;
+ long outPut = 0;
+ for (char digit : chars) {
+ outPut = (long) (outPut + Integer.parseInt(String.valueOf(digit)) * Math.pow(2, j));
+ j--;
+ }
+
+ tvDecimalOutput.setText(String.valueOf(outPut));
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..34985213
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/colors.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..a5f11688
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/colors.xml
@@ -0,0 +1,7 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+ #000000
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/strings.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..1e9b8098
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/strings.xml
@@ -0,0 +1,5 @@
+
+ BinnaryToDecimal
+ Enter binary number:
+ Convert
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/styles.xml b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..60e2939f
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/app/src/test/java/com/binnarytodecimal/ExampleUnitTest.java b/Android/Android Apps/BinnaryToDecimal/app/src/test/java/com/binnarytodecimal/ExampleUnitTest.java
new file mode 100644
index 00000000..93a8e990
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/app/src/test/java/com/binnarytodecimal/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.binnarytodecimal;
+
+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/Android/Android Apps/BinnaryToDecimal/build.gradle b/Android/Android Apps/BinnaryToDecimal/build.gradle
new file mode 100644
index 00000000..4ca54632
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:3.4.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/gradle.properties b/Android/Android Apps/BinnaryToDecimal/gradle.properties
new file mode 100644
index 00000000..c52ac9b7
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/BinnaryToDecimal/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/BinnaryToDecimal/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..1e762070
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Mon Oct 05 21:24:42 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/BinnaryToDecimal/gradlew b/Android/Android Apps/BinnaryToDecimal/gradlew
new file mode 100644
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/BinnaryToDecimal/gradlew.bat b/Android/Android Apps/BinnaryToDecimal/gradlew.bat
new file mode 100644
index 00000000..f9553162
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/BinnaryToDecimal/settings.gradle b/Android/Android Apps/BinnaryToDecimal/settings.gradle
new file mode 100644
index 00000000..d6916c16
--- /dev/null
+++ b/Android/Android Apps/BinnaryToDecimal/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "BinnaryToDecimal"
\ No newline at end of file
diff --git a/Android/Android Apps/BirthdayWishApp/.gitignore b/Android/Android Apps/BirthdayWishApp/.gitignore
new file mode 100644
index 00000000..603b1407
--- /dev/null
+++ b/Android/Android Apps/BirthdayWishApp/.gitignore
@@ -0,0 +1,14 @@
+*.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
diff --git a/Android/Android Apps/BirthdayWishApp/.idea/codeStyles/Project.xml b/Android/Android Apps/BirthdayWishApp/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..681f41ae
--- /dev/null
+++ b/Android/Android Apps/BirthdayWishApp/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/.idea/jarRepositories.xml b/Android/Android Apps/CounterApp/.idea/jarRepositories.xml
new file mode 100644
index 00000000..a5f05cd8
--- /dev/null
+++ b/Android/Android Apps/CounterApp/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/.idea/misc.xml b/Android/Android Apps/CounterApp/.idea/misc.xml
new file mode 100644
index 00000000..37a75096
--- /dev/null
+++ b/Android/Android Apps/CounterApp/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/.idea/runConfigurations.xml b/Android/Android Apps/CounterApp/.idea/runConfigurations.xml
new file mode 100644
index 00000000..7f68460d
--- /dev/null
+++ b/Android/Android Apps/CounterApp/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/README.md b/Android/Android Apps/CounterApp/README.md
new file mode 100644
index 00000000..8167365b
--- /dev/null
+++ b/Android/Android Apps/CounterApp/README.md
@@ -0,0 +1,21 @@
+## Click Counter App
+A simple click counter application made in Android Studio using java.The app uses increment, decrement and reset features to increase,decrease and reset the number when clicked by the user.
+
+## Screenshot
+
+
+
+## Concept
+
+The source code provided in this article is just the dependencies of activity and the code used in activity_main.xml will create the counting process and define its attributes.
+
+## Documentation and Resources used
+
+- https://developer.android.com/docs?authuser=1
+
+## Future Aspects of the app
+
+- Landscape Orientation needs ot be handled.
+- More features to be added in the future. These include :
+ - Improving the UI using material design, animations, etc.
+- And finally, innovation and creativity to improve this project, add more features and fixing bugs is always welcomed. :)
diff --git a/Android/Android Apps/CounterApp/app/.gitignore b/Android/Android Apps/CounterApp/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/build.gradle b/Android/Android Apps/CounterApp/app/build.gradle
new file mode 100644
index 00000000..91697eed
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/build.gradle
@@ -0,0 +1,32 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.2"
+
+ defaultConfig {
+ applicationId "com.example.counterapplication"
+ minSdkVersion 24
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/proguard-rules.pro b/Android/Android Apps/CounterApp/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/Android/Android Apps/CounterApp/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/Android/Android Apps/CounterApp/app/src/androidTest/java/com/example/counterapplication/ExampleInstrumentedTest.java b/Android/Android Apps/CounterApp/app/src/androidTest/java/com/example/counterapplication/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..9aed6434
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/androidTest/java/com/example/counterapplication/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.counterapplication;
+
+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.counterapplication", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/AndroidManifest.xml b/Android/Android Apps/CounterApp/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..068931eb
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/AndroidManifest.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/java/com/example/counterapplication/MainActivity.java b/Android/Android Apps/CounterApp/app/src/main/java/com/example/counterapplication/MainActivity.java
new file mode 100644
index 00000000..783e00e5
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/java/com/example/counterapplication/MainActivity.java
@@ -0,0 +1,72 @@
+package com.example.counterapplication;
+
+import android.annotation.SuppressLint;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.TextView;
+
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+
+public class MainActivity extends AppCompatActivity {
+
+ private TextView counterTxt;
+ private Button minusBtn;
+ private Button plusBtn;
+ private Button resetBtn;
+ private int counter;
+
+ private View.OnClickListener clickListener = new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.plusBtn:
+ plusCounter();
+ break;
+ case R.id.minusBtn:
+ minusCounter();
+ break;
+ case R.id.resetBtn:
+ initCounter();
+ break;
+ }
+ }
+ };
+
+ @Override
+ protected void onCreate(@Nullable Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ counterTxt = (TextView) findViewById(R.id.counterTxt);
+
+ minusBtn = (Button) findViewById(R.id.minusBtn);
+ minusBtn.setOnClickListener(clickListener);
+
+ plusBtn = (Button) findViewById(R.id.plusBtn);
+ plusBtn.setOnClickListener(clickListener);
+
+ resetBtn = (Button) findViewById(R.id.resetBtn);
+ resetBtn.setOnClickListener(clickListener);
+
+ initCounter();
+ }
+
+ @SuppressLint("SetTextI18n")
+ private void initCounter() {
+ counter = 0;
+ counterTxt.setText(counter + "");
+ }
+
+ @SuppressLint("SetTextI18n")
+ private void plusCounter() {
+ counter++;
+ counterTxt.setText(counter + "");
+ }
+
+ private void minusCounter() {
+ counter--;
+ counterTxt.setText(counter);
+ }
+}
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/CounterApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/CounterApp/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/CounterApp/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..2b3614b8
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/CounterApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/values/colors.xml b/Android/Android Apps/CounterApp/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..4faecfa8
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/values/strings.xml b/Android/Android Apps/CounterApp/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..2d1c84ab
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Counter Application
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/main/res/values/styles.xml b/Android/Android Apps/CounterApp/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..fac92916
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/app/src/test/java/com/example/counterapplication/ExampleUnitTest.java b/Android/Android Apps/CounterApp/app/src/test/java/com/example/counterapplication/ExampleUnitTest.java
new file mode 100644
index 00000000..f5266423
--- /dev/null
+++ b/Android/Android Apps/CounterApp/app/src/test/java/com/example/counterapplication/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.counterapplication;
+
+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/Android/Android Apps/CounterApp/build.gradle b/Android/Android Apps/CounterApp/build.gradle
new file mode 100644
index 00000000..6754c23d
--- /dev/null
+++ b/Android/Android Apps/CounterApp/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:4.0.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/gradle.properties b/Android/Android Apps/CounterApp/gradle.properties
new file mode 100644
index 00000000..c52ac9b7
--- /dev/null
+++ b/Android/Android Apps/CounterApp/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/CounterApp/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/CounterApp/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..53862009
--- /dev/null
+++ b/Android/Android Apps/CounterApp/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Tue Oct 06 16:43:27 CEST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/CounterApp/gradlew b/Android/Android Apps/CounterApp/gradlew
new file mode 100755
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/CounterApp/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/CounterApp/gradlew.bat b/Android/Android Apps/CounterApp/gradlew.bat
new file mode 100644
index 00000000..e95643d6
--- /dev/null
+++ b/Android/Android Apps/CounterApp/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/CounterApp/img/demo.png b/Android/Android Apps/CounterApp/img/demo.png
new file mode 100644
index 00000000..17fd0cb6
Binary files /dev/null and b/Android/Android Apps/CounterApp/img/demo.png differ
diff --git a/Android/Android Apps/CounterApp/settings.gradle b/Android/Android Apps/CounterApp/settings.gradle
new file mode 100644
index 00000000..4cdb8b5b
--- /dev/null
+++ b/Android/Android Apps/CounterApp/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Counter Application"
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/.gitignore b/Android/Android Apps/Currency_Converter/.gitignore
new file mode 100644
index 00000000..603b1407
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.gitignore
@@ -0,0 +1,14 @@
+*.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
diff --git a/Android/Android Apps/Currency_Converter/.idea/codeStyles/Project.xml b/Android/Android Apps/Currency_Converter/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..681f41ae
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/.idea/jarRepositories.xml b/Android/Android Apps/Currency_Converter/.idea/jarRepositories.xml
new file mode 100644
index 00000000..a5f05cd8
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/.idea/misc.xml b/Android/Android Apps/Currency_Converter/.idea/misc.xml
new file mode 100644
index 00000000..37a75096
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/.idea/render.experimental.xml b/Android/Android Apps/Currency_Converter/.idea/render.experimental.xml
new file mode 100644
index 00000000..8ec256a5
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.idea/render.experimental.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/.idea/runConfigurations.xml b/Android/Android Apps/Currency_Converter/.idea/runConfigurations.xml
new file mode 100644
index 00000000..7f68460d
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/README.md b/Android/Android Apps/Currency_Converter/README.md
new file mode 100644
index 00000000..f2d303f7
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/README.md
@@ -0,0 +1,29 @@
+# Currency Converter App
+This app takes currency you have and the currency you want to convert and the amount of currency you want to convert
+
+# Screenshot
+
+
+
+
+## concept used
+- TextView
+- EditText
+- spinners
+- Button
+- imageView
+
+## Future Aspect
+
+- if we go to some other country we can easily convert the currency and can easily exchange money
+
+# Improvement
+UI can be improved
+
+
+# concept Learned
+- learn how to use spinner
+- how to put item in spinner
+- how to use EditText with input No Field
+- varrious currency Conversion
+- How to Add images
diff --git a/Android/Android Apps/Currency_Converter/app/.gitignore b/Android/Android Apps/Currency_Converter/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/build.gradle b/Android/Android Apps/Currency_Converter/app/build.gradle
new file mode 100644
index 00000000..d324f204
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/build.gradle
@@ -0,0 +1,33 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.1"
+
+ defaultConfig {
+ applicationId "com.example.currency_converter"
+ minSdkVersion 16
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/proguard-rules.pro b/Android/Android Apps/Currency_Converter/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/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/Android/Android Apps/Currency_Converter/app/src/androidTest/java/com/example/currency_converter/ExampleInstrumentedTest.java b/Android/Android Apps/Currency_Converter/app/src/androidTest/java/com/example/currency_converter/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..2454ac9d
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/androidTest/java/com/example/currency_converter/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.currency_converter;
+
+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.currency_converter", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/AndroidManifest.xml b/Android/Android Apps/Currency_Converter/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..bb3ed340
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/java/com/example/currency_converter/MainActivity.java b/Android/Android Apps/Currency_Converter/app/src/main/java/com/example/currency_converter/MainActivity.java
new file mode 100644
index 00000000..3bd6b6a2
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/java/com/example/currency_converter/MainActivity.java
@@ -0,0 +1,71 @@
+package com.example.currency_converter;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Spinner;
+import android.widget.TextView;
+
+public class MainActivity extends AppCompatActivity {
+
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+ }
+ public void converters(View view){
+ EditText t=(EditText) findViewById(R.id.input);
+
+ Button one=(Button)findViewById(R.id.button1);
+
+
+ TextView text=(TextView)findViewById(R.id.result);
+ String p=t.getText().toString();
+ Spinner currencies=(Spinner)findViewById(R.id.currencies);
+ String currency=String.valueOf(currencies.getSelectedItem());
+
+
+ Spinner chooser=(Spinner)findViewById(R.id.choose);
+ String choose= (String) chooser.getSelectedItem();
+
+
+ double to_convert=Double.parseDouble(p);
+ double result=0;
+
+ if(choose.equals("dollar")){
+ if (currency.equals("Euro")) {
+ result = to_convert*0.85;
+ } else if (currency.equals("Dirham")) {
+ result = to_convert * 3.67;
+ } else if (currency.equals("dollar")) {
+ result = to_convert ;
+ }
+ else if (currency.equals("Indian")) {
+ result = to_convert*73.16 ;
+ }
+ }
+ else {
+
+ if (currency.equals("Euro")) {
+ result = to_convert / 89;
+ } else if (currency.equals("Dirham")) {
+ result = to_convert / 20.32;
+ } else if (currency.equals("dollar")) {
+ result = to_convert / 73.16;
+ }
+ else if (currency.equals("Indian")) {
+ result = to_convert;
+ }
+ }
+
+ String final_result=String.format("%.2f",result);
+
+
+ text.setText(final_result+" "+currency);
+ }
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/currency.jpg b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/currency.jpg
new file mode 100644
index 00000000..eb109536
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/currency.jpg differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..50565598
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/values/colors.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..4faecfa8
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/values/strings.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..9dcfe407
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/values/strings.xml
@@ -0,0 +1,18 @@
+
+ Currency_Converter
+
+ Euro
+ dollar
+
+ Dirham
+ Indian
+
+
+
+ Indian
+ dollar
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/main/res/values/styles.xml b/Android/Android Apps/Currency_Converter/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..fac92916
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/app/src/test/java/com/example/currency_converter/ExampleUnitTest.java b/Android/Android Apps/Currency_Converter/app/src/test/java/com/example/currency_converter/ExampleUnitTest.java
new file mode 100644
index 00000000..6d9c0c7f
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/app/src/test/java/com/example/currency_converter/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.currency_converter;
+
+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/Android/Android Apps/Currency_Converter/build.gradle b/Android/Android Apps/Currency_Converter/build.gradle
new file mode 100644
index 00000000..6754c23d
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:4.0.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/gradle.properties b/Android/Android Apps/Currency_Converter/gradle.properties
new file mode 100644
index 00000000..c52ac9b7
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/Currency_Converter/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/Currency_Converter/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..35b93a04
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Aug 12 23:09:50 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/Currency_Converter/gradlew b/Android/Android Apps/Currency_Converter/gradlew
new file mode 100644
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/Currency_Converter/gradlew.bat b/Android/Android Apps/Currency_Converter/gradlew.bat
new file mode 100644
index 00000000..f9553162
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/Currency_Converter/images/screenshot.jpg b/Android/Android Apps/Currency_Converter/images/screenshot.jpg
new file mode 100644
index 00000000..acc3b5a9
Binary files /dev/null and b/Android/Android Apps/Currency_Converter/images/screenshot.jpg differ
diff --git a/Android/Android Apps/Currency_Converter/settings.gradle b/Android/Android Apps/Currency_Converter/settings.gradle
new file mode 100644
index 00000000..514ed219
--- /dev/null
+++ b/Android/Android Apps/Currency_Converter/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Currency_Converter"
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/README.md b/Android/Android Apps/DiceRoller/README.md
new file mode 100644
index 00000000..639bf547
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/README.md
@@ -0,0 +1,152 @@
+# Dice Roller App
+Playing board games but can't find your dice? No worries, here is a simple dice roll app on your phone!
+
+Dice Roller App is a simple app that rolls the dice. It displays random number on the dice when the user clicks on the button.
+
+## Screenshot
+
+
+## You need to know:
+- Java Programming Basics
+- How to create and run a "Hello, World!" app in Android Studio
+- Able to write control flow statements (if / else, when statements)
+- Familiar with using TextViews and ImageViews in an app
+- How to modify the attributes of a TextView in the Layout Editor
+- How to extract text into a string resource to make it easier to translate your app and reuse strings
+
+
+## Concepts learned during this project
+- How to customize your app behavior based on different conditions
+- Working and manipulating different layouts
+- Working with Random function to generate numbers between {1-6} and updating image views
+- Navigating between activities using OnclickListeners
+- How images and icons are added to the workspace
+
+## The way I made the app on Android Studio (Step by Step Process)
+ Step 1 : Create an Empty Activity and name it as "Dice Roller App".
+
+ Step 2 : Add all the dice images from {1-6} in drawable present in res folder.
+
+ Step 3 : Change the layout to Linear Layout in the "activity_main.xml"
+
+ Step 4 : Create an Image View and define the attributes like width, height and src(you can take any one image of the dice inside src) in the "activity_main.xml".
+
+ Step 5 : Give an appropriate id to the Image View.
+ ```xml
+
+ ```
+ Step 6 : Add a button named "ROLL" below the Image View and set it according to your preference.
+
+ Step 7 : Give an appropriate id to the button so that we can set OnClickListener to it afterwards.
+ ```xml
+
+ ```
+ Step 8 : You can create a "Button.xml" in drawable folder if you want to design the button.
+ ```
+
+
+
+
+
+
+
+ ```
+ Step 9 : Define the ImageView, Button and Random function in "MainActivity.java" just inside "public class MainActivity extends AppCompatActivity".
+ ```
+ ImageView dice;
+ Button btn;
+ public static final Random random = new Random();
+ ```
+ Step 10 : Add findViewById for both Button and ImageView so that it can find them when your app starts.
+
+ Step 11 : Just below setOnClickListener for Button and add rotateDice(); in it.
+ ```
+ dice = (ImageView)findViewById(R.id.dice);
+
+ btn = (Button)findViewById(R.id.btn);
+ btn.setOnClickListener(new View.OnClickListener() {
+
+ @Override
+ public void onClick(View v) {
+
+ rotateDice();
+ ```
+ Step 12 : Now we will define the work that rotateDice() will do for us. Create a new Directory inside res folder named as anim.
+
+ Step 13 : Make a new Android Resource File inside "rotate.xml".
+
+ Step 14 : Add the following code given below in the "rotate.xml" file so that it will create a animation of rotation:-
+ ```xml
+
+ ```
+ Step 15 : Create a private void named rotateDice() and define the Random function such that it takes random number of the dice.
+ ```
+ private void rotateDice() {
+ int i = random.nextInt(5)+1;
+ ```
+ Step 16 : Now it's time to load Animation that we made before(rotate.xml).
+ ```
+ Animation anim = AnimationUtils.loadAnimation(this, R.anim.rotate);
+ ```
+ Step 17 : Start the Animation as follows :-
+```
+dice.startAnimation(anim);
+ switch(i){
+ case 1:
+ dice.setImageResource(R.drawable.dice_1);
+ break;
+
+ case 2:
+ dice.setImageResource(R.drawable.dice_2);
+ break;
+
+ case 3:
+ dice.setImageResource(R.drawable.dice_3);
+ break;
+
+ case 4:
+ dice.setImageResource(R.drawable.dice_4);
+ break;
+
+ case 5:
+ dice.setImageResource(R.drawable.dice_5);
+ break;
+
+ case 6:
+ dice.setImageResource(R.drawable.dice_6);
+ break;
+ }
+```
+## What you need
+- A computer with Android Studio installed.
+- Internet connection to download the dice images.
+
+## Documentation
+Documents | Android Developers : [Dice Roller App](https://developer.android.com/codelabs/basic-android-kotlin-training-dice-roller-images?hl=fr-MA#0)
+
+(You can learn the basics from this website as there is no such Documentation for building the same project in Java)
+
+
diff --git a/Android/Android Apps/DiceRoller/app/.gitignore b/Android/Android Apps/DiceRoller/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/build.gradle b/Android/Android Apps/DiceRoller/app/build.gradle
new file mode 100644
index 00000000..f8c31036
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/build.gradle
@@ -0,0 +1,33 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.2"
+
+ defaultConfig {
+ applicationId "com.example.diceroller"
+ minSdkVersion 21
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/proguard-rules.pro b/Android/Android Apps/DiceRoller/app/proguard-rules.pro
new file mode 100644
index 00000000..64b4a059
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/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/Android/Android Apps/DiceRoller/app/src/androidTest/java/com/example/diceroller/ExampleInstrumentedTest.java b/Android/Android Apps/DiceRoller/app/src/androidTest/java/com/example/diceroller/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..0b0a2032
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/androidTest/java/com/example/diceroller/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.diceroller;
+
+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.diceroller", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/AndroidManifest.xml b/Android/Android Apps/DiceRoller/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..6f96472c
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/java/com/example/diceroller/MainActivity.java b/Android/Android Apps/DiceRoller/app/src/main/java/com/example/diceroller/MainActivity.java
new file mode 100644
index 00000000..2b9a9671
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/java/com/example/diceroller/MainActivity.java
@@ -0,0 +1,75 @@
+package com.example.diceroller;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.os.Bundle;
+import android.view.View;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.Button;
+import android.widget.ImageView;
+
+import java.util.Random;
+
+public class MainActivity extends AppCompatActivity {
+
+ ImageView dice;
+ Button btn;
+ public static final Random random = new Random();
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ dice = (ImageView)findViewById(R.id.dice);
+
+ btn = (Button)findViewById(R.id.btn);
+ btn.setOnClickListener(new View.OnClickListener() {
+
+ @Override
+ public void onClick(View v) {
+
+ rotateDice();
+
+
+ }
+ });
+
+ }
+
+
+
+ private void rotateDice() {
+ int i = random.nextInt(5)+1;
+ Animation anim = AnimationUtils.loadAnimation(this, R.anim.rotate);
+ dice.startAnimation(anim);
+ switch(i){
+ case 1:
+ dice.setImageResource(R.drawable.dice_1);
+ break;
+
+ case 2:
+ dice.setImageResource(R.drawable.dice_2);
+ break;
+
+ case 3:
+ dice.setImageResource(R.drawable.dice_3);
+ break;
+
+ case 4:
+ dice.setImageResource(R.drawable.dice_4);
+ break;
+
+ case 5:
+ dice.setImageResource(R.drawable.dice_5);
+ break;
+
+ case 6:
+ dice.setImageResource(R.drawable.dice_6);
+ break;
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/anim/rotate.xml b/Android/Android Apps/DiceRoller/app/src/main/res/anim/rotate.xml
new file mode 100644
index 00000000..49f3c213
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/anim/rotate.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_1.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_1.png
new file mode 100644
index 00000000..71d9f147
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_1.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_2.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_2.png
new file mode 100644
index 00000000..efb3e1bf
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_2.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_3.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_3.png
new file mode 100644
index 00000000..4193a3d2
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_3.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_4.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_4.png
new file mode 100644
index 00000000..95c508b2
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_4.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_5.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_5.png
new file mode 100644
index 00000000..12ea20ad
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_5.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_6.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_6.png
new file mode 100644
index 00000000..7e2745a2
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/dice_6.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..cc14f035
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/screenshot.png b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/screenshot.png
new file mode 100644
index 00000000..15219c9d
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/drawable-v24/screenshot.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable/button.xml b/Android/Android Apps/DiceRoller/app/src/main/res/drawable/button.xml
new file mode 100644
index 00000000..8c13edd3
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/drawable/button.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/DiceRoller/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..a4f78de5
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/DiceRoller/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..51ffc406
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..a26f6fbc
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..a26f6fbc
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/DiceRoller/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/values/colors.xml b/Android/Android Apps/DiceRoller/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..80b830a2
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/values/colors.xml
@@ -0,0 +1,7 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+ #FFB300
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/values/strings.xml b/Android/Android Apps/DiceRoller/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..6d58b3e5
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/values/strings.xml
@@ -0,0 +1,4 @@
+
+ Dice Roller
+ ROLL
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/main/res/values/styles.xml b/Android/Android Apps/DiceRoller/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..da4b5e70
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/app/src/test/java/com/example/diceroller/ExampleUnitTest.java b/Android/Android Apps/DiceRoller/app/src/test/java/com/example/diceroller/ExampleUnitTest.java
new file mode 100644
index 00000000..33e69e4a
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/app/src/test/java/com/example/diceroller/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.diceroller;
+
+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/Android/Android Apps/DiceRoller/build.gradle b/Android/Android Apps/DiceRoller/build.gradle
new file mode 100644
index 00000000..d1049a6e
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:4.0.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/gradle.properties b/Android/Android Apps/DiceRoller/gradle.properties
new file mode 100644
index 00000000..d30de8a9
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/DiceRoller/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/DiceRoller/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..9dd2224f
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sun Sep 27 17:54:09 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/DiceRoller/gradlew b/Android/Android Apps/DiceRoller/gradlew
new file mode 100644
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/DiceRoller/gradlew.bat b/Android/Android Apps/DiceRoller/gradlew.bat
new file mode 100755
index 00000000..e95643d6
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/DiceRoller/settings.gradle b/Android/Android Apps/DiceRoller/settings.gradle
new file mode 100644
index 00000000..e1a7f298
--- /dev/null
+++ b/Android/Android Apps/DiceRoller/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Dice Roller"
\ No newline at end of file
diff --git a/Android/Android Apps/Dictionary/.gitignore b/Android/Android Apps/Dictionary/.gitignore
new file mode 100644
index 00000000..603b1407
--- /dev/null
+++ b/Android/Android Apps/Dictionary/.gitignore
@@ -0,0 +1,14 @@
+*.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
diff --git a/Android/Android Apps/Dictionary/.idea/codeStyles/Project.xml b/Android/Android Apps/Dictionary/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..681f41ae
--- /dev/null
+++ b/Android/Android Apps/Dictionary/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/.idea/jarRepositories.xml b/Android/Android Apps/DollarsToCents/.idea/jarRepositories.xml
new file mode 100644
index 00000000..a5f05cd8
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/.idea/misc.xml b/Android/Android Apps/DollarsToCents/.idea/misc.xml
new file mode 100644
index 00000000..37a75096
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/.idea/runConfigurations.xml b/Android/Android Apps/DollarsToCents/.idea/runConfigurations.xml
new file mode 100644
index 00000000..7f68460d
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/README.md b/Android/Android Apps/DollarsToCents/README.md
new file mode 100644
index 00000000..bfd13629
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/README.md
@@ -0,0 +1,14 @@
+#Concepts used
+- Using an OnClick Listener
+- Changing visibility of Widgets
+- Using TextUtils Class
+
+
+#Documentation and resources used
+- For hiding the keyboard
+https://www.geeksforgeeks.org/how-to-programmatically-hide-android-soft-keyboard/
+- Image of dollars
+https://sm.askmen.com/askmen_in/articlepage/a/americas-s/americas-strong-currency_6647.jpg
+
+#Future Aspects of the app
+Can be used as a currency converter app
diff --git a/Android/Android Apps/DollarsToCents/app/.gitignore b/Android/Android Apps/DollarsToCents/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/build.gradle b/Android/Android Apps/DollarsToCents/app/build.gradle
new file mode 100644
index 00000000..f58cdf49
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/build.gradle
@@ -0,0 +1,33 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.0"
+
+ defaultConfig {
+ applicationId "com.example.dollarstocents"
+ minSdkVersion 16
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/proguard-rules.pro b/Android/Android Apps/DollarsToCents/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/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/Android/Android Apps/DollarsToCents/app/src/androidTest/java/com/example/dollarstocents/ExampleInstrumentedTest.java b/Android/Android Apps/DollarsToCents/app/src/androidTest/java/com/example/dollarstocents/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..bdd16189
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/androidTest/java/com/example/dollarstocents/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.dollarstocents;
+
+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.dollarstocents", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/AndroidManifest.xml b/Android/Android Apps/DollarsToCents/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..8d243674
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/java/com/example/dollarstocents/MainActivity.java b/Android/Android Apps/DollarsToCents/app/src/main/java/com/example/dollarstocents/MainActivity.java
new file mode 100644
index 00000000..df302526
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/java/com/example/dollarstocents/MainActivity.java
@@ -0,0 +1,56 @@
+package com.example.dollarstocents;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Context;
+import android.os.Bundle;
+import android.text.TextUtils;
+import android.view.View;
+import android.view.inputmethod.InputMethodManager;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+import android.widget.Toast;
+
+public class MainActivity extends AppCompatActivity {
+
+ EditText dollarsValue;
+ Button convertBtn;
+ TextView centsValue;
+ private int conversionFactor =100;
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ dollarsValue = findViewById(R.id.editTextDollars);
+ convertBtn = findViewById(R.id.convertBtn);
+ centsValue = findViewById(R.id.centsValue);
+ convertBtn.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ String entry = String.valueOf(dollarsValue.getText());
+
+ if(TextUtils.isEmpty(entry)){
+ Toast.makeText(MainActivity.this, "Please enter a value to proceed", Toast.LENGTH_SHORT).show();
+ return;
+ }
+ int cents = conversionFactor * Integer.parseInt(entry);
+ centsValue.setVisibility(View.VISIBLE);
+ centsValue.setText(cents + " cents");
+ closeKeyboard();
+ }
+ });
+ }
+ private void closeKeyboard()
+ {
+
+ View view = this.getCurrentFocus();
+
+ if (view != null) {
+ InputMethodManager manager = (InputMethodManager) getSystemService(
+ Context.INPUT_METHOD_SERVICE);
+ manager.hideSoftInputFromWindow(view.getWindowToken(), 0);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/currency.jpeg b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/currency.jpeg
new file mode 100644
index 00000000..1d5f77cd
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/currency.jpeg differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..d5758910
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/DollarsToCents/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/values/colors.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..4faecfa8
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/values/strings.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..b58cf823
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Dollars To Cents
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/main/res/values/styles.xml b/Android/Android Apps/DollarsToCents/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..fac92916
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/app/src/test/java/com/example/dollarstocents/ExampleUnitTest.java b/Android/Android Apps/DollarsToCents/app/src/test/java/com/example/dollarstocents/ExampleUnitTest.java
new file mode 100644
index 00000000..5e9d6b5b
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/app/src/test/java/com/example/dollarstocents/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.dollarstocents;
+
+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/Android/Android Apps/DollarsToCents/build.gradle b/Android/Android Apps/DollarsToCents/build.gradle
new file mode 100644
index 00000000..6754c23d
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:4.0.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/gradle.properties b/Android/Android Apps/DollarsToCents/gradle.properties
new file mode 100644
index 00000000..c52ac9b7
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/DollarsToCents/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/DollarsToCents/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..d1dfc230
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Oct 09 19:46:58 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/DollarsToCents/gradlew b/Android/Android Apps/DollarsToCents/gradlew
new file mode 100755
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/DollarsToCents/gradlew.bat b/Android/Android Apps/DollarsToCents/gradlew.bat
new file mode 100644
index 00000000..f9553162
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/DollarsToCents/settings.gradle b/Android/Android Apps/DollarsToCents/settings.gradle
new file mode 100644
index 00000000..649145ac
--- /dev/null
+++ b/Android/Android Apps/DollarsToCents/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Dollars To Cents"
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/.gitignore b/Android/Android Apps/Emojifier/.gitignore
new file mode 100644
index 00000000..3bdf763c
--- /dev/null
+++ b/Android/Android Apps/Emojifier/.gitignore
@@ -0,0 +1,130 @@
+.gradle
+.idea/
+*.iml
+build/
+/local.properties
+.DS_Store
+/captures
+google-services.json
+
+
+# Created by https://www.gitignore.io/api/intellij,android,java
+
+### Intellij ###
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff:
+.idea/workspace.xml
+.idea/tasks.xml
+
+# Sensitive or high-churn files:
+.idea/dataSources/
+.idea/dataSources.ids
+.idea/dataSources.xml
+.idea/dataSources.local.xml
+.idea/sqlDataSources.xml
+.idea/dynamic.xml
+.idea/uiDesigner.xml
+
+# Gradle:
+.idea/gradle.xml
+.idea/libraries
+
+# Mongo Explorer plugin:
+.idea/mongoSettings.xml
+
+## File-based project format:
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+/out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+### Intellij Patch ###
+# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
+
+# *.iml
+# modules.xml
+# .idea/misc.xml
+# *.ipr
+
+
+### Android ###
+# Built application files
+*.apk
+*.ap_
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# Intellij
+*.iml
+
+# Keystore files
+*.jks
+
+# External native build folder generated in Android Studio 2.2 and later
+.externalNativeBuild
+
+### Android Patch ###
+gen-external-apklibs
+
+
+### Java ###
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.ear
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+# End of https://www.gitignore.io/api/intellij,android,java
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/app/.gitignore b/Android/Android Apps/Emojifier/app/.gitignore
new file mode 100644
index 00000000..796b96d1
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/Android/Android Apps/Emojifier/app/build.gradle b/Android/Android Apps/Emojifier/app/build.gradle
new file mode 100644
index 00000000..a4247137
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/build.gradle
@@ -0,0 +1,31 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 25
+ buildToolsVersion "25.0.2"
+ defaultConfig {
+ applicationId "com.example.android.emojify"
+ minSdkVersion 15
+ targetSdkVersion 25
+ versionCode 1
+ versionName "1.0"
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ exclude group: 'com.android.support', module: 'support-annotations'
+ })
+ implementation 'com.android.support:design:25.2.0'
+ implementation 'com.android.support:appcompat-v7:25.2.0'
+ implementation 'com.google.android.gms:play-services-vision:10.2.0'
+ testCompile 'junit:junit:4.12'
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/app/proguard-rules.pro b/Android/Android Apps/Emojifier/app/proguard-rules.pro
new file mode 100644
index 00000000..374ecd9d
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/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 /Users/ngamolsky/Library/Android/sdk/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/Android/Android Apps/Emojifier/app/src/androidTest/java/com/example/android/emojify/ExampleInstrumentedTest.java b/Android/Android Apps/Emojifier/app/src/androidTest/java/com/example/android/emojify/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..0794acf1
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/androidTest/java/com/example/android/emojify/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.android.emojify;
+
+import android.content.Context;
+import android.support.test.InstrumentationRegistry;
+import android.support.test.runner.AndroidJUnit4;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.*;
+
+/**
+ * Instrumentation test, which will execute on an Android device.
+ *
+ * @see Testing documentation
+ */
+@RunWith(AndroidJUnit4.class)
+public class ExampleInstrumentedTest {
+ @Test
+ public void useAppContext() throws Exception {
+ // Context of the app under test.
+ Context appContext = InstrumentationRegistry.getTargetContext();
+
+ assertEquals("com.example.android.emojify", appContext.getPackageName());
+ }
+}
diff --git a/Android/Android Apps/Emojifier/app/src/main/AndroidManifest.xml b/Android/Android Apps/Emojifier/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..de41c79c
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/AndroidManifest.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/BitmapUtils.java b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/BitmapUtils.java
new file mode 100644
index 00000000..c422d820
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/BitmapUtils.java
@@ -0,0 +1,170 @@
+package com.example.android.emojify;
+
+import android.content.Context;
+import android.content.Intent;
+import android.graphics.Bitmap;
+import android.graphics.BitmapFactory;
+import android.net.Uri;
+import android.os.Environment;
+import android.support.v4.content.FileProvider;
+import android.util.DisplayMetrics;
+import android.view.WindowManager;
+import android.widget.Toast;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Locale;
+
+class BitmapUtils {
+
+ private static final String FILE_PROVIDER_AUTHORITY = "com.example.android.fileprovider";
+
+ static Bitmap resamplePic(Context context, String imagePath) {
+
+ // Get device screen size information
+ DisplayMetrics metrics = new DisplayMetrics();
+ WindowManager manager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
+ manager.getDefaultDisplay().getMetrics(metrics);
+
+ int targetH = metrics.heightPixels;
+ int targetW = metrics.widthPixels;
+
+ // Get the dimensions of the original bitmap
+ BitmapFactory.Options bmOptions = new BitmapFactory.Options();
+ bmOptions.inJustDecodeBounds = true;
+ BitmapFactory.decodeFile(imagePath, bmOptions);
+ int photoW = bmOptions.outWidth;
+ int photoH = bmOptions.outHeight;
+
+ // Determine how much to scale down the image
+ int scaleFactor = Math.min(photoW / targetW, photoH / targetH);
+
+ // Decode the image file into a Bitmap sized to fill the View
+ bmOptions.inJustDecodeBounds = false;
+ bmOptions.inSampleSize = scaleFactor;
+
+ return BitmapFactory.decodeFile(imagePath);
+ }
+
+ /**
+ * Creates the temporary image file in the cache directory.
+ *
+ * @return The temporary image file.
+ * @throws IOException Thrown if there is an error creating the file
+ */
+ static File createTempImageFile(Context context) throws IOException {
+ String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss",
+ Locale.getDefault()).format(new Date());
+ String imageFileName = "JPEG_" + timeStamp + "_";
+ File storageDir = context.getExternalCacheDir();
+
+ return File.createTempFile(
+ imageFileName, /* prefix */
+ ".jpg", /* suffix */
+ storageDir /* directory */
+ );
+ }
+
+ /**
+ * Deletes image file for a given path.
+ *
+ * @param context The application context.
+ * @param imagePath The path of the photo to be deleted.
+ */
+ static boolean deleteImageFile(Context context, String imagePath) {
+ // Get the file
+ File imageFile = new File(imagePath);
+
+ // Delete the image
+ boolean deleted = imageFile.delete();
+
+ // If there is an error deleting the file, show a Toast
+ if (!deleted) {
+ String errorMessage = context.getString(R.string.error);
+ Toast.makeText(context, errorMessage, Toast.LENGTH_SHORT).show();
+ }
+
+ return deleted;
+ }
+
+ /**
+ * Helper method for adding the photo to the system photo gallery so it can be accessed
+ * from other apps.
+ *
+ * @param imagePath The path of the saved image
+ */
+ private static void galleryAddPic(Context context, String imagePath) {
+ Intent mediaScanIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
+ File f = new File(imagePath);
+ Uri contentUri = Uri.fromFile(f);
+ mediaScanIntent.setData(contentUri);
+ context.sendBroadcast(mediaScanIntent);
+ }
+
+
+ /**
+ * Helper method for saving the image.
+ *
+ * @param context The application context.
+ * @param image The image to be saved.
+ * @return The path of the saved image.
+ */
+ static String saveImage(Context context, Bitmap image) {
+
+ String savedImagePath = null;
+
+ // Create the new file in the external storage
+ String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss",
+ Locale.getDefault()).format(new Date());
+ String imageFileName = "JPEG_" + timeStamp + ".jpg";
+ File storageDir = new File(
+ Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)
+ + "/Emojify");
+ boolean success = true;
+ if (!storageDir.exists()) {
+ success = storageDir.mkdirs();
+ }
+
+ // Save the new Bitmap
+ if (success) {
+ File imageFile = new File(storageDir, imageFileName);
+ savedImagePath = imageFile.getAbsolutePath();
+ try {
+ OutputStream fOut = new FileOutputStream(imageFile);
+ image.compress(Bitmap.CompressFormat.JPEG, 100, fOut);
+ fOut.close();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ // Add the image to the system gallery
+ galleryAddPic(context, savedImagePath);
+
+ // Show a Toast with the save location
+ String savedMessage = context.getString(R.string.saved_message, savedImagePath);
+ Toast.makeText(context, savedMessage, Toast.LENGTH_SHORT).show();
+ }
+
+ return savedImagePath;
+ }
+
+ /**
+ * Helper method for sharing an image.
+ *
+ * @param context The image context.
+ * @param imagePath The path of the image to be shared.
+ */
+ static void shareImage(Context context, String imagePath) {
+ // Create the share intent and start the share activity
+ File imageFile = new File(imagePath);
+ Intent shareIntent = new Intent(Intent.ACTION_SEND);
+ shareIntent.setType("image/*");
+ Uri photoURI = FileProvider.getUriForFile(context, FILE_PROVIDER_AUTHORITY, imageFile);
+ shareIntent.putExtra(Intent.EXTRA_STREAM, photoURI);
+ context.startActivity(shareIntent);
+ }
+}
diff --git a/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/Emojifier.java b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/Emojifier.java
new file mode 100644
index 00000000..e1293fad
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/Emojifier.java
@@ -0,0 +1,167 @@
+package com.example.android.emojify;
+
+import android.content.Context;
+import android.content.res.Resources;
+import android.graphics.Bitmap;
+import android.graphics.BitmapFactory;
+import android.graphics.Canvas;
+import android.util.Log;
+import android.util.SparseArray;
+import android.widget.Toast;
+
+import com.google.android.gms.vision.Frame;
+import com.google.android.gms.vision.face.Face;
+import com.google.android.gms.vision.face.FaceDetector;
+
+class Emojifier {
+
+ private static final String LOG_TAG = Emojifier.class.getSimpleName();
+ private static final double EYE_OPEN_THRESHOLD = 0.4;
+ private static final double SMILING_THRESHOLD = 0.25;
+ private static final float EMOJI_SCALE_FACTOR = .8f;
+
+ public static Bitmap detectFacesAndOverlayEmoji(Context context, Bitmap picture) {
+
+ // Create the face detector, disable tracking and enable classifications
+ FaceDetector detector = new FaceDetector.Builder(context)
+ .setTrackingEnabled(false)
+ .setClassificationType(FaceDetector.ALL_CLASSIFICATIONS)
+ .build();
+
+ // Build the frame
+ Frame frame = new Frame.Builder().setBitmap(picture).build();
+
+ // Detect the faces
+ SparseArray faces = detector.detect(frame);
+
+ // Log the number of faces
+ Log.d(LOG_TAG, "detectFaces: number of faces = " + faces.size());
+ Bitmap emojiBitmap = picture;
+ Resources resources = context.getResources();
+ Emoji emoji;
+
+ // If there are no faces detected, show a Toast message
+ if (faces.size() == 0) {
+ Toast.makeText(context, R.string.no_faces_message, Toast.LENGTH_SHORT).show();
+ } else {
+ for (int i = 0; i < faces.size(); ++i) {
+ Face face = faces.valueAt(i);
+ emoji = whichEmoji(face);
+ switch (emoji) {
+ case SMILE:
+ int id = R.drawable.smile;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case LEFT_WINK:
+ id = R.drawable.rightwink;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case RIGHT_WINK:
+ id = R.drawable.leftwink;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case CLOSED_EYE_SMILE:
+ id = R.drawable.closed_smile;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case FROWN:
+ id = R.drawable.frown;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case LEFT_WINK_FROWN:
+ id = R.drawable.rightwinkfrown;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case RIGHT_WINK_FROWN:
+ id = R.drawable.leftwinkfrown;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ case CLOSED_EYE_FROWN:
+ id = R.drawable.closed_frown;
+ emojiBitmap = BitmapFactory.decodeResource(resources,id);
+ break;
+ default:
+ break;
+ }
+ picture = addBitmapToFace(picture,emojiBitmap,face);
+ }
+
+ }
+
+
+ // Release the detector
+ detector.release();
+ return picture;
+ }
+
+ private static Emoji whichEmoji(Face face) {
+ // Log all the probabilities
+ boolean left_eye_open = false;
+ boolean right_eye_open = false;
+ boolean is_smiling = false;
+
+ if (face.getIsLeftEyeOpenProbability() > EYE_OPEN_THRESHOLD) left_eye_open = true;
+ if (face.getIsRightEyeOpenProbability() > EYE_OPEN_THRESHOLD) right_eye_open = true;
+ if (face.getIsSmilingProbability() > SMILING_THRESHOLD) is_smiling = true;
+
+ Emoji emoji;
+ if (is_smiling) {
+ if (left_eye_open && right_eye_open) emoji = Emoji.SMILE;
+ else if (left_eye_open) emoji = Emoji.RIGHT_WINK;
+ else if (right_eye_open) emoji = Emoji.LEFT_WINK;
+ else emoji = Emoji.CLOSED_EYE_SMILE;
+ } else {
+ if (left_eye_open && right_eye_open) emoji = Emoji.FROWN;
+ else if (left_eye_open) emoji = Emoji.RIGHT_WINK_FROWN;
+ else if (right_eye_open) emoji = Emoji.LEFT_WINK_FROWN;
+ else emoji = Emoji.CLOSED_EYE_FROWN;
+ }
+
+ Log.v(LOG_TAG, "emoji is " + emoji);
+ return emoji;
+ }
+
+ private static Bitmap addBitmapToFace(Bitmap backgroundBitmap, Bitmap emojiBitmap, Face face) {
+
+ // Initialize the results bitmap to be a mutable copy of the original image
+ Bitmap resultBitmap = Bitmap.createBitmap(backgroundBitmap.getWidth(),
+ backgroundBitmap.getHeight(), backgroundBitmap.getConfig());
+
+ // Scale the emoji so it looks better on the face
+ float scaleFactor = EMOJI_SCALE_FACTOR;
+
+ // Determine the size of the emoji to match the width of the face and preserve aspect ratio
+ int newEmojiWidth = (int) (face.getWidth() * scaleFactor);
+ int newEmojiHeight = (int) (emojiBitmap.getHeight() *
+ newEmojiWidth / emojiBitmap.getWidth() * scaleFactor);
+
+
+ // Scale the emoji
+ emojiBitmap = Bitmap.createScaledBitmap(emojiBitmap, newEmojiWidth, newEmojiHeight, false);
+
+ // Determine the emoji position so it best lines up with the face
+ float emojiPositionX =
+ (face.getPosition().x + face.getWidth() / 2) - (emojiBitmap.getWidth() / (float)2);
+ float emojiPositionY =
+ (face.getPosition().y + face.getHeight() / 2) - emojiBitmap.getHeight() / (float)3;
+
+ // Create the canvas and draw the bitmaps to it
+ Canvas canvas = new Canvas(resultBitmap);
+ canvas.drawBitmap(backgroundBitmap, 0, 0, null);
+ canvas.drawBitmap(emojiBitmap, emojiPositionX, emojiPositionY, null);
+
+ return resultBitmap;
+ }
+
+
+ private enum Emoji {
+ SMILE,
+ FROWN,
+ LEFT_WINK,
+ RIGHT_WINK,
+ LEFT_WINK_FROWN,
+ RIGHT_WINK_FROWN,
+ CLOSED_EYE_SMILE,
+ CLOSED_EYE_FROWN
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/MainActivity.java b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/MainActivity.java
new file mode 100644
index 00000000..3acfc589
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/java/com/example/android/emojify/MainActivity.java
@@ -0,0 +1,225 @@
+package com.example.android.emojify;
+
+
+import android.Manifest;
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.graphics.Bitmap;
+import android.graphics.Canvas;
+import android.net.Uri;
+import android.os.Bundle;
+import android.provider.MediaStore;
+import android.support.annotation.NonNull;
+import android.support.design.widget.FloatingActionButton;
+import android.support.v4.app.ActivityCompat;
+import android.support.v4.content.ContextCompat;
+import android.support.v4.content.FileProvider;
+import android.support.v7.app.AppCompatActivity;
+import android.view.View;
+import android.widget.Button;
+import android.widget.ImageView;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import com.google.android.gms.vision.face.Face;
+
+import java.io.File;
+import java.io.IOException;
+
+public class MainActivity extends AppCompatActivity {
+
+ private static final int REQUEST_IMAGE_CAPTURE = 1;
+ private static final int REQUEST_STORAGE_PERMISSION = 1;
+
+ private static final String FILE_PROVIDER_AUTHORITY = "com.example.android.fileprovider";
+
+ private ImageView mImageView;
+
+ private Button mEmojifyButton;
+ private FloatingActionButton mShareFab;
+ private FloatingActionButton mSaveFab;
+ private FloatingActionButton mClearFab;
+
+ private TextView mTitleTextView;
+
+ private String mTempPhotoPath;
+
+ private Bitmap mResultsBitmap;
+
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ // Bind the views
+ mImageView = (ImageView) findViewById(R.id.image_view);
+ mEmojifyButton = (Button) findViewById(R.id.emojify_button);
+ mShareFab = (FloatingActionButton) findViewById(R.id.share_button);
+ mSaveFab = (FloatingActionButton) findViewById(R.id.save_button);
+ mClearFab = (FloatingActionButton) findViewById(R.id.clear_button);
+ mTitleTextView = (TextView) findViewById(R.id.title_text_view);
+ }
+
+ /**
+ * OnClick method for "Emojify Me!" Button. Launches the camera app.
+ *
+ * @param view The emojify me button.
+ */
+ public void emojifyMe(View view) {
+ // Check for the external storage permission
+ if (ContextCompat.checkSelfPermission(this,
+ Manifest.permission.WRITE_EXTERNAL_STORAGE)
+ != PackageManager.PERMISSION_GRANTED) {
+
+ // If you do not have permission, request it
+ ActivityCompat.requestPermissions(this,
+ new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},
+ REQUEST_STORAGE_PERMISSION);
+ } else {
+ // Launch the camera if the permission exists
+ launchCamera();
+ }
+ }
+
+ @Override
+ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions,
+ @NonNull int[] grantResults) {
+ // Called when you request permission to read and write to external storage
+ switch (requestCode) {
+ case REQUEST_STORAGE_PERMISSION: {
+ if (grantResults.length > 0
+ && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
+ // If you get permission, launch the camera
+ launchCamera();
+ } else {
+ // If you do not get permission, show a Toast
+ Toast.makeText(this, R.string.permission_denied, Toast.LENGTH_SHORT).show();
+ }
+ break;
+ }
+ }
+ }
+
+ /**
+ * Creates a temporary image file and captures a picture to store in it.
+ */
+ private void launchCamera() {
+
+ // Create the capture image intent
+ Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
+
+ // Ensure that there's a camera activity to handle the intent
+ if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
+ // Create the temporary File where the photo should go
+ File photoFile = null;
+ try {
+ photoFile = BitmapUtils.createTempImageFile(this);
+ } catch (IOException ex) {
+ // Error occurred while creating the File
+ ex.printStackTrace();
+ }
+ // Continue only if the File was successfully created
+ if (photoFile != null) {
+
+ // Get the path of the temporary file
+ mTempPhotoPath = photoFile.getAbsolutePath();
+
+ // Get the content URI for the image file
+ Uri photoURI = FileProvider.getUriForFile(this,
+ FILE_PROVIDER_AUTHORITY,
+ photoFile);
+
+ // Add the URI so the camera can store the image
+ takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, photoURI);
+
+ // Launch the camera activity
+ startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
+ }
+ }
+ }
+
+
+ @Override
+ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+ // If the image capture activity was called and was successful
+ if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {
+ // Process the image and set it to the TextView
+ processAndSetImage();
+ } else {
+
+ // Otherwise, delete the temporary image file
+ BitmapUtils.deleteImageFile(this, mTempPhotoPath);
+ }
+ }
+
+ /**
+ * Method for processing the captured image and setting it to the TextView.
+ */
+ private void processAndSetImage() {
+
+ // Toggle Visibility of the views
+ mEmojifyButton.setVisibility(View.GONE);
+ mTitleTextView.setVisibility(View.GONE);
+ mSaveFab.setVisibility(View.VISIBLE);
+ mShareFab.setVisibility(View.VISIBLE);
+ mClearFab.setVisibility(View.VISIBLE);
+
+ // Resample the saved image to fit the ImageView
+ mResultsBitmap = BitmapUtils.resamplePic(this, mTempPhotoPath);
+
+ mResultsBitmap = Emojifier.detectFacesAndOverlayEmoji(this, mResultsBitmap);
+
+ // Set the new bitmap to the ImageView
+ mImageView.setImageBitmap(mResultsBitmap);
+ }
+
+
+ /**
+ * OnClick method for the save button.
+ *
+ * @param view The save button.
+ */
+ public void saveMe(View view) {
+ // Delete the temporary image file
+ BitmapUtils.deleteImageFile(this, mTempPhotoPath);
+
+ // Save the image
+ BitmapUtils.saveImage(this, mResultsBitmap);
+ }
+
+ /**
+ * OnClick method for the share button, saves and shares the new bitmap.
+ *
+ * @param view The share button.
+ */
+ public void shareMe(View view) {
+ // Delete the temporary image file
+ BitmapUtils.deleteImageFile(this, mTempPhotoPath);
+
+ // Save the image
+ BitmapUtils.saveImage(this, mResultsBitmap);
+
+ // Share the image
+ BitmapUtils.shareImage(this, mTempPhotoPath);
+ }
+
+ /**
+ * OnClick for the clear button, resets the app to original state.
+ *
+ * @param view The clear button.
+ */
+ public void clearImage(View view) {
+ // Clear the image and toggle the view visibility
+ mImageView.setImageResource(0);
+ mEmojifyButton.setVisibility(View.VISIBLE);
+ mTitleTextView.setVisibility(View.VISIBLE);
+ mShareFab.setVisibility(View.GONE);
+ mSaveFab.setVisibility(View.GONE);
+ mClearFab.setVisibility(View.GONE);
+
+ // Delete the temporary image file
+ BitmapUtils.deleteImageFile(this, mTempPhotoPath);
+ }
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_frown.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_frown.png
new file mode 100644
index 00000000..229ea068
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_frown.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_smile.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_smile.png
new file mode 100644
index 00000000..57d78738
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/closed_smile.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/frown.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/frown.png
new file mode 100644
index 00000000..7852875a
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/frown.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_clear.xml b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_clear.xml
new file mode 100644
index 00000000..ede4b710
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_clear.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_delete.xml b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_delete.xml
new file mode 100644
index 00000000..39e64d69
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_delete.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_save.xml b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_save.xml
new file mode 100644
index 00000000..a561d632
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_save.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_share.xml b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_share.xml
new file mode 100644
index 00000000..e3fe874d
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/drawable/ic_share.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwink.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwink.png
new file mode 100644
index 00000000..2cf4da61
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwink.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwinkfrown.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwinkfrown.png
new file mode 100644
index 00000000..15714df4
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/leftwinkfrown.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwink.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwink.png
new file mode 100644
index 00000000..0b10f2cb
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwink.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwinkfrown.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwinkfrown.png
new file mode 100644
index 00000000..964556e3
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/rightwinkfrown.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/drawable/smile.png b/Android/Android Apps/Emojifier/app/src/main/res/drawable/smile.png
new file mode 100644
index 00000000..aeb2c940
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/drawable/smile.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/Emojifier/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..4c42b60b
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..64a4b420
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..1fc99dea
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..f5aeb96c
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..29edb114
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..bb2a3fab
Binary files /dev/null and b/Android/Android Apps/Emojifier/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/values-w820dp/dimens.xml b/Android/Android Apps/Emojifier/app/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 00000000..eafba7b5
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,19 @@
+
+
+
+ 64dp
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/values/colors.xml b/Android/Android Apps/Emojifier/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..fa3be71f
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/values/colors.xml
@@ -0,0 +1,20 @@
+
+
+
+
+ #FBC136
+ #E19F05
+ #FF4081
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/values/dimens.xml b/Android/Android Apps/Emojifier/app/src/main/res/values/dimens.xml
new file mode 100644
index 00000000..73a9dc0c
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/values/dimens.xml
@@ -0,0 +1,21 @@
+
+
+
+ 16dp
+ 16dp
+ 56dp
+ 16dp
+ 45dp
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/values/strings.xml b/Android/Android Apps/Emojifier/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..d357a100
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/values/strings.xml
@@ -0,0 +1,27 @@
+
+
+ Emojify
+ Emojify Me!
+ No Emoji Expression Found
+ Images was deleted!
+ Image deletion failed
+ Image Saved at %1$s
+ Image not saved!
+ Error finding image
+ GO
+ Permission denied
+ The imageview that contains the emojified picture
+ No faces detected
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/values/styles.xml b/Android/Android Apps/Emojifier/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..0c54216b
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/values/styles.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/main/res/xml/file_paths.xml b/Android/Android Apps/Emojifier/app/src/main/res/xml/file_paths.xml
new file mode 100644
index 00000000..da5d3087
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/main/res/xml/file_paths.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
diff --git a/Android/Android Apps/Emojifier/app/src/test/java/com/example/android/emojify/ExampleUnitTest.java b/Android/Android Apps/Emojifier/app/src/test/java/com/example/android/emojify/ExampleUnitTest.java
new file mode 100644
index 00000000..65535002
--- /dev/null
+++ b/Android/Android Apps/Emojifier/app/src/test/java/com/example/android/emojify/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.android.emojify;
+
+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() throws Exception {
+ assertEquals(4, 2 + 2);
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Emojifier/build.gradle b/Android/Android Apps/Emojifier/build.gradle
new file mode 100644
index 00000000..0cc143e0
--- /dev/null
+++ b/Android/Android Apps/Emojifier/build.gradle
@@ -0,0 +1,25 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ repositories {
+ jcenter()
+ google()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.3'
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ google()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/Android/Android Apps/Emojifier/gradle.properties b/Android/Android Apps/Emojifier/gradle.properties
new file mode 100644
index 00000000..aac7c9b4
--- /dev/null
+++ b/Android/Android Apps/Emojifier/gradle.properties
@@ -0,0 +1,17 @@
+# 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=-Xmx1536m
+
+# 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
diff --git a/Android/Android Apps/Emojifier/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/Emojifier/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..58cab355
--- /dev/null
+++ b/Android/Android Apps/Emojifier/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sun Jan 19 11:50:06 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
diff --git a/Android/Android Apps/Emojifier/gradlew b/Android/Android Apps/Emojifier/gradlew
new file mode 100644
index 00000000..9d82f789
--- /dev/null
+++ b/Android/Android Apps/Emojifier/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# 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
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# 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
+
+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" ] ; 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/Android/Android Apps/Emojifier/gradlew.bat b/Android/Android Apps/Emojifier/gradlew.bat
new file mode 100644
index 00000000..8a0b282a
--- /dev/null
+++ b/Android/Android Apps/Emojifier/gradlew.bat
@@ -0,0 +1,90 @@
+@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
+
+@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=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/Emojifier/settings.gradle b/Android/Android Apps/Emojifier/settings.gradle
new file mode 100644
index 00000000..e7b4def4
--- /dev/null
+++ b/Android/Android Apps/Emojifier/settings.gradle
@@ -0,0 +1 @@
+include ':app'
diff --git a/Android/Android Apps/FlappyBird/.gitignore b/Android/Android Apps/FlappyBird/.gitignore
new file mode 100644
index 00000000..ecc1c89a
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/.gitignore
@@ -0,0 +1,127 @@
+## Java
+
+*.class
+*.war
+*.ear
+hs_err_pid*
+
+## Robovm
+/ios/robovm-build/
+
+## GWT
+/html/war/
+/html/gwt-unitCache/
+.apt_generated/
+.gwt/
+gwt-unitCache/
+www-test/
+.gwt-tmp/
+
+## Android Studio and Intellij and Android in general
+/android/libs/armeabi/
+/android/libs/armeabi-v7a/
+/android/libs/arm64-v8a/
+/android/libs/x86/
+/android/libs/x86_64/
+/android/gen/
+.idea/
+*.ipr
+*.iws
+*.iml
+/android/out/
+com_crashlytics_export_strings.xml
+
+## Eclipse
+
+.classpath
+.project
+.metadata/
+/android/bin/
+/core/bin/
+/desktop/bin/
+/html/bin/
+/ios/bin/
+/ios-moe/bin/
+*.tmp
+*.bak
+*.swp
+*~.nib
+.settings/
+.loadpath
+.externalToolBuilders/
+*.launch
+
+## NetBeans
+
+/nbproject/private/
+/android/nbproject/private/
+/core/nbproject/private/
+/desktop/nbproject/private/
+/html/nbproject/private/
+/ios/nbproject/private/
+/ios-moe/nbproject/private/
+
+/build/
+/android/build/
+/core/build/
+/desktop/build/
+/html/build/
+/ios/build/
+/ios-moe/build/
+
+/nbbuild/
+/android/nbbuild/
+/core/nbbuild/
+/desktop/nbbuild/
+/html/nbbuild/
+/ios/nbbuild/
+/ios-moe/nbbuild/
+
+/dist/
+/android/dist/
+/core/dist/
+/desktop/dist/
+/html/dist/
+/ios/dist/
+/ios-moe/dist/
+
+/nbdist/
+/android/nbdist/
+/core/nbdist/
+/desktop/nbdist/
+/html/nbdist/
+/ios/nbdist/
+/ios-moe/nbdist/
+
+nbactions.xml
+nb-configuration.xml
+
+## Gradle
+
+/local.properties
+.gradle/
+gradle-app.setting
+/build/
+/android/build/
+/core/build/
+/desktop/build/
+/html/build/
+/ios/build/
+/ios-moe/build/
+
+## OS Specific
+.DS_Store
+Thumbs.db
+
+## iOS
+/ios/xcode/*.xcodeproj/*
+!/ios/xcode/*.xcodeproj/xcshareddata
+!/ios/xcode/*.xcodeproj/project.pbxproj
+/ios/xcode/native/
+/ios/IOSLauncher.app
+/ios/IOSLauncher.app.dSYM
+
+/ios-moe/xcode/*.xcodeproj/*
+!/ios-moe/xcode/*.xcodeproj/xcshareddata
+!/ios-moe/xcode/*.xcodeproj/project.pbxproj
+/ios-moe/xcode/native/
diff --git a/Android/Android Apps/FlappyBird/README.md b/Android/Android Apps/FlappyBird/README.md
new file mode 100644
index 00000000..dc569cbc
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/README.md
@@ -0,0 +1,20 @@
+#Concepts used
+
+- Game Loop
+- libGdx (Open Source Game Deveopment Library)
+- working with resources
+- animation
+
+#Documentation and resources used
+
+- For learning libGdx
+https://libgdx.com/dev/
+
+- Full Tutorial of flappy bird
+https://gamefromscratch.com/guest-tutorial-making-flappy-bird-using-overlap2d-and-libgdx/
+
+
+#Future Aspects of the app
+
+- can make newer characters and obstacles
+- can add more complexity to the UI
\ No newline at end of file
diff --git a/Android/Android Apps/FlappyBird/android/AndroidManifest.xml b/Android/Android Apps/FlappyBird/android/AndroidManifest.xml
new file mode 100644
index 00000000..0554a8de
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/AndroidManifest.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/FlappyBird/android/assets/badlogic.jpg b/Android/Android Apps/FlappyBird/android/assets/badlogic.jpg
new file mode 100644
index 00000000..4390da6e
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/badlogic.jpg differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/bg.png b/Android/Android Apps/FlappyBird/android/assets/bg.png
new file mode 100755
index 00000000..452d8dc5
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/bg.png differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/bird.png b/Android/Android Apps/FlappyBird/android/assets/bird.png
new file mode 100755
index 00000000..e47b74c6
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/bird.png differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/bird2.png b/Android/Android Apps/FlappyBird/android/assets/bird2.png
new file mode 100755
index 00000000..ea21b852
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/bird2.png differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/bottomtube.png b/Android/Android Apps/FlappyBird/android/assets/bottomtube.png
new file mode 100755
index 00000000..5543e988
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/bottomtube.png differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/gameover.jpg b/Android/Android Apps/FlappyBird/android/assets/gameover.jpg
new file mode 100644
index 00000000..56a388bb
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/gameover.jpg differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/over.png b/Android/Android Apps/FlappyBird/android/assets/over.png
new file mode 100644
index 00000000..faadcc02
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/over.png differ
diff --git a/Android/Android Apps/FlappyBird/android/assets/toptube.png b/Android/Android Apps/FlappyBird/android/assets/toptube.png
new file mode 100755
index 00000000..e9cbf5c2
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/assets/toptube.png differ
diff --git a/Android/Android Apps/FlappyBird/android/build.gradle b/Android/Android Apps/FlappyBird/android/build.gradle
new file mode 100644
index 00000000..2b601584
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/build.gradle
@@ -0,0 +1,90 @@
+android {
+ buildToolsVersion "29.0.2"
+ compileSdkVersion 29
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src']
+ aidl.srcDirs = ['src']
+ renderscript.srcDirs = ['src']
+ res.srcDirs = ['res']
+ assets.srcDirs = ['assets']
+ jniLibs.srcDirs = ['libs']
+ }
+
+ }
+ packagingOptions {
+ exclude 'META-INF/robovm/ios/robovm.xml'
+ }
+ defaultConfig {
+ applicationId "com.mygdx.game"
+ minSdkVersion 14
+ targetSdkVersion 29
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+
+// called every time gradle gets executed, takes the native dependencies of
+// the natives configuration, and extracts them to the proper libs/ folders
+// so they get packed with the APK.
+task copyAndroidNatives {
+ doFirst {
+ file("libs/armeabi/").mkdirs()
+ file("libs/armeabi-v7a/").mkdirs()
+ file("libs/arm64-v8a/").mkdirs()
+ file("libs/x86_64/").mkdirs()
+ file("libs/x86/").mkdirs()
+
+ configurations.natives.files.each { jar ->
+ def outputDir = null
+ if (jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
+ if (jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
+ if(jar.name.endsWith("natives-armeabi.jar")) outputDir = file("libs/armeabi")
+ if(jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
+ if(jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
+ if(outputDir != null) {
+ copy {
+ from zipTree(jar)
+ into outputDir
+ include "*.so"
+ }
+ }
+ }
+ }
+}
+
+tasks.whenTaskAdded { packageTask ->
+ if (packageTask.name.contains("package")) {
+ packageTask.dependsOn 'copyAndroidNatives'
+ }
+}
+
+task run(type: Exec) {
+ def path
+ def localProperties = project.file("../local.properties")
+ if (localProperties.exists()) {
+ Properties properties = new Properties()
+ localProperties.withInputStream { instr ->
+ properties.load(instr)
+ }
+ def sdkDir = properties.getProperty('sdk.dir')
+ if (sdkDir) {
+ path = sdkDir
+ } else {
+ path = "$System.env.ANDROID_HOME"
+ }
+ } else {
+ path = "$System.env.ANDROID_HOME"
+ }
+
+ def adb = path + "/platform-tools/adb"
+ commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.mygdx.game/com.mygdx.game.AndroidLauncher'
+}
diff --git a/Android/Android Apps/FlappyBird/android/ic_launcher-web.png b/Android/Android Apps/FlappyBird/android/ic_launcher-web.png
new file mode 100644
index 00000000..8f0110dd
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/ic_launcher-web.png differ
diff --git a/Android/Android Apps/FlappyBird/android/proguard-rules.pro b/Android/Android Apps/FlappyBird/android/proguard-rules.pro
new file mode 100644
index 00000000..b166b1e8
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/proguard-rules.pro
@@ -0,0 +1,45 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# 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 *;
+#}
+
+-verbose
+
+-dontwarn android.support.**
+-dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
+-dontwarn com.badlogic.gdx.utils.GdxBuild
+-dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
+-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
+-dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild
+
+-keep class com.badlogic.gdx.controllers.android.AndroidControllers
+
+-keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
+ (com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
+}
+
+-keepclassmembers class com.badlogic.gdx.physics.box2d.World {
+ boolean contactFilter(long, long);
+ void beginContact(long);
+ void endContact(long);
+ void preSolve(long, long);
+ void postSolve(long, long);
+ boolean reportFixture(long);
+ float reportRayFixture(long, float, float, float, float, float);
+}
diff --git a/Android/Android Apps/FlappyBird/android/project.properties b/Android/Android Apps/FlappyBird/android/project.properties
new file mode 100644
index 00000000..3fefa926
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/project.properties
@@ -0,0 +1,9 @@
+# This file is used by the Eclipse ADT plugin. It is unnecessary for IDEA and Android Studio projects, which
+# configure Proguard and the Android target via the build.gradle file.
+
+# To enable ProGuard to work with Eclipse ADT, uncomment this (available properties: sdk.dir, user.home)
+# and ensure proguard.jar in the Android SDK is up to date (or alternately reduce the android target to 23 or lower):
+# proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-rules.pro
+
+# Project target.
+target=android-19
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher.xml b/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..6c7313ae
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml b/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml
new file mode 100644
index 00000000..5916ee8f
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/res/drawable-anydpi-v26/ic_launcher_foreground.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-hdpi/ic_launcher.png b/Android/Android Apps/FlappyBird/android/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 00000000..91f696b4
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/res/drawable-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-mdpi/ic_launcher.png b/Android/Android Apps/FlappyBird/android/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c1ab239c
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/res/drawable-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-xhdpi/ic_launcher.png b/Android/Android Apps/FlappyBird/android/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..2011cc00
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-xxhdpi/ic_launcher.png b/Android/Android Apps/FlappyBird/android/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..25fcef03
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/res/drawable-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/FlappyBird/android/res/drawable-xxxhdpi/ic_launcher.png b/Android/Android Apps/FlappyBird/android/res/drawable-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..d1099464
Binary files /dev/null and b/Android/Android Apps/FlappyBird/android/res/drawable-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/FlappyBird/android/res/values/color.xml b/Android/Android Apps/FlappyBird/android/res/values/color.xml
new file mode 100644
index 00000000..933353e0
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/res/values/color.xml
@@ -0,0 +1,4 @@
+
+
+ #FFFFFFFF
+
diff --git a/Android/Android Apps/FlappyBird/android/res/values/strings.xml b/Android/Android Apps/FlappyBird/android/res/values/strings.xml
new file mode 100644
index 00000000..2e43c089
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/res/values/strings.xml
@@ -0,0 +1,6 @@
+
+
+
+ FlappyBird
+
+
diff --git a/Android/Android Apps/FlappyBird/android/res/values/styles.xml b/Android/Android Apps/FlappyBird/android/res/values/styles.xml
new file mode 100644
index 00000000..3f00fc5a
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/res/values/styles.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
diff --git a/Android/Android Apps/FlappyBird/android/src/com/mygdx/game/AndroidLauncher.java b/Android/Android Apps/FlappyBird/android/src/com/mygdx/game/AndroidLauncher.java
new file mode 100644
index 00000000..75907665
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/android/src/com/mygdx/game/AndroidLauncher.java
@@ -0,0 +1,16 @@
+package com.mygdx.game;
+
+import android.os.Bundle;
+
+import com.badlogic.gdx.backends.android.AndroidApplication;
+import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
+import com.mygdx.game.FlappyBird;
+
+public class AndroidLauncher extends AndroidApplication {
+ @Override
+ protected void onCreate (Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
+ initialize(new FlappyBird(), config);
+ }
+}
diff --git a/Android/Android Apps/FlappyBird/build.gradle b/Android/Android Apps/FlappyBird/build.gradle
new file mode 100644
index 00000000..1195331d
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/build.gradle
@@ -0,0 +1,73 @@
+buildscript {
+
+
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ maven { url "https://plugins.gradle.org/m2/" }
+ maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
+ jcenter()
+ google()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.6.1'
+
+
+ }
+}
+
+allprojects {
+
+ version = '1.0'
+ ext {
+ appName = "FlappyBird"
+ gdxVersion = '1.9.10'
+ roboVMVersion = '2.3.8'
+ box2DLightsVersion = '1.4'
+ ashleyVersion = '1.7.0'
+ aiVersion = '1.8.0'
+ }
+
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ jcenter()
+ google()
+ maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
+ maven { url "https://oss.sonatype.org/content/repositories/releases/" }
+ }
+}
+
+project(":android") {
+ apply plugin: "android"
+
+ configurations { natives }
+
+ dependencies {
+ implementation project(":core")
+ api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
+ natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
+ natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
+ natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
+ natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
+ natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
+ api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
+ natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
+ natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
+ natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
+ natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
+ natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
+
+ }
+}
+
+project(":core") {
+ apply plugin: "java-library"
+
+
+ dependencies {
+ api "com.badlogicgames.gdx:gdx:$gdxVersion"
+ api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
+
+ }
+}
diff --git a/Android/Android Apps/FlappyBird/core/build.gradle b/Android/Android Apps/FlappyBird/core/build.gradle
new file mode 100644
index 00000000..c43e77e5
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/core/build.gradle
@@ -0,0 +1,6 @@
+apply plugin: "java"
+
+sourceCompatibility = 1.7
+[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
+
+sourceSets.main.java.srcDirs = [ "src/" ]
diff --git a/Android/Android Apps/FlappyBird/core/src/com/mygdx/game/FlappyBird.java b/Android/Android Apps/FlappyBird/core/src/com/mygdx/game/FlappyBird.java
new file mode 100644
index 00000000..76e6c0e0
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/core/src/com/mygdx/game/FlappyBird.java
@@ -0,0 +1,226 @@
+package com.mygdx.game;
+
+import com.badlogic.gdx.ApplicationAdapter;
+import com.badlogic.gdx.Gdx;
+import com.badlogic.gdx.graphics.Color;
+import com.badlogic.gdx.graphics.GL20;
+import com.badlogic.gdx.graphics.Texture;
+import com.badlogic.gdx.graphics.g2d.BitmapFont;
+import com.badlogic.gdx.graphics.g2d.SpriteBatch;
+import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
+import com.badlogic.gdx.math.Circle;
+import com.badlogic.gdx.math.Intersector;
+import com.badlogic.gdx.math.Rectangle;
+
+import java.util.Random;
+
+import sun.rmi.runtime.Log;
+
+public class FlappyBird extends ApplicationAdapter {
+ SpriteBatch batch;
+ Texture background; //texture is nothing but an image
+ Texture[] bird;
+ Texture topTube , bottomTube;
+ int flapState = 0 ; //to change the flapping pictures one after another
+
+ //for the position and velocity of the bird falling due to gravity
+ float birdY = 0;//only the Y will be changed
+ float velocity = 0;
+
+ int gameState = 0 ;//to set gravity in the game
+ float gravity = 2 ; //how much gravity to put in
+ float gap = 400; // gap between tubes
+ float maxTubeOffset ; //amount that the tubes are moved up or down
+ Random random; //for randomizing the gap of the pipes
+ float tubeVelocity = 4; //moving veloity of tubes
+
+ //we need to create 4 sets of tubes and we would reset thhem when they cross to the left of the screen
+ //we need to spearate them half of the screen width apart
+ int numberOfTubes = 4 ;
+ float[] tubeX = new float[numberOfTubes];//movemnt of tubes to the left
+ float[] tubeOffset = new float[numberOfTubes];
+ float distanceBetweenTubes;
+
+ //for collision dectection we need to give shapes to the tube and the bird
+ Circle birdCircle ;
+ Rectangle[] bottomRectangle,topRectangle;
+ ShapeRenderer shapeRenderer;
+
+ //for the scoring
+ int score = 0;
+ int scoringTube = 0 ;
+
+ //to display the score
+ BitmapFont font;
+
+ Texture gameOver;
+
+ public void startAgain()
+ {
+ birdY=Gdx.graphics.getHeight()/2 - bird[flapState].getHeight()/2;
+
+ for (int i =0 ;ia number between 0 and 1
+ //this gives the the max and the min value of tube shift
+
+ tubeX[i] = Gdx.graphics.getWidth()/2 -topTube.getWidth()/2 + Gdx.graphics.getWidth() + i*distanceBetweenTubes;
+
+ topRectangle[i]= new Rectangle();
+ bottomRectangle[i] = new Rectangle();
+
+ }
+ }
+
+ @Override
+ public void create () { //ran once at start
+ batch = new SpriteBatch();
+ background = new Texture("bg.png"); //creating my background at start
+ bird = new Texture[2];
+ bird[0]= new Texture("bird.png");
+ bird[1] = new Texture("bird2.png");
+
+ topTube = new Texture("toptube.png");
+ bottomTube = new Texture("bottomtube.png");
+ maxTubeOffset = Gdx.graphics.getHeight()/2 - gap/2 - 100 ;
+ random = new Random();
+ distanceBetweenTubes = Gdx.graphics.getWidth()*3/4;//distance between tubes are 3 quarters of the screen width
+
+ shapeRenderer = new ShapeRenderer();
+ birdCircle = new Circle();
+ bottomRectangle = new Rectangle[numberOfTubes];
+ topRectangle = new Rectangle[numberOfTubes];
+ font = new BitmapFont();
+ font.setColor(Color.WHITE);
+ font.getData().setScale(10); // how large the font is
+
+ gameOver = new Texture("over.png");
+
+ startAgain();
+ }
+
+ @Override
+ public void render () //runs continuously
+ {
+ batch.begin();
+ batch.draw(background,0,0,Gdx.graphics.getWidth(),Gdx.graphics.getHeight()); //draw my background and making it fullscreen
+ batch.draw(bird[flapState], Gdx.graphics.getWidth()/2 - bird[flapState].getHeight()/2,birdY);
+
+ //to give the bird an appearance of flapping its wings
+ if (flapState == 0)
+ flapState=1;
+ else
+ flapState =0;
+
+
+ if (gameState ==1) {
+
+ //to establish the scoring system
+ if (tubeX[scoringTube] < Gdx.graphics.getWidth()/2)//if the tube has moved to the left of the center of screen
+ {
+ score++;
+ if (scoringTube < numberOfTubes - 1)
+ scoringTube++;
+ else
+ scoringTube = 0 ;
+ }
+ if (Gdx.input.justTouched()) // to push the bird up
+ {
+ velocity = -20;
+
+ }
+
+
+
+ for (int i =0 ;i 0) { // makes the bird stop dissappearing from the bottom of the screen
+ //increase velocity each time a render is called
+ velocity = velocity + gravity;
+ birdY = birdY - velocity;
+ }
+ else
+ gameState = 2 ;
+ }
+ else if (gameState == 0)
+ {
+ if (Gdx.input.justTouched())//logs message when touched
+ {
+ gameState=1;
+ }
+ }
+ else if (gameState ==2)
+ {
+ batch.draw(gameOver , Gdx.graphics.getWidth()/2 - gameOver.getWidth()/2 , Gdx.graphics.getHeight()/2 - gameOver.getHeight()/2);
+ font.draw(batch , String.valueOf(score) ,100,200);
+
+ if (Gdx.input.justTouched())//logs message when touched
+ {
+ gameState=1;
+ startAgain();
+ velocity = 0;
+ score = 0;
+ scoringTube = 0 ;
+ }
+ }
+
+
+ batch.end();
+
+ //x and y coordinate of the circle and the radius
+ birdCircle.set(Gdx.graphics.getWidth()/2 , birdY + bird[flapState].getHeight()/2 ,bird[flapState].getHeight()/2 );
+ for(int i =0 ; i< numberOfTubes;i++)
+ {
+ topRectangle[i].set(tubeX[i], Gdx.graphics.getHeight() / 2 + gap / 2 + tubeOffset[i], topTube.getWidth(), topTube.getHeight());
+ bottomRectangle[i].set(tubeX[i], Gdx.graphics.getHeight()/2 - gap/2 - bottomTube.getHeight() + tubeOffset[i], topTube.getWidth(), topTube.getHeight());
+
+ }
+ //shape rendered just gives color to the shapes
+ //shapeRenderer.begin(ShapeRenderer.ShapeType.Filled);
+ //shapeRenderer.setColor(Color.RED);
+ //shapeRenderer.circle(birdCircle.x,birdCircle.y,birdCircle.radius);
+ for (int j = 0 ; j< numberOfTubes ; j++ )
+ {
+ //shapeRenderer.rect(topRectangle[j].x,topRectangle[j].y,topRectangle[j].width,topRectangle[j].getHeight());
+ //shapeRenderer.rect(bottomRectangle[j].x,bottomRectangle[j].y,bottomRectangle[j].width,bottomRectangle[j].getHeight());
+
+ //check to see if the circle and the rectangle intersect
+ if(Intersector.overlaps(birdCircle, topRectangle[j]) || Intersector.overlaps(birdCircle,bottomRectangle[j]))
+ {
+ //Gdx.app.log("MEssage " , "Yes");
+ //gameover is given by the the gamestate of 2
+ gameState = 2;
+
+ }
+
+ }
+ //shapeRenderer.end();
+
+ }
+
+ @Override
+ public void dispose () {
+ batch.dispose();
+ background.dispose();
+
+ }
+}
diff --git a/Android/Android Apps/FlappyBird/gradle.properties b/Android/Android Apps/FlappyBird/gradle.properties
new file mode 100644
index 00000000..ff329ac3
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.daemon=true
+org.gradle.jvmargs=-Xms128m -Xmx1500m
+org.gradle.configureondemand=false
diff --git a/Android/Android Apps/FlappyBird/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/FlappyBird/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..4deb73d8
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Apr 29 20:32:18 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
diff --git a/Android/Android Apps/FlappyBird/gradlew b/Android/Android Apps/FlappyBird/gradlew
new file mode 100755
index 00000000..b0d6d0ab
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/gradlew
@@ -0,0 +1,188 @@
+#!/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
+#
+# http://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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/FlappyBird/gradlew.bat b/Android/Android Apps/FlappyBird/gradlew.bat
new file mode 100644
index 00000000..9991c503
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/gradlew.bat
@@ -0,0 +1,100 @@
+@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 http://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 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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/FlappyBird/settings.gradle b/Android/Android Apps/FlappyBird/settings.gradle
new file mode 100644
index 00000000..54d7466f
--- /dev/null
+++ b/Android/Android Apps/FlappyBird/settings.gradle
@@ -0,0 +1 @@
+include 'android', 'core'
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/.gitignore b/Android/Android Apps/Friendly-Chat-App/.gitignore
new file mode 100644
index 00000000..89d40618
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/.gitignore
@@ -0,0 +1,7 @@
+*.iml
+.idea
+.gradle
+local.properties
+build
+app/google-services.json
+.DS_Store
diff --git a/Android/Android Apps/Friendly-Chat-App/LICENSE b/Android/Android Apps/Friendly-Chat-App/LICENSE
new file mode 100644
index 00000000..9faf1086
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/LICENSE
@@ -0,0 +1,212 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2015 Google Inc
+
+ 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
+
+ http://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.
+
+ All code in any directories or sub-directories that end with *.html or
+ *.css is licensed under the Creative Commons Attribution International
+ 4.0 License, which full text can be found here:
+ https://creativecommons.org/licenses/by/4.0/legalcode.
+
+ As an exception to this license, all html or css that is generated by
+ the software at the direction of the user is copyright the user. The
+ user has full ownership and control over such content, including
+ whether and how they wish to license it.
diff --git a/Android/Android Apps/Friendly-Chat-App/README.md b/Android/Android Apps/Friendly-Chat-App/README.md
new file mode 100644
index 00000000..39c6b0e8
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/README.md
@@ -0,0 +1,14 @@
+# FriendlyChat
+
+This repository contains code for the FriendlyChat project in the [Firebase in a Weekend: Android by Google](https://www.udacity.com/course/firebase-in-a-weekend-by-google-android--ud0352) Udacity course.
+
+## Overview
+
+FriendlyChat is an app that allows users to send and receive text and photos in realtime across platforms.
+
+## Setup
+
+Setup requires creating a Firebase project. See https://firebase.google.com/ for more information.
+
+## License
+See [LICENSE](LICENSE)
diff --git a/Android/Android Apps/Friendly-Chat-App/app/.gitignore b/Android/Android Apps/Friendly-Chat-App/app/.gitignore
new file mode 100644
index 00000000..796b96d1
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/Android/Android Apps/Friendly-Chat-App/app/build.gradle b/Android/Android Apps/Friendly-Chat-App/app/build.gradle
new file mode 100644
index 00000000..2be906ee
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/build.gradle
@@ -0,0 +1,43 @@
+apply plugin: 'com.android.application'
+
+repositories {
+ mavenLocal()
+ flatDir {
+ dirs 'libs'
+ }
+}
+
+android {
+ compileSdkVersion 24
+ buildToolsVersion '28.0.3'
+
+ defaultConfig {
+ applicationId "com.google.firebase.udacity.friendlychat"
+ minSdkVersion 16
+ targetSdkVersion 24
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+ packagingOptions {
+ exclude 'META-INF/LICENSE'
+ exclude 'META-INF/LICENSE-FIREBASE.txt'
+ exclude 'META-INF/NOTICE'
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ testImplementation 'junit:junit:4.12'
+
+ implementation 'com.android.support:design:24.2.0'
+ implementation 'com.android.support:appcompat-v7:24.2.0'
+
+ // Displaying images
+ implementation 'com.github.bumptech.glide:glide:3.6.1'
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/app/proguard-rules.pro b/Android/Android Apps/Friendly-Chat-App/app/proguard-rules.pro
new file mode 100644
index 00000000..5cda7c20
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/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 ~/android/sdk/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/Android/Android Apps/Friendly-Chat-App/app/src/main/AndroidManifest.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..bcd0e213
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/FriendlyMessage.java b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/FriendlyMessage.java
new file mode 100644
index 00000000..e5e65844
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/FriendlyMessage.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * http://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.
+ */
+package com.google.firebase.udacity.friendlychat;
+
+public class FriendlyMessage {
+
+ private String text;
+ private String name;
+ private String photoUrl;
+
+ public FriendlyMessage() {
+ }
+
+ public FriendlyMessage(String text, String name, String photoUrl) {
+ this.text = text;
+ this.name = name;
+ this.photoUrl = photoUrl;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPhotoUrl() {
+ return photoUrl;
+ }
+
+ public void setPhotoUrl(String photoUrl) {
+ this.photoUrl = photoUrl;
+ }
+}
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MainActivity.java b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MainActivity.java
new file mode 100644
index 00000000..9fa97fdf
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MainActivity.java
@@ -0,0 +1,126 @@
+/**
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * http://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.
+ */
+package com.google.firebase.udacity.friendlychat;
+
+import android.os.Bundle;
+import android.support.v7.app.AppCompatActivity;
+import android.text.Editable;
+import android.text.InputFilter;
+import android.text.TextWatcher;
+import android.view.Menu;
+import android.view.MenuInflater;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.ImageButton;
+import android.widget.ListView;
+import android.widget.ProgressBar;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class MainActivity extends AppCompatActivity {
+
+ private static final String TAG = "MainActivity";
+
+ public static final String ANONYMOUS = "anonymous";
+ public static final int DEFAULT_MSG_LENGTH_LIMIT = 1000;
+
+ private ListView mMessageListView;
+ private MessageAdapter mMessageAdapter;
+ private ProgressBar mProgressBar;
+ private ImageButton mPhotoPickerButton;
+ private EditText mMessageEditText;
+ private Button mSendButton;
+
+ private String mUsername;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ mUsername = ANONYMOUS;
+
+ // Initialize references to views
+ mProgressBar = (ProgressBar) findViewById(R.id.progressBar);
+ mMessageListView = (ListView) findViewById(R.id.messageListView);
+ mPhotoPickerButton = (ImageButton) findViewById(R.id.photoPickerButton);
+ mMessageEditText = (EditText) findViewById(R.id.messageEditText);
+ mSendButton = (Button) findViewById(R.id.sendButton);
+
+ // Initialize message ListView and its adapter
+ List friendlyMessages = new ArrayList<>();
+ mMessageAdapter = new MessageAdapter(this, R.layout.item_message, friendlyMessages);
+ mMessageListView.setAdapter(mMessageAdapter);
+
+ // Initialize progress bar
+ mProgressBar.setVisibility(ProgressBar.INVISIBLE);
+
+ // ImagePickerButton shows an image picker to upload a image for a message
+ mPhotoPickerButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ // TODO: Fire an intent to show an image picker
+ }
+ });
+
+ // Enable Send button when there's text to send
+ mMessageEditText.addTextChangedListener(new TextWatcher() {
+ @Override
+ public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {
+ }
+
+ @Override
+ public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
+ if (charSequence.toString().trim().length() > 0) {
+ mSendButton.setEnabled(true);
+ } else {
+ mSendButton.setEnabled(false);
+ }
+ }
+
+ @Override
+ public void afterTextChanged(Editable editable) {
+ }
+ });
+ mMessageEditText.setFilters(new InputFilter[]{new InputFilter.LengthFilter(DEFAULT_MSG_LENGTH_LIMIT)});
+
+ // Send button sends a message and clears the EditText
+ mSendButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ // TODO: Send messages on click
+
+ // Clear input box
+ mMessageEditText.setText("");
+ }
+ });
+ }
+
+ @Override
+ public boolean onCreateOptionsMenu(Menu menu) {
+ MenuInflater inflater = getMenuInflater();
+ inflater.inflate(R.menu.main_menu, menu);
+ return true;
+ }
+
+ @Override
+ public boolean onOptionsItemSelected(MenuItem item) {
+ return super.onOptionsItemSelected(item);
+ }
+}
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MessageAdapter.java b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MessageAdapter.java
new file mode 100644
index 00000000..4a6d2eee
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/java/com/google/firebase/udacity/friendlychat/MessageAdapter.java
@@ -0,0 +1,49 @@
+package com.google.firebase.udacity.friendlychat;
+
+import android.app.Activity;
+import android.content.Context;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ArrayAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.bumptech.glide.Glide;
+
+import java.util.List;
+
+public class MessageAdapter extends ArrayAdapter {
+ public MessageAdapter(Context context, int resource, List objects) {
+ super(context, resource, objects);
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ if (convertView == null) {
+ convertView = ((Activity) getContext()).getLayoutInflater().inflate(R.layout.item_message, parent, false);
+ }
+
+ ImageView photoImageView = (ImageView) convertView.findViewById(R.id.photoImageView);
+ TextView messageTextView = (TextView) convertView.findViewById(R.id.messageTextView);
+ TextView authorTextView = (TextView) convertView.findViewById(R.id.nameTextView);
+
+ FriendlyMessage message = getItem(position);
+
+ assert message != null;
+ boolean isPhoto = message.getPhotoUrl() != null;
+ if (isPhoto) {
+ messageTextView.setVisibility(View.GONE);
+ photoImageView.setVisibility(View.VISIBLE);
+ Glide.with(photoImageView.getContext())
+ .load(message.getPhotoUrl())
+ .into(photoImageView);
+ } else {
+ messageTextView.setVisibility(View.VISIBLE);
+ photoImageView.setVisibility(View.GONE);
+ messageTextView.setText(message.getText());
+ }
+ authorTextView.setText(message.getName());
+
+ return convertView;
+ }
+}
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/drawable/button_selector.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/drawable/button_selector.xml
new file mode 100644
index 00000000..7bd7080a
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/drawable/button_selector.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..7e69422a
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/item_message.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/item_message.xml
new file mode 100644
index 00000000..d25394f5
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/layout/item_message.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/menu/main_menu.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/menu/main_menu.xml
new file mode 100644
index 00000000..d9cc286c
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/menu/main_menu.xml
@@ -0,0 +1,8 @@
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..7dc3e0b5
Binary files /dev/null and b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..ae49b811
Binary files /dev/null and b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..974f9cf8
Binary files /dev/null and b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..25109fdd
Binary files /dev/null and b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..4347c4a9
Binary files /dev/null and b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values-w820dp/dimens.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 00000000..63fc8164
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+
+
+ 64dp
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/colors.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..69c876c9
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/colors.xml
@@ -0,0 +1,7 @@
+
+
+ #FF9800
+ #E65100
+ #2E7D32
+ #ffffff
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/dimens.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/dimens.xml
new file mode 100644
index 00000000..47c82246
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+
+
+ 16dp
+ 16dp
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/strings.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..8bf7fbac
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/strings.xml
@@ -0,0 +1,5 @@
+
+ Friendly Chat
+ Sign Out
+ Send
+
diff --git a/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/styles.xml b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..c2173812
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/app/src/main/res/values/styles.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Friendly-Chat-App/build.gradle b/Android/Android Apps/Friendly-Chat-App/build.gradle
new file mode 100644
index 00000000..5ef203bb
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/build.gradle
@@ -0,0 +1,27 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ repositories {
+ jcenter()
+ mavenLocal()
+ google()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.2.1'
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ google()
+ mavenLocal()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/Android/Android Apps/Friendly-Chat-App/gradle.properties b/Android/Android Apps/Friendly-Chat-App/gradle.properties
new file mode 100644
index 00000000..1d3591c8
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/gradle.properties
@@ -0,0 +1,18 @@
+# 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.
+# Default value: -Xmx10248m -XX:MaxPermSize=256m
+# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -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
\ No newline at end of file
diff --git a/Android/Android Apps/Friendly-Chat-App/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/Friendly-Chat-App/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..6cf1bd1f
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Dec 12 15:27:13 IST 2018
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
diff --git a/Android/Android Apps/Friendly-Chat-App/gradlew b/Android/Android Apps/Friendly-Chat-App/gradlew
new file mode 100644
index 00000000..9d82f789
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# 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
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# 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
+
+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" ] ; 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/Android/Android Apps/Friendly-Chat-App/gradlew.bat b/Android/Android Apps/Friendly-Chat-App/gradlew.bat
new file mode 100644
index 00000000..8a0b282a
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/gradlew.bat
@@ -0,0 +1,90 @@
+@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
+
+@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=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/Friendly-Chat-App/settings.gradle b/Android/Android Apps/Friendly-Chat-App/settings.gradle
new file mode 100644
index 00000000..e7b4def4
--- /dev/null
+++ b/Android/Android Apps/Friendly-Chat-App/settings.gradle
@@ -0,0 +1 @@
+include ':app'
diff --git a/Android/Android Apps/GithubProfilesApp/.idea/.name b/Android/Android Apps/GithubProfilesApp/.idea/.name
new file mode 100644
index 00000000..72492e6e
--- /dev/null
+++ b/Android/Android Apps/GithubProfilesApp/.idea/.name
@@ -0,0 +1 @@
+Github Profiles App
\ No newline at end of file
diff --git a/Android/Android Apps/GithubProfilesApp/.idea/assetWizardSettings.xml b/Android/Android Apps/GithubProfilesApp/.idea/assetWizardSettings.xml
new file mode 100644
index 00000000..d4022c1e
--- /dev/null
+++ b/Android/Android Apps/GithubProfilesApp/.idea/assetWizardSettings.xml
@@ -0,0 +1,298 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/GithubProfilesApp/.idea/caches/build_file_checksums.ser b/Android/Android Apps/GithubProfilesApp/.idea/caches/build_file_checksums.ser
new file mode 100644
index 00000000..e2e9a0ef
Binary files /dev/null and b/Android/Android Apps/GithubProfilesApp/.idea/caches/build_file_checksums.ser differ
diff --git a/Android/Android Apps/GithubProfilesApp/.idea/codeStyles/Project.xml b/Android/Android Apps/GithubProfilesApp/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..0d156937
--- /dev/null
+++ b/Android/Android Apps/GithubProfilesApp/.idea/codeStyles/Project.xml
@@ -0,0 +1,134 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/.idea/jarRepositories.xml b/Android/Android Apps/Media_Player/.idea/jarRepositories.xml
new file mode 100644
index 00000000..a5f05cd8
--- /dev/null
+++ b/Android/Android Apps/Media_Player/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/.idea/misc.xml b/Android/Android Apps/Media_Player/.idea/misc.xml
new file mode 100644
index 00000000..37a75096
--- /dev/null
+++ b/Android/Android Apps/Media_Player/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/.idea/render.experimental.xml b/Android/Android Apps/Media_Player/.idea/render.experimental.xml
new file mode 100644
index 00000000..8ec256a5
--- /dev/null
+++ b/Android/Android Apps/Media_Player/.idea/render.experimental.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/.idea/runConfigurations.xml b/Android/Android Apps/Media_Player/.idea/runConfigurations.xml
new file mode 100644
index 00000000..7f68460d
--- /dev/null
+++ b/Android/Android Apps/Media_Player/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/README.md b/Android/Android Apps/Media_Player/README.md
new file mode 100644
index 00000000..ff2f3470
--- /dev/null
+++ b/Android/Android Apps/Media_Player/README.md
@@ -0,0 +1,34 @@
+# Media Player APP
+- This is a simple mediaplayer app , which plays the song on clicking Start button
+
+# ScreenShot
+
+
+
+
+# Concept Used
+- Button
+- LinearLayout
+- SeekBar
+- TextView
+- Threading
+
+# Documentation and Resources Used
+- [Resource to Learn Handler Class](https://medium.com/@ankit.sinhal/handler-in-android-d138c1f4980e#:~:text=A%20Handler%20allows%20communicating%20back,communicate%20directly%20with%20UI%20thread.&text=A%20Handler%20allows%20you%20to,associated%20with%20a%20thread's%20MessageQueue.)
+- [Android Documentation On Handler Class](https://developer.android.com/reference/android/os/Handler)
+- [resource to learn SeekBar](https://abhiandroid.com/ui/seekbar#:~:text=In%20Android%2C%20SeekBar%20is%20an,using%20a%20natural%20user%20interface.)
+- [Android Documentation on SeekBar](https://developer.android.com/reference/android/widget/SeekBar)
+- [Android Documentation on Media Player](https://developer.android.com/guide/topics/media/mediaplayer)
+- [Android Documentation On Media Player](https://developer.android.com/reference/android/media/MediaPlayer)
+
+# Concept Learned
+
+- How to use Threading
+- How to use SeekBar
+- How to Use MeadiaPlayer
+
+# Android Requirement
+- Android Oreo
+
+# Improvement
+- Application background
diff --git a/Android/Android Apps/Media_Player/app/.gitignore b/Android/Android Apps/Media_Player/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/build.gradle b/Android/Android Apps/Media_Player/app/build.gradle
new file mode 100644
index 00000000..ead1c1b0
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/build.gradle
@@ -0,0 +1,33 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.1"
+
+ defaultConfig {
+ applicationId "com.example.media_player"
+ minSdkVersion 16
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/proguard-rules.pro b/Android/Android Apps/Media_Player/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/Android/Android Apps/Media_Player/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/Android/Android Apps/Media_Player/app/src/androidTest/java/com/example/media_player/ExampleInstrumentedTest.java b/Android/Android Apps/Media_Player/app/src/androidTest/java/com/example/media_player/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..681cd321
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/androidTest/java/com/example/media_player/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.media_player;
+
+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.media_player", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/AndroidManifest.xml b/Android/Android Apps/Media_Player/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..81ae382b
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/java/com/example/media_player/MainActivity.java b/Android/Android Apps/Media_Player/app/src/main/java/com/example/media_player/MainActivity.java
new file mode 100644
index 00000000..f14f1a76
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/java/com/example/media_player/MainActivity.java
@@ -0,0 +1,241 @@
+package com.example.media_player;
+
+import androidx.annotation.RequiresApi;
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Context;
+import android.media.AudioAttributes;
+import android.media.AudioFocusRequest;
+import android.media.AudioManager;
+import android.media.MediaPlayer;
+import android.os.Build;
+import android.os.Bundle;
+import android.os.Handler;
+import android.util.Log;
+import android.view.View;
+import android.widget.Button;
+import android.widget.SeekBar;
+
+public class MainActivity extends AppCompatActivity {
+
+ private MediaPlayer mediaPlayer;
+ private AudioAttributes playbackAttributes;
+ private AudioManager audioManager;
+ SeekBar duration;
+ int second=0;
+ public boolean running;
+
+ private AudioFocusRequest focusRequest;
+
+
+
+ @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+
+ mediaPlayer = MediaPlayer.create(this, R.raw.song);
+
+
+ audioManager = (AudioManager) this.getSystemService(this.AUDIO_SERVICE);
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AudioManager.OnAudioFocusChangeListener afChangeListener =
+ new AudioManager.OnAudioFocusChangeListener() {
+ public void onAudioFocusChange(int focusChange) {
+ if (focusChange == AudioManager.AUDIOFOCUS_LOSS) {
+ mediaPlayer.pause();
+
+ }
+ else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT) {
+ // Pause playback
+ mediaPlayer.pause();
+ running=false;
+ } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) {
+ // Lower the volume, keep playing
+ audioManager.adjustVolume(AudioManager.ADJUST_LOWER, AudioManager.FLAG_PLAY_SOUND);
+ } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {
+ // Your app has been granted audio focus again
+ // Raise volume to normal, restart playback if necessary
+ audioManager.adjustVolume(AudioManager.ADJUST_RAISE, AudioManager.FLAG_PLAY_SOUND);
+ running=true;
+ }
+ }
+ };
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ playbackAttributes = new AudioAttributes.Builder()
+ .setUsage(AudioAttributes.USAGE_GAME)
+ .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
+ .build();
+
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ focusRequest = new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN)
+ .setAudioAttributes(playbackAttributes)
+ .setAcceptsDelayedFocusGain(true)
+ .setOnAudioFocusChangeListener(afChangeListener)
+ .build();
+ }
+
+
+ int res = 0;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ res = audioManager.requestAudioFocus(focusRequest);
+ }
+
+
+
+
+
+
+
+
+
+ Button play=(Button)findViewById(R.id.play);
+ Button pause=(Button)findViewById(R.id.pause);
+
+ Button stop=(Button)findViewById(R.id.stop);
+
+
+ final int finalRes1 = res;
+ play.setOnClickListener(new View.OnClickListener() {
+
+ @Override
+ public void onClick(View view) {
+
+
+
+ if (finalRes1 == AudioManager.AUDIOFOCUS_REQUEST_FAILED) {
+ mediaPlayer.stop();
+
+ running=false;
+ } else if (finalRes1 == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) {
+ mediaPlayer.start();
+ running=true;
+
+ } else if (finalRes1 == AudioManager.AUDIOFOCUS_REQUEST_DELAYED) {
+ mediaPlayer.pause();
+ running=false;
+
+ }
+ }
+ });
+ pause.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+
+
+ mediaPlayer.pause();
+ running=false;
+ }
+ });
+ stop.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ mediaPlayer.pause();
+ running=false;
+ }
+ });
+
+ SeekBar volume_Seekbar=(SeekBar)findViewById(R.id.volumeSeekbar);
+ int max=audioManager.getStreamMaxVolume(audioManager.STREAM_MUSIC);
+ int min=0;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
+ min=audioManager.getStreamMinVolume(audioManager.STREAM_MUSIC);
+ }
+
+ Log.d("max", String.valueOf(max));
+ Log.d("min", String.valueOf(min));
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ volume_Seekbar.setMin(min);
+ }
+ volume_Seekbar.setMax(max);
+ volume_Seekbar.setProgress(audioManager.getStreamVolume(audioManager.STREAM_MUSIC));
+ volume_Seekbar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
+ @Override
+ public void onProgressChanged(SeekBar seekBar, int i, boolean b) {
+
+ Log.d("seekbar_Situation", String.valueOf(i));
+ audioManager.setStreamVolume(audioManager.STREAM_MUSIC,i,0);
+ }
+
+ @Override
+ public void onStartTrackingTouch(SeekBar seekBar) {
+
+ }
+
+ @Override
+ public void onStopTrackingTouch(SeekBar seekBar) {
+
+ }
+ });
+
+ final int h=mediaPlayer.getDuration();
+
+
+ duration=(SeekBar)findViewById(R.id.duration);
+ duration.setMax(h);
+ final boolean[] touch = {false};
+ duration.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
+ @Override
+ public void onProgressChanged(SeekBar seekBar, int i, boolean b) {
+ if(touch[0])
+ mediaPlayer.seekTo(i);
+
+
+ Log.d("position", String.valueOf(i));
+ }
+
+ @Override
+ public void onStartTrackingTouch(SeekBar seekBar) {
+
+ touch[0] =true;
+ }
+
+ @Override
+ public void onStopTrackingTouch(SeekBar seekBar) {
+
+ touch[0]=false;
+ }
+ });
+ seekbar_changer();
+ }
+ public void seekbar_changer(){
+ final Handler handler=new Handler();
+ handler.post(new Runnable() {
+ @Override
+ public void run() {
+ duration.setProgress(mediaPlayer.getCurrentPosition());
+
+ handler.post(this);
+ }
+ });
+
+ }
+
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/Android/Android Apps/Media_Player/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/drawable/ic_launcher_background.xml b/Android/Android Apps/Media_Player/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/layout/activity_main.xml b/Android/Android Apps/Media_Player/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..35bd8b32
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..a571e600
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..61da551c
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..c41dd285
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..db5080a7
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..6dba46da
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..da31a871
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..15ac6817
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..b216f2d3
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..f25a4197
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..e96783cc
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/raw/song.mp3 b/Android/Android Apps/Media_Player/app/src/main/res/raw/song.mp3
new file mode 100644
index 00000000..110a121f
Binary files /dev/null and b/Android/Android Apps/Media_Player/app/src/main/res/raw/song.mp3 differ
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/values/colors.xml b/Android/Android Apps/Media_Player/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..4faecfa8
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/values/strings.xml b/Android/Android Apps/Media_Player/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..0968c1f9
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Media_Player
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/main/res/values/styles.xml b/Android/Android Apps/Media_Player/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..fac92916
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/main/res/values/styles.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/app/src/test/java/com/example/media_player/ExampleUnitTest.java b/Android/Android Apps/Media_Player/app/src/test/java/com/example/media_player/ExampleUnitTest.java
new file mode 100644
index 00000000..b9b95a0d
--- /dev/null
+++ b/Android/Android Apps/Media_Player/app/src/test/java/com/example/media_player/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.media_player;
+
+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/Android/Android Apps/Media_Player/build.gradle b/Android/Android Apps/Media_Player/build.gradle
new file mode 100644
index 00000000..6754c23d
--- /dev/null
+++ b/Android/Android Apps/Media_Player/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:4.0.1"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/gradle.properties b/Android/Android Apps/Media_Player/gradle.properties
new file mode 100644
index 00000000..c52ac9b7
--- /dev/null
+++ b/Android/Android Apps/Media_Player/gradle.properties
@@ -0,0 +1,19 @@
+# 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
+# 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
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
\ No newline at end of file
diff --git a/Android/Android Apps/Media_Player/gradle/wrapper/gradle-wrapper.properties b/Android/Android Apps/Media_Player/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..8c53c4d2
--- /dev/null
+++ b/Android/Android Apps/Media_Player/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Sep 11 19:14:01 IST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
diff --git a/Android/Android Apps/Media_Player/gradlew b/Android/Android Apps/Media_Player/gradlew
new file mode 100644
index 00000000..cccdd3d5
--- /dev/null
+++ b/Android/Android Apps/Media_Player/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## 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=""
+
+# 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, switch paths to Windows format before running java
+if $cygwin ; 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=$((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"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/Android/Android Apps/Media_Player/gradlew.bat b/Android/Android Apps/Media_Player/gradlew.bat
new file mode 100644
index 00000000..f9553162
--- /dev/null
+++ b/Android/Android Apps/Media_Player/gradlew.bat
@@ -0,0 +1,84 @@
+@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 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=
+
+@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 init
+
+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 init
+
+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
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+: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 %CMD_LINE_ARGS%
+
+: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/Android/Android Apps/Media_Player/images/screenshot.jpg b/Android/Android Apps/Media_Player/images/screenshot.jpg
new file mode 100644
index 00000000..33ec533a
Binary files /dev/null and b/Android/Android Apps/Media_Player/images/screenshot.jpg differ
diff --git a/Android/Android Apps/Media_Player/settings.gradle b/Android/Android Apps/Media_Player/settings.gradle
new file mode 100644
index 00000000..a2280d3e
--- /dev/null
+++ b/Android/Android Apps/Media_Player/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Media_Player"
\ No newline at end of file
diff --git a/Android/Android Apps/MemeGenerator/.gitignore b/Android/Android Apps/MemeGenerator/.gitignore
new file mode 100644
index 00000000..93ac2edf
--- /dev/null
+++ b/Android/Android Apps/MemeGenerator/.gitignore
@@ -0,0 +1,215 @@
+
+# Created by https://www.toptal.com/developers/gitignore/api/android,androidstudio
+# Edit at https://www.toptal.com/developers/gitignore?templates=android,androidstudio
+
+### Android ###
+# Built application files
+*.apk
+*.aar
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+# Uncomment the following line in case you need and you don't have the release build type files in your app
+# release/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# IntelliJ
+*.iml
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/gradle.xml
+.idea/assetWizardSettings.xml
+.idea/dictionaries
+.idea/libraries
+# Android Studio 3 in .gitignore file.
+.idea/caches
+.idea/modules.xml
+# Comment next line if keeping position of elements in Navigation Editor is relevant for you
+.idea/navEditor.xml
+
+# Keystore files
+# Uncomment the following lines if you do not want to check your keystore files in.
+#*.jks
+#*.keystore
+
+# External native build folder generated in Android Studio 2.2 and later
+.externalNativeBuild
+.cxx/
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Freeline
+freeline.py
+freeline/
+freeline_project_description.json
+
+# fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/readme.md
+
+# Version control
+vcs.xml
+
+# lint
+lint/intermediates/
+lint/generated/
+lint/outputs/
+lint/tmp/
+# lint/reports/
+
+### Android Patch ###
+gen-external-apklibs
+output.json
+
+# Replacement of .externalNativeBuild directories introduced
+# with Android Studio 3.5.
+
+### AndroidStudio ###
+# Covers files to be ignored for android development using Android Studio.
+
+# Built application files
+
+# Files for the ART/Dalvik VM
+
+# Java class files
+
+# Generated files
+
+# Gradle files
+.gradle
+
+# Signing files
+.signing/
+
+# Local configuration file (sdk path, etc)
+
+# Proguard folder generated by Eclipse
+
+# Log Files
+
+# Android Studio
+/*/build/
+/*/local.properties
+/*/out
+/*/*/build
+/*/*/production
+*.ipr
+*~
+*.swp
+
+# Keystore files
+*.jks
+*.keystore
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Android Patch
+
+# External native build folder generated in Android Studio 2.2 and later
+
+# NDK
+obj/
+
+# IntelliJ IDEA
+*.iws
+/out/
+
+# User-specific configurations
+.idea/caches/
+.idea/libraries/
+.idea/shelf/
+.idea/.name
+.idea/compiler.xml
+.idea/copyright/profiles_settings.xml
+.idea/encodings.xml
+.idea/misc.xml
+.idea/scopes/scope_settings.xml
+.idea/vcs.xml
+.idea/jsLibraryMappings.xml
+.idea/datasources.xml
+.idea/dataSources.ids
+.idea/sqlDataSources.xml
+.idea/dynamic.xml
+.idea/uiDesigner.xml
+.idea/jarRepositories.xml
+
+# OS-specific files
+.DS_Store
+.DS_Store?
+._*
+.Spotlight-V100
+.Trashes
+ehthumbs.db
+Thumbs.db
+
+# Legacy Eclipse project files
+.classpath
+.project
+.cproject
+.settings/
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.war
+*.ear
+
+# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
+hs_err_pid*
+
+## Plugin-specific files:
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Mongo Explorer plugin
+.idea/mongoSettings.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+### AndroidStudio Patch ###
+
+!/gradle/wrapper/gradle-wrapper.jar
+
+# End of https://www.toptal.com/developers/gitignore/api/android,androidstudio
\ No newline at end of file
diff --git a/Android/Android Apps/MemeGenerator/.idea/codeStyles/Project.xml b/Android/Android Apps/MemeGenerator/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..0d156937
--- /dev/null
+++ b/Android/Android Apps/MemeGenerator/.idea/codeStyles/Project.xml
@@ -0,0 +1,134 @@
+
+
+
+