And*_*ner 13 java api vpn android
我已经阅读了关于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,请提供参考.
是的,stackoverflow中的所有答案都应该告诉您,VPNService API用于创建您自己的VPN应用程序及其自己的VPN堆栈(可能恰好是PPTP/LT2P/ToyVPN/OpenVPN/MyOwnVerySecure VPN协议)而不是配置系统VPN .
用于配置系统VPN的API很简单,不包含在SDK中.