API-14 Available to implement vpn service for android. How to implement it?
Asked
Active
Viewed 1.2k times
3
-
Please do your homework before you ask any questions and SO is not the right place to ask for SOURCE CODE. People here are trying to help you and we can't do it without your efforts. – Ragunath Jawahar Aug 26 '13 at 08:16
2 Answers
3
You can refer open source project openvpn for reference about how to implement VPN services in android.you may also like to see this
http://code.google.com/p/ics-openvpn/
Thanks
1
For that first you need to decalre VPN service in you code like as follows
<service android:name=".ExampleVpnService"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService"/>
</intent-filter>
</service>

riti
- 255
- 2
- 11