Reputation: 127
API-14 Available to implement vpn service for android. How to implement it?
Upvotes: 3
Views: 12208
Reputation: 6326
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
Upvotes: 3
Reputation: 255
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>
And you can also check this link for more details
Upvotes: 1