Is there a VPN-provider API for Android? [closed]
Question
Is there a way to build a VPN 'provider' for Android? A way to add new VPN types to the existing VPN infrastructure? OpenVPN, for instance, though also things like pppoe might fit in this category.
La solution
VPN client API is available with android 4.0
Autres conseils
The vpnManager does not provide an interface to add new type of VPN. I saw some OpenVPN implementation in Android, but all require a rooted device. http://android.modaco.com/content/software/291919/openvpn-on-android/
You can refer the sample application ToyVpn which is bundled with your android SDK. so just go to samples and refer that application. but this sample app reqires your own vpn server to connect or you can see Toyvpnserver.cpp file in server folder of sample app code to see how to implement server.