summaryrefslogtreecommitdiff
path: root/remoteExample
diff options
context:
space:
mode:
Diffstat (limited to 'remoteExample')
-rw-r--r--remoteExample/build.gradle11
-rw-r--r--remoteExample/src/main/AndroidManifest.xml5
-rw-r--r--remoteExample/src/main/assets/test.conf2
-rw-r--r--remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java5
-rw-r--r--remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java5
-rw-r--r--remoteExample/src/main/res/layout/activity_main.xml5
-rw-r--r--remoteExample/src/main/res/layout/fragment_main.xml5
-rw-r--r--remoteExample/src/main/res/menu/main.xml5
-rw-r--r--remoteExample/src/main/res/values-w820dp/dimens.xml5
-rw-r--r--remoteExample/src/main/res/values/dimens.xml5
-rw-r--r--remoteExample/src/main/res/values/strings.xml5
-rw-r--r--remoteExample/src/main/res/values/styles.xml5
12 files changed, 59 insertions, 4 deletions
diff --git a/remoteExample/build.gradle b/remoteExample/build.gradle
index 82b2a38d..7e063c75 100644
--- a/remoteExample/build.gradle
+++ b/remoteExample/build.gradle
@@ -1,12 +1,17 @@
+/*
+ * Copyright (c) 2012-2017 Arne Schwabe
+ * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ */
+
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion '23.0.2'
+ compileSdkVersion 26
+ buildToolsVersion '26.0.0'
defaultConfig {
minSdkVersion 15
- targetSdkVersion 23
+ targetSdkVersion 26
versionCode 1
versionName "1.0"
}
diff --git a/remoteExample/src/main/AndroidManifest.xml b/remoteExample/src/main/AndroidManifest.xml
index abd7b621..1278df95 100644
--- a/remoteExample/src/main/AndroidManifest.xml
+++ b/remoteExample/src/main/AndroidManifest.xml
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2012-2017 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"
package="de.blinkt.openvpn.remote" >
diff --git a/remoteExample/src/main/assets/test.conf b/remoteExample/src/main/assets/test.conf
index 3dc917aa..7f2e4521 100644
--- a/remoteExample/src/main/assets/test.conf
+++ b/remoteExample/src/main/assets/test.conf
@@ -7,7 +7,7 @@ dev tun
topology subnet
remote openvpn.blinkt.de 2000
-tls-remote openvpn.blinkt.de
+verify-x509-name openvpn.blinkt.de name
<auth-user-pass>
wronguser
diff --git a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java
index 900383a2..41b54e17 100644
--- a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java
+++ b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainActivity.java
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2012-2017 Arne Schwabe
+ * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ */
+
package de.blinkt.openvpn.remote;
import android.app.Activity;
diff --git a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java
index a6d2baf5..6eb85e9b 100644
--- a/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java
+++ b/remoteExample/src/main/java/de/blinkt/openvpn/remote/MainFragment.java
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2012-2017 Arne Schwabe
+ * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ */
+
package de.blinkt.openvpn.remote;
import android.app.Activity;
diff --git a/remoteExample/src/main/res/layout/activity_main.xml b/remoteExample/src/main/res/layout/activity_main.xml
index 42dd4dfb..17585e2b 100644
--- a/remoteExample/src/main/res/layout/activity_main.xml
+++ b/remoteExample/src/main/res/layout/activity_main.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
diff --git a/remoteExample/src/main/res/layout/fragment_main.xml b/remoteExample/src/main/res/layout/fragment_main.xml
index 9279bd69..eda36740 100644
--- a/remoteExample/src/main/res/layout/fragment_main.xml
+++ b/remoteExample/src/main/res/layout/fragment_main.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
diff --git a/remoteExample/src/main/res/menu/main.xml b/remoteExample/src/main/res/menu/main.xml
index f732c1b4..2aec1f7d 100644
--- a/remoteExample/src/main/res/menu/main.xml
+++ b/remoteExample/src/main/res/menu/main.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="de.blinkt.openvpn.remote.MainActivity" >
diff --git a/remoteExample/src/main/res/values-w820dp/dimens.xml b/remoteExample/src/main/res/values-w820dp/dimens.xml
index 63fc8164..1adf4310 100644
--- a/remoteExample/src/main/res/values-w820dp/dimens.xml
+++ b/remoteExample/src/main/res/values-w820dp/dimens.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
diff --git a/remoteExample/src/main/res/values/dimens.xml b/remoteExample/src/main/res/values/dimens.xml
index a0171a70..629fa2ea 100644
--- a/remoteExample/src/main/res/values/dimens.xml
+++ b/remoteExample/src/main/res/values/dimens.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml
index 49d4978d..30e05648 100644
--- a/remoteExample/src/main/res/values/strings.xml
+++ b/remoteExample/src/main/res/values/strings.xml
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<resources>
<string name="app_name">OpenVPN Remote</string>
diff --git a/remoteExample/src/main/res/values/styles.xml b/remoteExample/src/main/res/values/styles.xml
index ff6c9d2c..746cf3dd 100644
--- a/remoteExample/src/main/res/values/styles.xml
+++ b/remoteExample/src/main/res/values/styles.xml
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) 2012-2017 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
<resources>
<!-- Base application theme. -->