Silambarasan Damodaran
Silambarasan Damodaran

Reputation: 127

How connect VPN Network programmatically in android?

API-14 Available to implement vpn service for android. How to implement it?

Upvotes: 3

Views: 12208

Answers (2)

Juned
Juned

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

riti
riti

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

Related Questions