でVPNサーバーに接続できるアプリケーションを作成しようとしていpptp protocol
ますandroid.net.vpnservice
.ユーザー名またはパスワードを設定するための API があり、VPN タイプを設定するための API もありません ( )。Google が提供するサンプル アプリケーション (toyvpn) もテストしましたが、以前に言及したものもありませんでした。l2tp,pptp
ここに私が見つけたいくつかのコードがあります:
// Create a new interface using the builder and save the parameters.
mInterface = builder.setSession(mServerAddress)
.setConfigureIntent(mConfigureIntent)
.establish();
mParameters = parameters;