0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-20 20:03:13 +02:00
OpenVPN for Android
Go to file
2012-12-26 04:58:57 +01:00
.settings - After installing Juno I need the core prefs for whatever reason 2012-07-18 10:07:51 +02:00
jni delte old files 2012-12-24 14:25:11 +01:00
lzo Update lzo version 2012-07-02 17:28:05 +02:00
misc Backout changeset 6dbb27f76cd286bd76a9f2be993e0d2241167684 2012-12-26 04:57:06 +01:00
openssl Build openssl as shared library again, build for all Android ABIs 2012-07-24 21:31:20 +02:00
openvpn OpenVPN fixes 2012-12-25 16:04:16 +01:00
res Return to the old icon, I do not like the new ones yet... 2012-12-26 04:58:57 +01:00
src Increase version number for next release 2012-12-26 00:06:24 +01:00
.classpath Initial import 2012-04-16 19:21:14 +02:00
.hgignore Add generating to script. 2012-10-08 19:27:03 +02:00
.hgtags Added tag v0.5.28 for changeset 2385ce9867e4 2012-12-25 23:45:23 +01:00
.project Initial import 2012-04-16 19:21:14 +02:00
AndroidManifest.xml Increase version number for next release 2012-12-26 00:06:24 +01:00
build-native.bat Accessing wifi state... (commented out, not as useful as I thought) 2012-08-12 23:01:24 +02:00
build-native.sh fix encoding of build-native.sh 2012-08-13 13:49:21 +02:00
fetchtranslations.sh update translations 2012-12-25 16:07:23 +01:00
genFAQ.py Add script to generate FAQ in the google CODE project. 2012-11-20 22:18:08 +01:00
project.properties Minimal rework of notifications for JB 2012-12-15 20:36:44 +01:00
README.txt Fix the build instruction, remove missing translation text file 2012-10-10 22:01:43 +02:00
todo.txt update todo 2012-11-09 14:56:53 +01:00

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:

- 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 = "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