summaryrefslogtreecommitdiff
path: root/main/src/skeleton
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2019-08-02 12:50:57 +0200
committerArne Schwabe <arne@rfc2549.org>2019-08-05 16:01:34 +0200
commit32b080261845c7508581f9c452d48ffd2401c450 (patch)
tree76d194fedd0ec9e9250a96b4157aa32b3eead627 /main/src/skeleton
parentf72ab87b31044eb5df3a8b6ed802208444d226e3 (diff)
Add skeleton build variant
Diffstat (limited to 'main/src/skeleton')
-rw-r--r--main/src/skeleton/AndroidManifest.xml16
-rw-r--r--main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java15
-rw-r--r--main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java15
3 files changed, 46 insertions, 0 deletions
diff --git a/main/src/skeleton/AndroidManifest.xml b/main/src/skeleton/AndroidManifest.xml
new file mode 100644
index 00000000..916da0e2
--- /dev/null
+++ b/main/src/skeleton/AndroidManifest.xml
@@ -0,0 +1,16 @@
+<!--
+ ~ Copyright (c) 2012-2019 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="de.blinkt.openvpn">
+
+ <application tools:ignore="AllowBackup,GoogleAppIndexingWarning">
+ <activity
+ android:name=".activities.MainActivity"
+ tools:ignore="ExportedActivity" />
+ </application>
+
+</manifest>
diff --git a/main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java b/main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java
new file mode 100644
index 00000000..efa1b7be
--- /dev/null
+++ b/main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java
@@ -0,0 +1,15 @@
+package de.blinkt.openvpn.activities;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.support.annotation.Nullable;
+import android.widget.Toast;
+
+public class LogWindow extends Activity {
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ Toast.makeText(this, "Not implemented", Toast.LENGTH_LONG).show();
+ finish();
+ }
+} \ No newline at end of file
diff --git a/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java b/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java
new file mode 100644
index 00000000..8a46e0e7
--- /dev/null
+++ b/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java
@@ -0,0 +1,15 @@
+package de.blinkt.openvpn.activities;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.support.annotation.Nullable;
+import android.widget.Toast;
+
+public class MainActivity extends Activity {
+ @Override
+ protected void onCreate( Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ Toast.makeText(this, "Not implemented", Toast.LENGTH_LONG).show();
+ finish();
+ }
+} \ No newline at end of file