diff options
author | Parménides GV <parmegv@sdf.org> | 2013-07-19 06:26:12 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-07-19 06:26:12 +0200 |
commit | 5239e2fc0d070026ba851118a8f54fae6df827b3 (patch) | |
tree | e7b47f27b67f518f88bff9d4fade9113698fd3be /README_icsopenvpn.txt | |
parent | 5cbcbba9df34916009b05cc17b721638afa62478 (diff) | |
parent | 8addeb2ced0db9979877e51347f076c3bf0b33b2 (diff) |
Merge branch 'feature/refactor-clean-legacy' into develop
Diffstat (limited to 'README_icsopenvpn.txt')
-rw-r--r-- | README_icsopenvpn.txt | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/README_icsopenvpn.txt b/README_icsopenvpn.txt deleted file mode 100644 index f6690f5a..00000000 --- a/README_icsopenvpn.txt +++ /dev/null @@ -1,43 +0,0 @@ -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 - |