Method to pass username and password in VpnService.Builder

前端 未结 2 463
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-05 05:37

I am developing the application in which I want to use VPN network. to create VPN network in device we need to configure it from (settings-wireless and network-VPN settings) men

2条回答
  •  爱一瞬间的悲伤
    2021-02-05 06:00

    It is possible using internal android.jar(com.android.internal) and hidden(@hide) API. Refer the below link:

    How to programmatically create a new VPN interface with Android 4.0?

提交回复
热议问题