aboutsummaryrefslogtreecommitdiffstats
path: root/MetisForwarderAndroid/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'MetisForwarderAndroid/app/src/main/res')
-rw-r--r--MetisForwarderAndroid/app/src/main/res/drawable-v24/ic_launcher_foreground.xml34
-rw-r--r--MetisForwarderAndroid/app/src/main/res/drawable/border.xml21
-rw-r--r--MetisForwarderAndroid/app/src/main/res/drawable/ic_cached_black_24px.xml9
-rw-r--r--MetisForwarderAndroid/app/src/main/res/drawable/ic_launcher_background.xml170
-rw-r--r--MetisForwarderAndroid/app/src/main/res/ic_cached_black_24px.svg4
-rw-r--r--MetisForwarderAndroid/app/src/main/res/layout/activity_forwarder_android.xml258
-rw-r--r--MetisForwarderAndroid/app/src/main/res/layout/spinner_layout.xml8
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml5
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml5
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.pngbin0 -> 1534 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.pngbin0 -> 1725 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.pngbin0 -> 3392 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.pngbin0 -> 1020 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.pngbin0 -> 1154 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.pngbin0 -> 2046 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.pngbin0 -> 2210 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.pngbin0 -> 2422 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.pngbin0 -> 4926 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngbin0 -> 3541 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.pngbin0 -> 3696 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.pngbin0 -> 7859 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.pngbin0 -> 4919 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.pngbin0 -> 5291 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.pngbin0 -> 11314 bytes
-rw-r--r--MetisForwarderAndroid/app/src/main/res/values/colors.xml6
-rw-r--r--MetisForwarderAndroid/app/src/main/res/values/ic_launcher_background.xml4
-rw-r--r--MetisForwarderAndroid/app/src/main/res/values/strings.xml3
-rw-r--r--MetisForwarderAndroid/app/src/main/res/values/styles.xml11
28 files changed, 538 insertions, 0 deletions
diff --git a/MetisForwarderAndroid/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/MetisForwarderAndroid/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..c7bd21db
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,34 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportHeight="108"
+ android:viewportWidth="108">
+ <path
+ android:fillType="evenOdd"
+ android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
+ android:strokeColor="#00000000"
+ android:strokeWidth="1">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:endX="78.5885"
+ android:endY="90.9159"
+ android:startX="48.7653"
+ android:startY="61.0927"
+ android:type="linear">
+ <item
+ android:color="#44000000"
+ android:offset="0.0" />
+ <item
+ android:color="#00000000"
+ android:offset="1.0" />
+ </gradient>
+ </aapt:attr>
+ </path>
+ <path
+ android:fillColor="#FFFFFF"
+ android:fillType="nonZero"
+ android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
+ android:strokeColor="#00000000"
+ android:strokeWidth="1" />
+</vector>
diff --git a/MetisForwarderAndroid/app/src/main/res/drawable/border.xml b/MetisForwarderAndroid/app/src/main/res/drawable/border.xml
new file mode 100644
index 00000000..c1f839b3
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/drawable/border.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <stroke
+ android:width="1dp"
+ android:color="#000000" />
+ <solid
+ android:color="#00FFFFFF"
+ android:paddingLeft="10dp"
+ android:paddingTop="10dp"/>
+
+ <padding
+ android:left="10dp"
+ android:top="10dp"
+ android:right="10dp"
+ android:bottom="10dp" />
+ <corners
+ android:bottomRightRadius="15dp"
+ android:bottomLeftRadius="15dp"
+ android:topLeftRadius="15dp"
+ android:topRightRadius="15dp"/>
+</shape> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/drawable/ic_cached_black_24px.xml b/MetisForwarderAndroid/app/src/main/res/drawable/ic_cached_black_24px.xml
new file mode 100644
index 00000000..5b228f76
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/drawable/ic_cached_black_24px.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:pathData="M19,8l-4,4h3c0,3.31 -2.69,6 -6,6 -1.01,0 -1.97,-0.25 -2.8,-0.7l-1.46,1.46C8.97,19.54 10.43,20 12,20c4.42,0 8,-3.58 8,-8h3l-4,-4zM6,12c0,-3.31 2.69,-6 6,-6 1.01,0 1.97,0.25 2.8,0.7l1.46,-1.46C15.03,4.46 13.57,4 12,4c-4.42,0 -8,3.58 -8,8H1l4,4 4,-4H6z"
+ android:fillColor="#000000"/>
+</vector>
diff --git a/MetisForwarderAndroid/app/src/main/res/drawable/ic_launcher_background.xml b/MetisForwarderAndroid/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..d5fccc53
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportHeight="108"
+ android:viewportWidth="108">
+ <path
+ android:fillColor="#26A69A"
+ android:pathData="M0,0h108v108h-108z" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M9,0L9,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,0L19,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M29,0L29,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M39,0L39,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M49,0L49,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M59,0L59,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M69,0L69,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M79,0L79,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M89,0L89,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M99,0L99,108"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,9L108,9"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,19L108,19"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,29L108,29"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,39L108,39"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,49L108,49"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,59L108,59"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,69L108,69"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,79L108,79"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,89L108,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,99L108,99"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,29L89,29"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,39L89,39"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,49L89,49"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,59L89,59"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,69L89,69"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,79L89,79"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M29,19L29,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M39,19L39,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M49,19L49,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M59,19L59,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M69,19L69,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M79,19L79,89"
+ android:strokeColor="#33FFFFFF"
+ android:strokeWidth="0.8" />
+</vector>
diff --git a/MetisForwarderAndroid/app/src/main/res/ic_cached_black_24px.svg b/MetisForwarderAndroid/app/src/main/res/ic_cached_black_24px.svg
new file mode 100644
index 00000000..b08e815e
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/ic_cached_black_24px.svg
@@ -0,0 +1,4 @@
+<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
+ <path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"/>
+ <path d="M0 0h24v24H0z" fill="none"/>
+</svg> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/layout/activity_forwarder_android.xml b/MetisForwarderAndroid/app/src/main/res/layout/activity_forwarder_android.xml
new file mode 100644
index 00000000..650a9571
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/layout/activity_forwarder_android.xml
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="icn.forwarder.com.forwarderandroid.ForwarderAndroidActivity">
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintHorizontal_bias="0.099"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_bias="0.029999971">
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/sourceTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Source"
+ android:textSize="30sp"
+ android:textStyle="bold" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/sourceIpTextView"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="20"
+ android:text="IP"
+ android:textAlignment="textEnd"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+ <LinearLayout
+ android:layout_width="0dip"
+ android:layout_weight="80"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <Spinner
+ android:id="@+id/sourceIpSpinner"
+ android:layout_width="0dip"
+ android:layout_weight="20"
+ android:layout_height="match_parent"
+ />
+
+ <Button
+ android:id="@+id/sourceIpRefreshButton"
+ android:layout_width="50sp"
+ android:layout_height="50sp"
+ android:drawableLeft="@drawable/ic_cached_black_24px" />
+ </LinearLayout>
+
+
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/sourcePortTextView"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="20"
+ android:text="Port"
+ android:textAlignment="textEnd"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+
+ <EditText
+ android:id="@+id/sourcePortEditText"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="80"
+ android:ems="10"
+ android:inputType="number"
+ android:text="88888"
+ android:textSize="24sp" />
+
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/nextHopTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Next Hop"
+ android:textSize="30sp"
+ android:textStyle="bold" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/destinationIpTextView"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="20"
+ android:text="IP"
+ android:textAlignment="textEnd"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+
+ <EditText
+ android:id="@+id/nextHopIpEditText"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="80"
+ android:ems="10"
+ android:inputType="textUri"
+ android:text="8888:8888:8888:8888:8888:8888:8888:8888"
+ android:textSize="24sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/nextHopPortTextView"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="20"
+ android:text="Port"
+ android:textAlignment="textEnd"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+
+ <EditText
+ android:id="@+id/nextHopPortEditText"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="80"
+ android:ems="10"
+ android:inputType="number"
+ android:text="88888"
+ android:textSize="24sp" />
+
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/routeTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Route"
+ android:textSize="30sp"
+ android:textStyle="bold" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/prefixTextView"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="20"
+ android:text="Prefix"
+ android:textAlignment="textEnd"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+
+ <EditText
+ android:id="@+id/prefixEditText"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="80"
+ android:ems="10"
+ android:inputType="textUri"
+ android:text="8888:8888:8888:8888:8888:8888:8888:8888"
+ android:textSize="24sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/configurationTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Configuration"
+ android:textSize="30sp"
+ android:textStyle="bold" />
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="200dp"
+ android:background="@drawable/border">
+
+ <EditText
+ android:id="@+id/configurationEditText"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@android:color/transparent"
+ android:ems="10"
+ android:inputType="textMultiLine"
+ android:text="# Local listeners add listener tcp local0 127.0.0.1 9695 add listener udp local1 127.0.0.1 9695 # Remote face add listener udp remote0 %%source_ip%% %%source_port%% add connection udp conn0 %%destination_ip%% %%destination_port%% %%source_ip%% %%source_port%% # Route add route conn0 ccnx:/webserver 1# Local listeners add listener tcp local0 127.0.0.1 9695 add listener udp local1 127.0.0.1 9695 # Remote face add listener udp remote0 %%source_ip%% %%source_port%% add connection udp conn0 %%destination_ip%% %%destination_port%% %%source_ip%% %%source_port%% # Route add route conn0 ccnx:/webserver 1# Local listeners add listener tcp local0 127.0.0.1 9695 add listener udp local1 127.0.0.1 9695 # Remote face add listener udp remote0 %%source_ip%% %%source_port%% add connection udp conn0 %%destination_ip%% %%destination_port%% %%source_ip%% %%source_port%% # Route add route conn0 ccnx:/webserver 1# Local listeners add listener tcp local0 127.0.0.1 9695 add listener udp local1 127.0.0.1 9695 # Remote face add listener udp remote0 %%source_ip%% %%source_port%% add connection udp conn0 %%destination_ip%% %%destination_port%% %%source_ip%% %%source_port%% # Route add route conn0 ccnx:/webserver 1# Local listeners add listener tcp local0 127.0.0.1 9695 add listener udp local1 127.0.0.1 9695 # Remote face add listener udp remote0 %%source_ip%% %%source_port%% add connection udp conn0 %%destination_ip%% %%destination_port%% %%source_ip%% %%source_port%% # Route add route conn0 ccnx:/webserver 1"
+ app:layout_constraintVertical_bias="0.33999997" />
+ </ScrollView>
+
+ </LinearLayout>
+
+ <Switch
+ android:id="@+id/forwarderSwitch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="Disabled"
+ android:textSize="30sp" />
+
+ </LinearLayout>
+ </ScrollView>
+
+</android.support.constraint.ConstraintLayout>
diff --git a/MetisForwarderAndroid/app/src/main/res/layout/spinner_layout.xml b/MetisForwarderAndroid/app/src/main/res/layout/spinner_layout.xml
new file mode 100644
index 00000000..c73af27b
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/layout/spinner_layout.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textSize="24sp"
+ android:padding="5dp"
+ /> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..036d09bc
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..036d09bc
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/ic_launcher_background"/>
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+</adaptive-icon> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..6ab8b2c6
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..2d97d2fb
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 00000000..211f018d
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..988a9675
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..85c34503
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 00000000..4dfe5d85
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..10c00a27
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..32a5ec25
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..7934e70a
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..631943ce
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..67886e23
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..c409ed28
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..6c8a206f
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 00000000..aa3c8401
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 00000000..69c50e4f
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Binary files differ
diff --git a/MetisForwarderAndroid/app/src/main/res/values/colors.xml b/MetisForwarderAndroid/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..3ab3e9cb
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="colorPrimary">#3F51B5</color>
+ <color name="colorPrimaryDark">#303F9F</color>
+ <color name="colorAccent">#FF4081</color>
+</resources>
diff --git a/MetisForwarderAndroid/app/src/main/res/values/ic_launcher_background.xml b/MetisForwarderAndroid/app/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 00000000..fb66f3a0
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#FEFEFE</color>
+</resources> \ No newline at end of file
diff --git a/MetisForwarderAndroid/app/src/main/res/values/strings.xml b/MetisForwarderAndroid/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..85af98c2
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="app_name">ICN Metis</string>
+</resources>
diff --git a/MetisForwarderAndroid/app/src/main/res/values/styles.xml b/MetisForwarderAndroid/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..5885930d
--- /dev/null
+++ b/MetisForwarderAndroid/app/src/main/res/values/styles.xml
@@ -0,0 +1,11 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ <item name="colorPrimary">@color/colorPrimary</item>
+ <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+ <item name="colorAccent">@color/colorAccent</item>
+ </style>
+
+</resources>