cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 130 forks source link

Method to auto-connect #17

Open yjftsjthsd-g opened 7 years ago

yjftsjthsd-g commented 7 years ago

It would be useful if this app could have shortcuts, Tasker bindings, or any other reasonable method to automatically/directly start connections without needing to manually click through opening the app > selecting connection. This assumes that the connection already saves login credentials and can otherwise be started just by clicking it within the app.

dlenski commented 5 years ago

How about quick settings tile? (See #31)

yjftsjthsd-g commented 5 years ago

What I'd hoped for was a way to build this into an automated workflow with Tasker or Termux; for instance, having a Tasker task that connects to a VPN, runs a script over SSH, and then pops up a browser to show the result. I don't know if Tasker can hit tiles or not; I'd assumed it was easiest to expose an intent.