diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-05-29 21:53:38 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-05-29 21:53:38 +0200 |
commit | 0ccf804fb65842f36078832ca0cff6dd2d7be9f7 (patch) | |
tree | 1567f8ed6c6d7a60b76a90fb413878fd17ebfee8 /README.txt | |
parent | 8d3fa2909e748d924401e58d0ab5cfff63e46ccf (diff) |
Move files around
--HG--
rename : LICENSE.txt => doc/LICENSE.txt
rename : README.txt => doc/README.txt
rename : todo.txt => doc/todo.txt
rename : genFAQ.py => misc/genFAQ.py
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/README.txt b/README.txt deleted file mode 100644 index 50424d14..00000000 --- a/README.txt +++ /dev/null @@ -1,59 +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: - -Disable Google breakcode (WITH_BREAKPAD=0 in jni/Android.mk) or checkout google breakcode - -svn co http://google-breakpad.googlecode.com/svn/trunk/ google-breakpad - - -- Install sdk -- Install ndk (Version 8d gives strange linker errors, use 8b for now) -- Make sure that ndk-build is in your build path. - -Do ./build-native.(sh|bat) in the root directory of the project. -You may need to refresh the project and clean the project in eclipse - to have the libraries included the resulting apk. - -Use eclipse with android plugins to build the project. - - -FAQ - -Q: How is the OpenVPN version different from normal OpenVPN - -A: OpenVPN for Android uses a OpenVPN 2.3 master branch + Android patches + dual stack client patches. - A git repository of the OpenVPN source code and changes is under: - https://github.com/schwabe/openvpn/tree/android_2.3rc1%2Bds - -Q: what is minivpn? - -A: minivpn is only a executable thats links against libopenvpn which is the normal openvpn build as - library. It is done this way so the Android Play/Store apk will treat the library as normal library - and update it on updates of the application. Also the application does not need to take care of - keeping minivpn up to date because it contains no code. For almost all intents and purposes - minivpn + libopenvpn.so is the same as the normal openvpn binary - -Q: How to a VPN by name from an external app - -A: public class StartOpenVPNActivity extends Activity { - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.main); - - final String EXTRA_NAME = "de.blinkt.openvpn.shortcutProfileName"; - - Intent shortcutIntent = new Intent(Intent.ACTION_MAIN); - shortcutIntent.setClassName("de.blinkt.openvpn", "de.blinkt.openvpn.LaunchVPN"); - shortcutIntent.putExtra(EXTRA_NAME,"upb ssl"); - startActivity(shortcutIntent); - } -} - -or from the shell: - -am start -a android.intent.action.MAIN -n de.blinkt.openvpn/.LaunchVPN -e de.blinkt.openvpn.shortcutProfileName Home - |