Are you sure that it is whatever you code yourself? Because right here: http://developer.android.com/sdk/android-4.0-highlights.html if I under it stand right, it is said that VpnService supports only L2TP and IPSec protocols. On the other hand, if I am wrong, could you give us a hint how to code PPTP connection?
Thanks in advance W dniu wtorek, 20 marca 2012 23:09:26 UTC+1 użytkownik Mark Murphy (a Commons Guy) napisał: > > On Mon, Mar 19, 2012 at 6:23 PM, mjl3434 <[email protected]> wrote: > > There are two new classes added in ICS: VpnService and > VpnService.Builder. I > > want to know if these classes would be useful for my goal of developing > an > > app that has it's own UI and connects to a VPN endpoint with IPSec VPN > (or > > maybe even SSL VPN). Unfortunately, the documentation doesn't really > explain > > anything about the actual protocols. The documentation says the class > > is "for applications to extend and build their own VPN solutions. In > > general, it creates a virtual network interface, configures addresses and > > routing rules..." > > > > So here are some obvious unanswered questions: > > 1. What protocol is the VpnService using? Is it SSL based, IPSec, > > L2TP/IPSec, PPTP or what? Protocol matters to some people. > > It is whatever you code yourself. You want SSL-based? Write it. You > want IPSec? Write it. You want L2TP/IPSec? Write it. You want PPTP? > Write it. In this respect, VpnService is to VPNs as Activity is to > user interfaces -- it is a necessary part of the framework that > provides some basic functionality, but the core of what you are trying > to do is what you write yourself. > > > 2. What on earth do you do at the remote endpoint? > > The other side of whatever you code yourself. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

