在 Android 中以编程方式配置 PPTP/L2TP VPN
我已经阅读了有关VpnService和VpnService.Builder的信息,但无法获得任何将VPN类型设置为PPTP或L2TP的方法,即使我没有得到任何可以设置用户/密码的方法。
注意: There are many questions in SO I read them but didn't find solution. I looked into ToyVpn application but this there are only 3 parameters we set in this application.
请帮忙。如果有3方API,请提供参考。