acidburn0zzz / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
1 stars 0 forks source link

Feature request: Toggle connection widget #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be awesome if the preconfigured VPN connections could be toggled by a 
1x1 widget on the home screen.

When adding the widget, one VPN connection should be specified, which will be 
toggled.

Original issue reported on code.google.com by loor...@gmail.com on 28 Aug 2012 at 1:23

GoogleCodeExporter commented 9 years ago
You can widget (shortcuts) which allow you to start the VPN. Toggling VPN is 
not possible at the moment or planned.

Original comment by arne@rfc2549.org on 28 Aug 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Is there a reason why widget support isn't planned?

I'd also like to see this feature. I've did some widget development in the past 
and would be willing to tackle it, but I also don't want to waste my time if 
research has already been done and there is a technical reason against it.

Original comment by j...@ragtop.org on 11 Oct 2012 at 6:23

GoogleCodeExporter commented 9 years ago
No there is no technical reason against it. 

Main reason is that it is a lot of work to do it right. I don't want a half 

Widget needs at least 4 graphics which are : 

a) not connected
b) connected
c) connecting/reconnecting
d) another OpenVPN is in use 

The graphics should be easily understandable. For example the other Ring could 
be grey if not connected, half filled with colour while connecting and 
completely coloured when connected. When other another VPN is connecting the 
icon could completely greyed out.

The state of the widgets need to be updated.

It is a lot of work for a feature I personally don't deem so much better than 
the current shortcut+disconnect by the notification bar status. This is why I 
have not planned to do so yet.

Another viable way is for example to implement a custom notification remote 
view which has a disconnect button which also would allow fast connecting and 
fast disconnecting.

But if you want to do it and submit patches I am in no way oposed to it. I 
think it is a nice a feature but very low on my own priority list. I can do the 
graphics. (Not everyone has Illustrator to edit the master file)

Original comment by arne@rfc2549.org on 11 Oct 2012 at 8:40

GoogleCodeExporter commented 9 years ago
This sort of action is also something that should be available for launching 
via NFC tags, using NFC Task Launcher & Tasker.

Original comment by Inv4dr...@gmail.com on 7 Feb 2013 at 5:21