summaryrefslogtreecommitdiff
path: root/README_icsopenvpn.txt
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-06-20 18:36:16 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-06-20 18:36:16 -0600
commit195d5ab2d518f6f3960edd3c636e941830c2664d (patch)
tree81b6b0d0e0b374e82afa6fc15c32716f981f0aa4 /README_icsopenvpn.txt
parent5a7e2365365a3b1f773212cefdeeaa4ee587a590 (diff)
parent3f8e2f6569f893a49bf1819416cae792c702d370 (diff)
Merge 'parmegv/feature/authGui' into develop
Diffstat (limited to 'README_icsopenvpn.txt')
-rw-r--r--README_icsopenvpn.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/README_icsopenvpn.txt b/README_icsopenvpn.txt
new file mode 100644
index 00000000..f6690f5a
--- /dev/null
+++ b/README_icsopenvpn.txt
@@ -0,0 +1,43 @@
+This is my first Android project, so some things may be done in a completely stupid way.
+
+See the file todo.txt for ideas/not yet implemented features (and the bug tracker).
+
+Build instraction:
+
+Checkout google breakcode:
+
+svn co http://google-breakpad.googlecode.com/svn/trunk/ google-breakpad
+
+- Install sdk
+- Install ndk
+
+Do ./build-native.sh in the root directory of the project.
+
+Use eclipse with android plugins to build the project.
+
+Optional: Copy minivpn from lib/ to assets (if you want your own compiled version)
+
+
+
+
+Starting a VPN by name from an external app:
+
+public class StartOpenVPNActivity extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+
+ final String EXTRA_NAME = "se.leap.openvpn.shortcutProfileName";
+
+ Intent shortcutIntent = new Intent(Intent.ACTION_MAIN);
+ shortcutIntent.setClassName("se.leap.openvpn", "se.leap.openvpn.LaunchVPN");
+ shortcutIntent.putExtra(EXTRA_NAME,"upb ssl");
+ startActivity(shortcutIntent);
+ }
+}
+
+or from the shell:
+
+am start -a android.intent.action.VPNLEGACY -n se.leap.openvpn/.LaunchVPN -e se.leap.openvpn.shortcutProfileName Home
+