Simple taggle for Internet connection On/Off (both wifi and 3G in one shot), that you can add to shortcuts (pulley menu) for quick use.
Just click on the Icon for ON or OFF and you will see notification for this.
Possibility to change behavior:1. Open both connection if one of them closed (default value).
2. Close both connection if one of them closed.
Run as ROOT (or change with any root file manager):
1. Default:echo 1 > /usr/share/openrepos-internetonoff/switch
2. Second:echo 2 > /usr/share/openrepos-internetonoff/switch
v0.2-6
- For v2.1.1.26 and above.
- Script and notifications updated.
v0.2-5
- Notification text changed a little bit, only one notification every time.
v0.2-4
* Fix of notification icon. Adaptation for 1.1.9.28.
v0.2-3
* Fix of notification icon. Adaptation for 1.1.6.27.
v0.2-2
* Adaptation for 1.1.1.27
v0.2-1
* Small fix
* Possibility to change behavior:
1. Open both connection if one of them closed (default value).
2. Close both connection if one of them closed.
Run as ROOT (or change with any root file manager):
1. Default:
echo 1 > /usr/share/openrepos-internetonoff/switch
2. Second:
echo 2 > /usr/share/openrepos-internetonoff/switch
Donation are welcome :)
Attachment | Size | Date |
---|---|---|
internetonoff-0.2-6.armv7hl.rpm | 18.38 KB | 13/09/2017 - 02:41 |
- For v2.1.1.26 and above.
- Script and notifications updated.
Comments
wickedsp1d3r
Fri, 2015/01/09 - 21:44
Permalink
Can I disable the notifications somehow?
Schturman
Fri, 2015/01/09 - 22:56
Permalink
Yes you can..
Just add '#' (without quotes) before each word "python" in the script (as root):
/usr/share/openrepos-internetonoff/internetonoff.sh
For example instead:
python /usr/share/openrepos-internetonoff/notifer1.py
do this:
#python /usr/share/openrepos-internetonoff/notifer1.py
wickedsp1d3r
Sat, 2015/01/10 - 09:54
Permalink
Thanks.
wickedsp1d3r
Sat, 2014/10/25 - 13:56
Permalink
Does not always work and I have to manually switch the connection(s) off.
Schturman
Sun, 2014/10/26 - 11:33
Permalink
For me it work without any problem. Which connection not closed, wifi or 3g ?
Pre on the icon and go to setting, see if both connections icons is not active.
What version of your phone?
wickedsp1d3r
Sun, 2014/11/02 - 18:08
Permalink
I am running 1.1.0.39.
When I have 3G connection open and WiFi off and I use the app (from the quick launch), it switches both connections on, although I would like to close them both (in this case, 3G connection only).
Schturman
Sun, 2014/11/02 - 21:10
Permalink
Aaaa, it's ok.. it should work like this. Also vice versa, if wifi on and 3g off, by pressing on the icon it will open 3g. Because app can't to know what user want to do in the case that one of connections is closed, by default it will open the closed connection.
wickedsp1d3r
Sun, 2014/11/02 - 22:15
Permalink
Hmm.. for me it does not open 3G connection if I have only WiFi on and I press the icon, so both connections are now off.
Schturman
Mon, 2014/11/03 - 00:04
Permalink
Update ready and it have behavior that you want, see changelog ;)
Schturman
Sun, 2014/11/02 - 22:45
Permalink
Hmmm... You are right :D But it should work like I explained... I will update app with possibility to switch close option.
wickedsp1d3r
Mon, 2014/11/03 - 21:34
Permalink
Big thanks! :)