├── .classpath ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin ├── AndroidManifest.xml ├── TestSVSDKLib.apk ├── classes.dex ├── classes │ └── com │ │ └── example │ │ └── testsvsdklib │ │ ├── BuildConfig.class │ │ ├── R$attr.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ ├── R.class │ │ ├── TestSVSDKLib$1.class │ │ ├── TestSVSDKLib$2.class │ │ └── TestSVSDKLib.class ├── dexedLibs │ ├── android-support-v4-09279588e4c5c8b160c4865ea2f5124b.jar │ ├── android-support-v4-272d9f82cf492223522f32371899cf04.jar │ ├── android-support-v4-4fbafc42ae6b1b4a11a5c5ea00034c23.jar │ ├── annotations-28e0d440ffae02fd40b6eb8dc327994c.jar │ ├── annotations-a549e5dab97935b2b1c23711283ea7fb.jar │ ├── svsdklib-1c0a91149071046581bf57ec72034723.jar │ ├── svsdklib-2e54017131379de94153d4dfc40d8e78.jar │ └── svsdklib-ceee426785bc37fa8285bc27e1a09b4b.jar ├── jarlist.cache ├── res │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-ldpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ └── drawable-xhdpi │ │ └── ic_launcher.png └── resources.ap_ ├── gen └── com │ └── example │ └── testsvsdklib │ ├── BuildConfig.java │ └── R.java ├── ic_launcher-web.png ├── libs ├── android-support-v4.jar └── svsdklib.jar ├── lint.xml ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-ldpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── layout │ └── main.xml └── values │ ├── strings.xml │ └── styles.xml └── src └── com └── example └── testsvsdklib └── TestSVSDKLib.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestSVSDKLib 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AndroidVPN 2 | 基于安卓的vpn连接例子源码 3 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /bin/TestSVSDKLib.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/TestSVSDKLib.apk -------------------------------------------------------------------------------- /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes.dex -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$attr.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$drawable.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$id.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/R.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/TestSVSDKLib$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/TestSVSDKLib$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/TestSVSDKLib$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/TestSVSDKLib$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/testsvsdklib/TestSVSDKLib.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/classes/com/example/testsvsdklib/TestSVSDKLib.class -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-09279588e4c5c8b160c4865ea2f5124b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/android-support-v4-09279588e4c5c8b160c4865ea2f5124b.jar -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-272d9f82cf492223522f32371899cf04.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/android-support-v4-272d9f82cf492223522f32371899cf04.jar -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-4fbafc42ae6b1b4a11a5c5ea00034c23.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/android-support-v4-4fbafc42ae6b1b4a11a5c5ea00034c23.jar -------------------------------------------------------------------------------- /bin/dexedLibs/annotations-28e0d440ffae02fd40b6eb8dc327994c.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/annotations-28e0d440ffae02fd40b6eb8dc327994c.jar -------------------------------------------------------------------------------- /bin/dexedLibs/annotations-a549e5dab97935b2b1c23711283ea7fb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/annotations-a549e5dab97935b2b1c23711283ea7fb.jar -------------------------------------------------------------------------------- /bin/dexedLibs/svsdklib-1c0a91149071046581bf57ec72034723.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/svsdklib-1c0a91149071046581bf57ec72034723.jar -------------------------------------------------------------------------------- /bin/dexedLibs/svsdklib-2e54017131379de94153d4dfc40d8e78.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/svsdklib-2e54017131379de94153d4dfc40d8e78.jar -------------------------------------------------------------------------------- /bin/dexedLibs/svsdklib-ceee426785bc37fa8285bc27e1a09b4b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/dexedLibs/svsdklib-ceee426785bc37fa8285bc27e1a09b4b.jar -------------------------------------------------------------------------------- /bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/res/crunch/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/bin/resources.ap_ -------------------------------------------------------------------------------- /gen/com/example/testsvsdklib/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.testsvsdklib; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/example/testsvsdklib/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.example.testsvsdklib; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class drawable { 14 | public static final int ic_launcher=0x7f020000; 15 | } 16 | public static final class id { 17 | public static final int BTN_GETVPNSTATUS=0x7f060006; 18 | public static final int BTN_START=0x7f060004; 19 | public static final int BTN_STOP=0x7f060005; 20 | public static final int edtip=0x7f060000; 21 | public static final int edtport=0x7f060001; 22 | public static final int edtuname=0x7f060002; 23 | public static final int edtupwd=0x7f060003; 24 | } 25 | public static final class layout { 26 | public static final int main=0x7f030000; 27 | } 28 | public static final class string { 29 | public static final int app_name=0x7f040000; 30 | } 31 | public static final class style { 32 | public static final int AppTheme=0x7f050000; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/svsdklib.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/libs/svsdklib.jar -------------------------------------------------------------------------------- /lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CraftsmenTech/AndroidVPN/ee4c14c20f20172eb55ca4a315f822667188d4ca/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 15 | 16 | 20 | 21 | 24 | 25 | 32 | 33 | 40 | 41 | 42 | 43 | 46 | 47 | 54 | 55 | 63 | 64 | 65 | 66 | 69 | 70 | 77 | 78 | 85 | 86 | 87 | 88 | 91 | 92 | 99 | 100 | 108 | 109 | 110 | 111 | 112 | 113 | 116 | 117 |