Hi to everyone-
I've developed an app that, among the features, launches an OVPN connection to our server.
So, firstly, thanks to Friedrich Schäuffelhut for having made ovpn possible on android!
Now, i would like my app to start and stop openvpn settings automatically.
At the moment i have a simple button that launches OpenVpn settings, and the user checks or unchecks the box of the configuration to start or stop the connection.
I would like to push the button and have openvpn setting opening and starting the connecion, without any other interaction.
Similarly for stopping it.
I am using appinventor to write the app, and at the moment i have the activitystarter parameters set as follows :
Action : android.intent.action.MAIN
ActivityClass : de.schaeuffelhut.android.openvpn.OpenVpnSettings
ActivityPackage : de.schaeuffelhut.android.openvpn
And i can set these other parameters :
DataType
DataUri
ExtraKey
ExtraValue
Could you please help me?