[Solved] How to construct intent to connect VPN?

e.t.l

Member
Tryin to construct an intent to connect to my default vpn profile in the OpenVPN for Android app. The app gives the following instructions (formatted for ADB but containing all the relevant intent info regardless):
adb shell am start-activity -a android.intent.action.MAIN -e de.blinkt.openvpn.api.profileName Blinkt de.blinkt.openvpn/.api.ConnectVPN
I have interpreted this to make the following intent in MD, which I suspect isn't right:
Screenshot_20230620-193701.png
For the string value of Extra 1, ProtonVPN is the name of my VPN profile in the app, although I did also try setting the value to Blinkt just to try. Neither worked.

What's the proper way to set up this intent?
 

FrameXX

Well-known member
The parameter name of Extra 1 should be only profileName NOT de.blinkt.openvpn.api.profileName.
 
Last edited:
Top