1. Are you ready for the Galaxy S20? Here is everything we know so far!

tasker help, searching for tutorials etc

Discussion in 'Android Apps & Games' started by mrmarks, Aug 4, 2010.

  1. mrmarks

    mrmarks Lurker
    Thread Starter

    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

    SebaKL likes this.

    1. Download the Forums for Android™ app!


  2. mrmarks

    mrmarks Lurker
    Thread Starter

    yeah i have read through these they were helpful but they aren't particularly detailed and dont go into much detail using different apps with turning on and of different data types
    thanks alot
  3. TheRafMan

    TheRafMan Lurker

    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?

    mrmarks likes this.
  4. mrmarks

    mrmarks Lurker
    Thread Starter

    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
  5. TheRafMan

    TheRafMan Lurker

    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.
    mrmarks likes this.
  6. UncleMike

    UncleMike Android Expert

    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.

    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.
    Center, Maris and mrmarks like this.
  7. mrmarks

    mrmarks Lurker
    Thread Starter

    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.
  8. HyBReD

    HyBReD Newbie

    What's the task for automatically sending SMS? I remember reading it somewhere but can't locate where it was.
  9. mrmarks

    mrmarks Lurker
    Thread Starter

    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.
  10. mparker256

    mparker256 Lurker

    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.
  11. UncleMike

    UncleMike Android Expert

    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.
    mparker256 likes this.
  12. mparker256

    mparker256 Lurker

    Thank you! It seamed easy enough, I got it all entered and will test it later. again, thanks very much.
  13. Eris1981

    Eris1981 Android Enthusiast

    Here is one I am trying to do:

    Bluetooth changes state to connected:

    Show Media menu: --> I have this working

    When bluetooth changes to not connected kill Pandora and kill Music

    The second half I have not been able to get to work using as an exit task on the first part... any ideas?
  14. sharkerbaby

    sharkerbaby Member

    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.
  15. Eris1981

    Eris1981 Android Enthusiast

    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...
  16. UncleMike

    UncleMike Android Expert

    It won't stop anything, but you could set the media volume to zero, or some reasonable level.
  17. Eris1981

    Eris1981 Android Enthusiast

    Actually it does, I got it to stop the music [Pandora], I just have not figured out how to have it exit the program.
  18. SebaKL

    SebaKL Android Enthusiast

    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....
  19. blahsaysmeu2u

    blahsaysmeu2u Well-Known Member

    me too and i cant wait to get tasker working for me.
  20. blahsaysmeu2u

    blahsaysmeu2u Well-Known Member

    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+
    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??

Share This Page