On my device with Android 2.3.4, I can connect to a VPN with a few steps. I just wonder how to do that with 1-click app/widget? Anyone had experience please share. Thank you :-D
As far as I know, you cannot connect automatically but you should be able to direct the user to the vpn-settings page from where the connection can be launched (manually):
Something like this (not tested):
B4X:
Dim i As Intent
i.Initialize("android.net.vpn.SETTINGS","")
StartActivity(i)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.