• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help with Tasker toggle widget

bingobango

Well-Known Member
I'm having trouble getting Tasker to work on my HTC desire.

I want to create a widget that will when clicked will:

- toggle wifi on/off
- toggle mobile data on/off
- [optional] perhaps have some display like WiFi: ON or Mobile Data : Off

Here is what I did.

1. Long pressed on screen, choose add Widget ->Task
2. Create new Task
3. Name: Toggle Data [Click Ok]
4. Add action: NET -> Wifi (Set Toggle)
5. Add action: NET -> Mobile Data (Set Toggle)
6. Choose icon
7. Make Widget

The widget appears on the screen and when you click it nothing happens. No toggling goes on!

What am I doing wrong?

Thanks

p.s. the reason I am using tasker is because I would like to use GO Launcher and it doesnt have any wifi data toggles - I knwo you can download some but they dont work on mobile data very well as they just change the APN).
 
Ok - could this be do to with profiles?

When I open Tasker - there is an ON/OFF button at the bottom right of the screen. When I turn this to ON, my task works (there is a tasker icon in the notification bar)

Why does this profile thing have to be on? Will this drain the battery more?
 
Ok - could this be do to with profiles?

When I open Tasker - there is an ON/OFF button at the bottom right of the screen. When I turn this to ON, my task works (there is a tasker icon in the notification bar)

Why does this profile thing have to be on? Will this drain the battery more?

Tasker's profiles need to be active for anything to work. You can either turn them on and off individually, or as a whole.

Yes - technically it will use more battery... but in my experience, we are talking perhaps a percent of battery every two hours more.
 
Thanks - I am now having trouble with creating a widget that will toggle silent profile on and off.

Say I quickly want to press the widget to activate silent mode, and then press it again to go back to normal (turn off silent).

How would you do this?
 
Thanks - I am now having trouble with creating a widget that will toggle silent profile on and off.

Say I quickly want to press the widget to activate silent mode, and then press it again to go back to normal (turn off silent).

How would you do this?

Well, if "Silent Mode" doesn't have a "toggle" option, then you could do it with "IF" statements?
 
Change the task type to menu instead of execute. For actions have mobile data (on) and mobile data (off)
 
Looks like my wifi/data toggle doesnt work properly :(

I had set it to turn toggle wifi and toggle mobile data. But this morning I noticed that wifi was on but had lost signal - so the mobile data was on instead?? It should have been off.

It looks like it is not switching off mobile data at all (my phone is GSM so I'm not sure if thats anything to do with it).

I don't mind creating two separate toggle widgets. So could someone explain how to toggle Mobile data on and off in Tasker - like actually turn it off completely?

Thanks!
 
A have a similar problem:

I have a widget which toggles wifi/mobile data/autosync ... and I also want it to toggle silent mode, but I dont know how. And since I`m using the widget to toggle those other things it`s not convenient to set it to MENU instead of EXECUTE.

I tried to set it up through vibrations but it proved itself unusable.

I`m thinking about making it toggle a value of some variable (say SLEEPING=1 and SLEEPING=0) and then create a task to automatically change the silent mode, but it`s also a no go as I didn`t find out how to TOGGLE the variable between two states.

Any help here? :)
 
Back
Top Bottom