DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 12 of 108 FirstFirst ... 2 10 11 12 13 14 22 62 ... LastLast
Results 111 to 120 of 1072
Like Tree3Likes

Thread: What have YOU done with Tasker?

  1. Junior Droid
    mike789's Avatar
    Member #
    100358
    Join Date
    Aug 2010
    Posts
    8
    Phone
    Motorola Droid
    Quote Originally Posted by madslackin View Post
    Quote Originally Posted by JoeKacz View Post
    Quote Originally Posted by madslackin View Post
    Open the Keyboard and Start Texting - Tasker Wiki

    Has anyone gotten this to work? This would seem like a rather simple function but I'm having trouble. The logic is that when %SCREEN is off and I open the keyboard, it should turn off the keyguard and open my messaging app. Well, installed as it's listed in the wiki, it doesn't do anything when I open the keyboard if the screen is off and the keyboard is closed.

    So I thought maybe the %SCREEN variable gets set to on before the keyboard open event gets set, so I figured I could key this off the %KEYG variable. If the keyguard is on and I open the keyboard, I want it to turn the keyguard off and open my messaging app. That DOES work, but it seems to ignore the keyguard part of it and it opens the messaging app when I open the keyboard regardless of whether the keyguard was on or not.

    I have a state profile that goes like this:

    Keyboard Out ->
    Variable Set Name %KBOUTMSG To on If %KEYG ~ on
    Keyguard Set Off If %KBOUTMSG ~ on
    Load App App Messaging If %KBOUTMSG ~ on
    Variable Clear Name %KBOUTMSG

    Obviously the issue is with the "If %KEYG ~on" condition -- it seems to ignore it and it sets %KBOUTMSG to 'on' regardless of keyguard state.

    Any ideas?
    I haven't looked at the wiki, but I was able to get this to work by simply using

    Context:
    State -> Keyboard Out

    Actions:
    Display -> Keyguard -> Off
    App -> Load App -> Messaging

    No variables needed. Works when the phone is locked and screen off.
    This does work when the phone is locked and the screen is off, but it also works when the phone is unlocked and the screen is on (ie. every time you open the keyboard it'll open the messaging app). I don't want that. I want it to ONLY work when the phone is locked and the screen is off. Any ideas on how to make that work?
    Add a context where the state of the screen is off.
  2. Droid
    JoeKacz's Avatar
    Member #
    43459
    Join Date
    Mar 2010
    Posts
    74
    Phone
    Motorola Droid
    Quote Originally Posted by mike789 View Post
    Quote Originally Posted by madslackin View Post
    Quote Originally Posted by JoeKacz View Post

    I haven't looked at the wiki, but I was able to get this to work by simply using

    Context:
    State -> Keyboard Out

    Actions:
    Display -> Keyguard -> Off
    App -> Load App -> Messaging

    No variables needed. Works when the phone is locked and screen off.
    This does work when the phone is locked and the screen is off, but it also works when the phone is unlocked and the screen is on (ie. every time you open the keyboard it'll open the messaging app). I don't want that. I want it to ONLY work when the phone is locked and the screen is off. Any ideas on how to make that work?
    Add a context where the state of the screen is off.
    Yep... this works for me.
  3. Droid Newbie
    mazzthepianoman's Avatar
    Member #
    110774
    Join Date
    Aug 2010
    Location
    Newark, Ohio USA
    Posts
    3
    Phone
    Droid X
    Here are two context/tasks that turn on my wifi when I am in range of my home router and turn off my wifi when I leave the range of the wifi I am connected to (so it also works away from home like when I leave a Starbucks)

    Context 1
    Wifi Near
    SSID (put in the name of your router that shows up when you are connected)
    Toggle Wifi (checked)

    Task 1
    Wifi
    Set On

    Context 2
    Wifi Connected
    Invert (checked)

    Task 2
    Wifi
    Set Off

    I have the wifi check interval at 600 (10 minutes) which I hope will not be too much of a drain on the battery.

    I run wifi whenever I am home because it seems to use much less power than the 3G connection I can get.
    ~Matt
  4. Master Droid
    Droids's Avatar
    Member #
    8116
    Join Date
    Nov 2009
    Posts
    793
    Liked
    2 times
    Phone
    Bionic
    Quote Originally Posted by mazzthepianoman View Post
    Here are two context/tasks that turn on my wifi when I am in range of my home router and turn off my wifi when I leave the range of the wifi I am connected to (so it also works away from home like when I leave a Starbucks)
    I must be missing something here. Android does this by default. My droid is set up to use wi-fi at home and at work, everywhere else it uses 3g. It switches automatically when I'm in range of the networks. I suspect you might be doing this because you don't want the w-fi service running all the time? I let wi-fi, bluetooth, gps, (all services) run 24/7. If they're not needed by an app, they don't use any battery. Why all the effort to duplicate what Android does just fine on it's own?
    OG Droid retired but serving as a wireless tablet now and then.
  5. Droid Newbie
    mazzthepianoman's Avatar
    Member #
    110774
    Join Date
    Aug 2010
    Location
    Newark, Ohio USA
    Posts
    3
    Phone
    Droid X
    Quote Originally Posted by Droids View Post
    I must be missing something here. Android does this by default. My droid is set up to use wi-fi at home and at work, everywhere else it uses 3g. It switches automatically when I'm in range of the networks. I suspect you might be doing this because you don't want the w-fi service running all the time? I let wi-fi, bluetooth, gps, (all services) run 24/7. If they're not needed by an app, they don't use any battery. Why all the effort to duplicate what Android does just fine on it's own?
    And how does Android know when you are home to reconnect to the memorized router SSID? Wifi is powered and searching which is why I want to power it off when I am away from home. I have 10 IMAP folders running IDLE push so I need to conserve my battery when I can to make it through the day.

    I revised my method since it was toggling the wifi on every time I unlock the screen even though I was setting a 10 minute cooldown.

    The following profiles check every 15 minutes and connect me to my home router if it is in range. It will also disable wifi whenever I disconnect from my current connection whether it be at home or at a Starbucks.


    Profile Home Wifi
    Context
    Wifi Near
    SSID: myroutername
    toggle wifi checked
    Task(s)
    Wifi On

    Profile Wifi Connected
    Context
    Wifi Connected
    Task
    Profile Status "Wifi Disconnect" on

    Profile Wifi Disconnect
    Context
    Wifi Connected invert
    Task
    Wifi off
    Profile Status "Wifi Disconnect" off

    Profile Home Wifi Checker
    Context Time every 15 minutes
    Task Profile Status "Home Wifi" On
    Task Wait 30 seconds
    Task Profile Status "Home Wifi" Off
    ~Matt
  6. Master Droid
    NebulaOcton's Avatar
    Member #
    80961
    Join Date
    Jun 2010
    Posts
    329
    Liked
    1 times
    Phone
    Motorola Droid
    I loaded the Navy Bells profile from the tasker wiki, but I want it to mute Listen when the bells chime. I have Listen start when I plug in headphones and set a variable %LST to 1. I tried using the android media pause and pause toggle to trigger when the bells program triggers but only if %LST is set to 1. That did not work.

    Anyone have an idea on what I can do?
  7. Master Droid
    NebulaOcton's Avatar
    Member #
    80961
    Join Date
    Jun 2010
    Posts
    329
    Liked
    1 times
    Phone
    Motorola Droid
    Quote Originally Posted by Rodskii View Post
    So I just bought tasker today and have been messing around with it. Made a little task that basically gets the weather XML code from yahoo.weather and parses out the condition code. IE: 30 = Partly Cloudy. I then have tasker assign a different wallpaper depending on the condition. I am going to mess around with it some more but as it stands now it's going to be a storage hog considering yahoo weather has 48 different weather codes and I don't want to use a wallpaper for every different one.

    I know tasker has IF statements but do you know if you can do an IF/ELSE statement? Therefore i could setup wallpapers for the standard condition like Sunny, Partyl Sunny, Night, ETC and then have it default to a general one if they don't match.
    This would be awesome. But it would be better if you also create a profile that speaks the current conditions and the forecast for the next two days out loud.. I would do it my self if I had the xml experience but I'm a hardware guy not software.
  8. Droid Newbie
    madslackin's Avatar
    Member #
    29426
    Join Date
    Jan 2010
    Posts
    3
    Phone
    Motorola Droid
    Quote Originally Posted by mike789 View Post
    Add a context where the state of the screen is off.
    Thanks Mike, this worked!

    EDIT: Maybe I was a bit quick to declare it working. It does seem to work now, but it's not consistent.

    After a phone restart:
    Screen is off, keyboard is closed.
    I open the keyboard and the keyguard is off and messaging app is open. Perfect.

    Any subsequent attempt at this:
    Screen is off, keyboard is closed.
    I open the keyboard and the keyguard is ON. When I unlock it, the messaging app is open.

    It seems like Tasker still recognizes the keyboard is open and screen is off, and it does open the messaging app, however it doesn't disable the keyguard. Any idea on why that is?

    EDIT #2: Ran into another issue, also with the keyguard behavior not being consistent.

    I have a very simple profile set that says when the phone is plugged in, turn the keyguard off, with the exit task of turning the keyguard on. I have it plugged in right now and the keyguard stays on. The notification pane even says that 'keyguard off while plugged in' is the active profile, however if I leave the phone sit until the screen goes off and hit the lock button to turn on the screen, the keyguard is on. The frustrating part about this is I can try this over and over without making any changes to the phone, and some of the time the keyguard will be on, while other times it will be off.
    Last edited by madslackin; 08-31-2010 at 02:20 PM. Reason: added more info
  9. Junior Droid
    zeroforum's Avatar
    Member #
    112527
    Join Date
    Sep 2010
    Posts
    5
    Phone
    HTC Droid Incredible
    Great thread - I've been lurking for a while and programmed a lot of these with great success.

    I do have one question - I set these scripts up: Lock your phone and locate it by SMS and sound - Tasker Wiki and added a Lock action at the end of the Task, so it would set the keypad pattern, then lock it.

    Is there a way to have it deactivate the keyboard pattern upon unlocking, but only for the unlock immediately after that profile runs? So basically if I lose my phone, I'll activate the script and it'll lock. When I recover it, upon unlocking the phone the keyboard pattern should deactivate.

    Also a separate but sort-of related question - since I ran the above script, I can't deactivate the keyboard puzzle through MENU > Settings > Security anymore. I can see the green check next to Require Pattern, but the box is grayed out and I can't click it. How do I deactivate it?

    Thanks for the help.
    Last edited by zeroforum; 09-02-2010 at 02:15 PM.
  10. Master Droid
    NebulaOcton's Avatar
    Member #
    80961
    Join Date
    Jun 2010
    Posts
    329
    Liked
    1 times
    Phone
    Motorola Droid
    Zeroforum,
    At the end of your script set a variable %KEYGUARD to 1

    Start a new profile
    Context - Display - Screen unlocked
    Task - Display - keyguard off - if %KEYGUARD matches 1
    Task - Variable - Set Variable - %KEYGUARD to 0
Page 12 of 108 FirstFirst ... 2 10 11 12 13 14 22 62 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Android Application Tasker
    By RW-1 in forum Android Applications
    Replies: 27
    Last Post: 12-27-2010, 12:02 PM
  2. How to set up Tasker
    By Tbone9191 in forum Android Tech Support
    Replies: 4
    Last Post: 11-22-2010, 08:39 AM
  3. Locale/Tasker using calendar?
    By harrellj in forum Android Applications
    Replies: 4
    Last Post: 08-06-2010, 05:39 PM
  4. Using Tasker + Good Morning as an ultimate personal assistant
    By jamsesh in forum Android General Discussions
    Replies: 1
    Last Post: 07-30-2010, 01:00 PM

Search tags for this page

android tasker examples

,
android tasker profiles
,

best tasker profiles

,
how to use tasker
,
tasker android examples
,

tasker examples

,
tasker forums
,

tasker profiles

,
tasker scenes
,
what have you done with tasker
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+