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

tasker help, searching for tutorials etc

mrmarks

Lurker
Aug 4, 2010
5
1
hello all,
i have been looking for some good tutorials on how to use tasker,
there is so much potential for this app but i find it difficult to use some things, i have some basic programming skills.

ok here is the kind of stuff i want to do:

turn on wifi when i am in range of a known network and turn off when i leave the network area.

set a random song for my alarm. i know how to do this but cannot select a directory which has other directories within it (maybe im just being blind)

when only gprs is available turn off hsdpa and back on again when i come into contact with that network.

when i open google earth/maps/navigation auto turn on GPS.

when browser is opened and not connected to wifi turn on 3g/2g

change wallpaper randomly every so often

auto download images from google using predefined search terms and auto set to background (maybe a bit far fetched)

turn on wifi/ 3g dependant on location and update weather, friendstream and the newsfeed every hour or so then turn off when updated (htc sense) (desire)

any help you learned people could give me would be great also i would love to know what anyone else is using this app for. (although there is a similar thread on here to this)

thanks again MaRKs
 
  • Like
Reactions: SebaKL
No problem, I am learning it myself, it's quite powerful and can get confusing sometimes but I managed to create 2 widgets of my own, one called Car Mode and the other called Home Mode. Next step would be to have the Car Mode turn on automatically as it detects my hands-free set... but this made me realize we have the same issue, yours with your first entry "turn on wifi when i am in range of a known network and turn off when i leave the network area" : how can we expect to detect the known network/blue-tooth device if wifi/blue-tooth is not on in the first place?

;)
 
  • Like
Reactions: mrmarks
Upvote 0
yeah very true, suppose you would have to set up scanning for 1 min every 30?
i have managed to turn on gps when i open maps.
i cant seem to get the 'if' statements to work, i set it up so that when i open market to toggle wifi on if wifi is off but it still seems to turn wifi off if its already on =S
i have also tried to set mobile data to turn on when i open dolphin browser if wifi is off but no luck there either...i do feel like i am making progress though. slooooowly lol
 
Upvote 0
Ha! Forget the if statement in your Market place case, just make it turn on WIFI, it won't matter if it happens to be on already...

Also, my GPS turns on and off automatically when I use Google Maps or my favorite show off app, Google Sky Map... so I didn't set up a profile for that in Tasker.

As for the browser switching to 3G if wifi is off, there is a built-in setting in the Wireless Control / Mobile network section for that (Enable always-on mobile) but there is also a note that it 'might' use more power on some networks so I like that idea, will check it out later, let me know if you succeed.

Ciao for now.
 
  • Like
Reactions: mrmarks
Upvote 0
Some of these are fairly easy once you get the hang of it, so let's see if we can get you started with one.

turn on wifi when i am in range of a known network and turn off when i leave the network area.

By itself, Tasker won't know if a nearby Wifi network is known or remembered, but you can tell it what networks to look for. As an example, let's say you want to turn on Wifi when you're near any one of the following Wifi SSIDs: DunkinDonuts, Starbucks, McDonalds.

Profile: Near Known Wifi
Context: Wifi Near [SSID: DunkinDonuts/Starbucks/McDonalds] [Toggle Wifi: Checked]
Enter Task:
Wifi [Set: On]
Exit Task: (optional)
Wifi [Set: Off]

The exit task is listed as optional because by default, if Wifi was off before the profile went active (a matching SSID was seen), Tasker will turn Wifi back off when the profile goes inactive (matching SSIDs are no longer seen). The Toggle Wifi setting allows Tasker to turn on Wifi periodically to scan for matching SSIDs.

Tasker will take up to two scan cycles to decide that matching SSIDs are not being seen before deactivating the profile. With the default scan frequency when the device is asleep, this could be up to 20 minutes. To turn Wifi off immediately upon disconnecting from a Wifi network, add this profile:

Profile: Wifi Disconnect Off
Context: Wifi Connected
Exit Task:
Wifi [Set: Off]

This profile will do nothing when you connect (because there is no Enter Task), and will turn Wifi off as soon as you disconnect. To create a profile with only an Exit Task, proceed as if the Exit Task is to be an Enter Task, and then at the profiles list, touch the Enter Task and select Move To Exit.

Note that I haven't tested any of the above, but barring any typos I think it should work.
 
Upvote 0
lol i cant do that. it must be PERFECT lmao im determined to crack it i think i may try and write some script for it instead i think i will have better luck with that as i have a bit of experience with it if you have any more suggestions on what else this app could be used for let me know im very interested in what this baby can do.
 
Upvote 0
What's the task for automatically sending SMS? I remember reading it somewhere but can't locate where it was.

hey, yeah for that i think ive got it....i chose the first cintext as day, choose a month or day of the week.
then choose phone.....send sms enter details.
go back to first screen add a new context: time.
and you should be done hope i helped.
 
Upvote 0
I am new to forums, and not a programmer. I just purchased Tasker for my EVO. All I want it to do is:
when at home turn WiFi on, and GPS & Bluetooth off.
when I leave my home location turn WiFi off.
but I just can't get it right. any tutorials or help would be appreciated.

First you'll need to decide how you want Tasker to determine that you're home. You can use any or all of the following contexts: Cell Near, Location (network), Wifi Near, Wifi Connected, Location (GPS). See Tasker: Location Without Tears for information on why you would want to choose one over another, or a combination. Basically, the more accuracy you get, the more power you'll use. Let's say you choose to go with Location (network).

At the main profiles screen, hide the context selector (Menu > Hide Context Selector). Tap New. Give your profile a name. Tap Location > GPS (to turn GPS off) > Get Fix. Once you got a fix, tap Done, name the context, and tap OK. At the Task Edit screen, tap "+" > Net > Wifi, select On and tap Done. Tap "+" > Misc > GPS, select Off and tap Done. Tap "+" > Net > Bluetooth, select Off and tap Done. Tap Done.

Now, on the list of profiles, locate the one you just created and tap on the Enter Task for that profile (on the right side with the green arrow). Select Add Exit Task. Tap "+" > Net > Wifi, select Off and tap Done > Apply.

The exit task isn't strictly necessary, but will ensure that Wifi is turned off after you leave home. Without it, Tasker will return Wifi to it's previous state - so if it was already on when you got home, it would remain on after you leave home, and if it was off before, it would be off after.

Note that you may need to adjust the radius of the location context to a larger value to get the profile to always activate when you are at home.
 
  • Like
Reactions: mparker256
Upvote 0
Froyo has disallowed the ability for 3rd party apps to kill other apps so you will not be able to successfully execute the exit task on your profile. It's annoying but I understand as google is trying make it difficult for malicious apps to run havoc on our devices.

It is really annoying when I leave my car, the bluetooth disconnects and the phone itself starts blaring. Maybe I can change it to stop... using music stop. I don't know that this will handle Pandora too...
 
Upvote 0
I just got Tasker, and I love the app, but I hate the documentation.
One, not a native English speaking person, I find the manuals very technical and hard to read with all the best efforts of Google Translate.

Most of the posts/tutorials are far too vague. They should have more user friendly documentation, and up to date. There are many changes in gingerbread which prevent lots of GPS related actions. I followed the tutorial and couldn't get it to work, just to find out from some blog days later, it's no longer available after certain upgrade.
Serious Love/Hate relationship with Tasker here....
 
Upvote 0
I am learning it myself, it's quite powerful and can get confusing sometimes
4.jpg


me too and i cant wait to get tasker working for me.
 
Upvote 0
Ok so here is what I'm trying to do. I emailed the dev of tasker for help but he (pent) suggested its not possible bc google has disabled the ability with version 3+
Sooooo
What I want to do is actually answer my phone by shaking it when a call comes in instead of having to use the slider bar. I don't know why this wouldn't be possibl??? I'm not wanting auto answer. Any suggestions guys??
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones