I would like to launch an external app (OpenVPN) to access a Virtual Private Network, on which my app then performs connection tests.
How can I start the "OpenVPN" app directly from my app when I run it?
I tried this but it doesn't work
How can I start the "OpenVPN" app directly from my app when I run it?
I tried this but it doesn't work
B4X:
Dim in As Intent
Dim pm As PackageManager
in = pm.GetApplicationIntent("OpenVPN per Android")
StartActivity(in) '<==== ERROR: java.lang.RuntimeException: Object should first be initialized (Intent).