yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] teh_lorax:
Great blog. Very detailed.

If I could give a suggestion, it would be great if you had a screenshot in each post about what those things do. For example, this post:

http://dbilliter.blogspot.com/2011/03/tasker-agenda-updated.html

Now, I haven't really read anything else on your site, so I have no idea what that does.
[Nexus One Themes and Apps] fiveseven808:
Need Help

Wow this thread is huge...

Right now I'm not using tasker for anything more complicated than a profile changer, but I want to do more with it :]

So, I've been trying to get the light sensor value %LIGHT to work, but I can't :[ does anyone have any ideas? I'm running stock 2.3.3 if that helps any~
[Nexus One Themes and Apps] dbilliter:
I thought about something like that but I have no idea how I would implement that. Most of my profiles wouldn't show a change but more change things in the background. The only way someone could see what is going on is to make videos. However, I do not have the time or resources to do that.
[Nexus One Themes and Apps] nyx528:
Tasker is amazing!

I'm not going to go into details, but thanks to this and a couple of other threads I have created a LOT of profiles, widgets, clickable notifications and tasks. To name a few:

Gestures for hanging up a call, speakerphone in call, vibrate mode;

Sound notifications for finding my phone, full battery;

Popups for new Gmail & text messages;

Emergency Lock down & Emergency override via recieved SMS;

Replaced Not Call Log, SetCPU, JuiceDefender, NoLock, SettingsProfiles, STFU, Total Screen Control, Selective Silence, Missed Call Remider, Missed Reminder, Email Notifier, SMS popup;

Popup menus when headphones plugged in and charging;

Widgets for Ringleader profiles and Movie Mode toggle;

and my phone says "Hello Nicole" and "Good night" in a sexy, if robotic, english accent when booting up and in Bedtime mode respectively.

LOVE THIS APP! <3 :D
[Nexus One Themes and Apps] brandall:
I've had a go at the CPU Profiles in this thread http://xdaforums.com/showthread.php?t=1018245 if anyone is interested? I could do with some feedback! I hope they work....
[Nexus One Themes and Apps] brandall:
Data connection and sync control tutorial added here.

Hope you find it useful.
[Nexus One Themes and Apps] teh_lorax:
Holy crap you're wordy.

Well done sir. I might have to try this!
[Nexus One Themes and Apps] brandall:
Ha! Tasker is never easy to explain......... that's my excuse for waffling anyway...
[Nexus One Themes and Apps] brandall:
How to use Tasker as an automated Task Killer - with widget - tutorial added here

Hope someone finds it useful!?
[Nexus One Themes and Apps] m4a1rifle:
any able to get tasker to detect gtask app notification as context successfully working?
[Nexus One Themes and Apps] {Diemex}:
This I created, because I'm too lazy to go back to the homescreen.:D

First screen can be activated either through long search-button-press or by clicking on the permanent notification in the taskbar.

This is the Most-Used-Apps screen, it can be accessed through the main menu and it also shown after unlock.

The Settings screen, I'm still adding to it.

Thats just one of the folder organizer folders from the main menu.

I'm constantly improving this one, luv it....:cool:
[Nexus One Themes and Apps] soloxp:
Can you give some steps on how you did the first screen.
[Nexus One Themes and Apps] {Diemex}:
This is how I did it

1.) The Event

2.) The Menu

3.) The Menu Settings

4.) The Wallpaper
[Nexus One Themes and Apps] soloxp:
Nice, Is there a profile or just a tasks menu.

Thx.

I think I got. Create a Event Profile then a Tasks edit. But how do I create a permanent notification.
[Nexus One Themes and Apps] {Diemex}:
It's a profile that is triggered by pressing long-search, in the profile there's just the menu.
[Nexus One Themes and Apps] {Diemex}:
How to create a permanent clickable Notification

Create the profile

Go into alert -> Notify

Select Permanent

Create a New Profile

Select Event -> UI -> Notification Click

Assign it to the task you want to run, when the notification is clicked

VOILA:
[Nexus One Themes and Apps] Vostradamus:
Hi everyone :)

I was playing around a bit, and I stumbled in a small problem :p

I wrote a simple profile to play repeating audio notifications when I have one or more unread email on my gmail account (nothing fancy, just getting acquainted with tasker)

Activating the profile has been easy: it activates when a notification from gmail is received.

"normal" deactivation is quite easy too: it deactivates as soon as I open the gmail client (I know, that does not necessarily mean I'm reading the mail, but I'm ok with that)

Now my doubt.... what happens if I receive the newmail notification on my phone, but I read the new mail on the pc?

The notification will disappear as soon as the phone syncs, but the "repeat email notification" profile will remain active 'cause no gmail client as been opened.

I know I could still open the client just to deactivate the profile, but I was wondering: is there a way to "intercept" the disappearing of the notification and thus auto-deactivate the profile?

(and yes: I know there are several ready-made apps on the market to handle repeating notifications... I just wanted to play around with tasker a little bit) :p

Any idea anyone? :)
[Nexus One Themes and Apps] soloxp:
Thank you sir.
[Nexus One Themes and Apps] {Diemex}:
First of all how did you accomplish the repeating notifications?

Is the notification sound constantly repeating?

Its not really easy to give an advice if one doesn't know the exact setup, because there are various ways to accomplish things in tasker.

As I don't know your exact setup,

I would say that you could try making a menu (I love those) and put an open gmail and put a not now button in it.

And when you press not now your repeating notification should stop.

galaxy tab 1.4.5 overcome
[Nexus One Themes and Apps] Vostradamus:
I achieved that with 3 profiles:

profile 1 - when a gmail notification is received it sets a variable which I named %GMNOTIFICATION to 1

profile 2 - when %GMNOTIFICATION get sets to 1 it:

---- 1) waits for 5 minutes

---- 2) if %GMNOTIFICATION is still 1, it plays the sound

---- 3) if %GMNOTIFICATION is still 1, it goes back to step 1

profile 3 - when gmail app is launched it sets %GMNOTIFICATION to 0

When a gmail notification is received, profile 1 sets the variable, which starts profile 2's task that loops until the variable is back to 0. Opening gmail app triggers profile 3 which sets the variable to 0, thus cancelling the repeating sound task

You're right, my bad, I should have explained the details sooner :p

Of course that could work, but it would sorta defeat what I'm really trying to accomplish :p

I'd like the repeating sound to stop automatically with no user input :)

It would be easy if the "self disappearing" (I mean: without even clicking on it) of a given notification from the notif. bar could somehow trigger an event, but I could not find a way to do it (if it's possible at all, that is) :o
[Nexus One Themes and Apps] {Diemex}:
Letting the notification disappear with no user input is probably not possible.

But you could work either with state, that the notification disappears after a given time when the phone is lying face up.

Or you could take out the loop and replace it with a limited loop.

Everything else I'm thinking of would work with two variables,

one for the received notification and one that changes after a given time and stops the loop.

And that would make things unecessary complicated:p.
[Nexus One Themes and Apps] Vostradamus:
You're most probably right, there could be no way of making it work like I'd like :P

I guess I'll just create a notification myself in the loop and I'll add another profile to stop the loop when that notification is tapped. It will still require user input, but at least it won't need to open gmail when there's no need to and won't use any screen real estate :)

_____________________________

Sent from my I9000 shouting very loud :)
[Nexus One Themes and Apps] {Diemex}:
I have some ideas that I want to realize.

The most recent one.

I'd like a remainder, that reminds me to use Rosetta stone, but now the tricky part.

I only want it to show when I haven't yet done my halfen hour of exercising yet, on the PC.

The problem is, there isn't something like tasker for the PC.

Any ideas?

Otherwise, If anyone is interested I still have a reading profile, which switches display timeout in apps like aldiko, xda, opera and videos of. Its generally set to 30 seconds.

Its not a nice solution, but it works.

Then I also have the menu that opens when I plug the headphones in.

I tried to deactivate it when music is playing. Best I could get to is deactivating the menu when the music app etc is already running in the foreground. Also not really nice, but better than no menu.

One menu I'm also not really happy with is the unplug-headphones-menu. With my firmware it automatically pauses music playback when I unplug the headphones.

But it still plays music and sounds from other apps.

So I actually wanted a menu, with options to resume playback, mute media volume and stop the audio playback.

The media control commands sadly only work with winamp. So if I use winamp it actually works.

I can resume the playback when I unplug the headphones.

But if I use the standard music app it pauses the playback and if I press resume it opens winamp and plays a completely different track.

Once I've reached 10% battery I let it turn autobrightness off, otherwise it will set the brightness to the lowest value...

Then I still have some notifications.

The silence profile when the phone is turned facedown.

The gps-profile with a 1 minute wait phase before turning GPS off.

galaxy tab 1.4.5 overcome
[Nexus One Themes and Apps] blueron80:
Any idea of how do i start quicksshd using tasker and the locale execute plugin ? i tried this -

"! /data/data/com.teslacoilsw.quicksshd/dropbear/quicksshd_helper start

But nothing seems to be happening. I get the su request ..but thats it. How do i proceed ? Please, anyone ?
[Nexus One Themes and Apps] fubaya:
I think "start" and "stop" has to be in caps. This is the command I use:

/data/data/com.teslacoilsw.quicksshd/dropbear/quicksshd_helper START
[Nexus One Themes and Apps] powerdoesntrun:
This may seem random, but does anyone know why the lockscreen-off widgets in ROMs like CM7 and SkyRaider (different phone, obviously) seems to be controlled separately than the one that you can set in tasker? I'd like to be able to set a context to toggle the lock screen, but when I do, not only is the SR toggle not changed, but it doesn't even work anymore.
[Nexus One Themes and Apps] crachel:
Are you talking about disabling keyguard? Tasker's implementation from froyo on is unreliable. Other Apps that toggle lockscreen need administration privileges, which Tasker doesn't even ask for. So, long story short Tasker's lockscreen toggle is broken and unreliable (screws with home button binding too). Pent had mentioned looking into it, but not sure where we are on that
[Nexus One Themes and Apps] teh_lorax:
What if you use State > Calendar Entry? Then you could maybe update the calendar after you exercise.
[Nexus One Themes and Apps] powerdoesntrun:
Does anyone else have an issue where you wake your phone up, and then after a few seconds, your wifi just turns off? The only tasks I have that touch data are:

Cell near: wifi on / off

Wifi near: mobile data off / on
[Nexus One Themes and Apps] {Diemex}:
That's a good idea, but I'd need some program on the PC that automatically updates gcal when Rosetta stone is launched, otherwise I could just create a widget to untoggle the profile.

To poster before me.

I think it does this because you let wifi switch of when.cell is near. So I would think because cell signal is actually everywhere it switches wifi of?

I'm on froyo.

I'd like to disable keyguard when I'm out of the house. Id like to always switch it on after the display has been off for 30 minutes. When I unlock it, I want it to take 30 minutes again to enable keyguard.

class signature { double OverCome = 1.45 ; galaxyTab sent (to XDA);}
[Nexus One Themes and Apps] DroidBois:
You don't need a mobile data off as the phone should not use mobile data with wifi connected.

I found Cell Near to be quite erratic so I use Net Location instead, same thing but more accurate and simpler to set up. Use radius 1500 metres or more.
[Nexus One Themes and Apps] powerdoesntrun:
Have you had any luck with wifi near? I wonder if that is causing issues as well. I get the feeling that anything that turns wifi off is likely to get confused at one time or another and make it cut out when it shouldn't :-/. I have been trying to use whichever method is best for battery life, but it doesn't do me any good if it doesn't work. Maybe I'll try net location. All else fails, I just give up on trying to control wifi power.
[Nexus One Themes and Apps] DroidBois:
Actually I think I did, if it was on toggle it may have 'toggled' the connection even if it didn't need to?

So now I use WiFi Near for where I don't connect, like some work sites, and WiFi Connected for where I do connected.

Someone should send in a bug report.
[Nexus One Themes and Apps] simonk83:
Ok, here's one for you :)

My current phone plan gives me loads of call credit, however if I call a 13 or 1300 number then I get charged a seperate fee out of my deposit (which I obviously don't want).

I've been trying to set something up that'll alert me (via popup, or just ending the call or something) if I try and dial a number that starts with 13. Unfortunately I'm not sure I'm smart enough to work it out :D

Is anyone able to suggest anything that might work through Tasker?

Thanks!
[Nexus One Themes and Apps] Rob.G:
I believe that if you were to try using anything regarding the Called Number variable (%CONUM ), it affects the second call. Almost as if Tasker checks the variable after the call has ended.

Ex.

Call 1: 131234567 - allowed

Call 2: Voicemail - blocked

However, you can accomplish this with the Call Block action and it won't even require a profile.

Press Menu > More > Run an action. Select Phone > Call Block, in the box enter 13* andcheck the Info box.

This sets up a call block for any number starting with 13. When you want to stop this use the same steps and choose Call Revert instead.
[Nexus One Themes and Apps] simonk83:
Brilliant, thanks heaps for that, works a treat :)
[Nexus One Themes and Apps] heywtf:
No idea if this has already been mentioned but you can schedule nandroid backups with Tasker using the com.koushikdutta.rommanager.backup intent. Obviously you can do this in ROM Manager premium but Tasker is a bit more robust. My current profile is

Contexts:

Time, 6am

State, AC power connected

Task:

Misc -> Action intent, com.koushikdutta.rommanager.backup

(Make sure 'broadcast receiver' is selected)

This way the backups happen as I sleep and I don't even notice the battery hit when it's time to get up.

What would be awesome is if there's a way to get Tasker to delete backups that are a certain age (say, older than a week) but I'm not sure if it's possible.
[Nexus One Themes and Apps] crachel:
Nice, thanks..

One way you could delete old backups is to use the Execute plugin and whip you up a command that deleted only content older than a week for instance,

http://www.docplanet.org/linux/delete-files-older-than-a-week-in-linux/

that might work, it might not.. if you try it, please report back and let us know :)
[Nexus One Themes and Apps] heywtf:
Hmm, I think it does. I've just been testing that command on old, unimportant folders on my sdcard (I knew they would come in handy) and it's been deleting everything properly apart from the test files I just added. You have to use rm -r though because the folders are non-empty, and that command terrifies me, but I'll get over it.

I'm going to incorporate it into the same Tasker profile, something like:

Execute, find /sdcard/blahblahblah rm -r blah

Wait, 15 seconds

Action intent, com.koushikdutta.etcetc.

Setting it to three days just for testing purposes, but it's looking good.
[Nexus One Themes and Apps] brandall:
That's great! Thanks for sharing.
[Nexus One Themes and Apps] DDM123:
Does anyone know about grabbing info from Google Nav as it runs? Just trying to create a task that will occasionally read aloud ETA, distance to go, etc. I already have a task that reads aloud the nearest town and temperature every 20 mins but I haven't dealt with intents and I'm not sure if it can even be done.
[Nexus One Themes and Apps] brandall:
I've done it without using Locale. It gives you a warning that the directory isn't empty, but I can live with that. It looks for the back-up file that is two days old using a variable and deletes it. I've used two separate profiles.
[Nexus One Themes and Apps] brandall:
My backup from 6am was:

sdcard/clockworkmod/backup/scheduledbackup-2011-06-02-06.00.07/

I was always expecting them to end .00 like:

sdcard/clockworkmod/backup/scheduledbackup-2011-06-02-06.00.00/

So I need to make some changes to the profile I posted to account for this....
[Nexus One Themes and Apps] heywtf:
Can't make heads or tails of your profile. I thought I understood Tasker but apparently not :P

Actually kind of surprising that Tasker can't run shell commands without a plugin.
[Nexus One Themes and Apps] brandall:
I'm pretty sure shell commands are on the todo list somewhere...

The profile is overcomplicated for what it does, but I can't help myself... To briefly explain:

I want to delete the backup from two days ago, so I always have two copies in case one is corrupt, or I notice a bug. Yesterday, 2 days before 2nd of June made 2nd - 2 = 0 of June... so I had to look at the days for the previous month.

I used a pseudo-array created by UncleMike - it's basically a big variable split with the days of the previous month in. IF day of the month is less than 3, it looks in the big variable and splits it by the current month which shows the days of the last month - you can then -2 off that!

I had to do some messing because Tasker's date format was completely backwards to the date in the backup file folder... So they are the remaining splits and joins...

Think that about covers it... Oh, if the date came out as 11.6.1 I had to variable set 01.06.2011, just putting the zeros or 20 in front...

If it's ok with you, when I sort the file deleting issue, I'll update the tasker wiki with this? I will fully credit you and UncleMike of course... :)
[Nexus One Themes and Apps] heywtf:
If you insist but all I did was find the intent.
[Nexus One Themes and Apps] strictlyrude27:
If anyone else is using Texty + SMS app that does popup notify, it turns out Texty doesn't clear your SMS notifications, and clearing your SMS notifications doesn't kill the popup notify.

I wrote some Tasker profiles that let you do all of that.

http://xdaforums.com/showthread.php?t=1108242
[Nexus One Themes and Apps] teh_lorax:
It was initially designed, and still is, for people to use without root. Not many non-root shell commands that people would likely want to run...
[Nexus One Themes and Apps] strictlyrude27:
Latest versions of Tasker can run as root.

There are plenty of things you can do with Tasker/root. Killing apps, for instance. Or simulating keypresses. Etc.
[Nexus One Themes and Apps] heywtf:
If we have to use Locale in some form anyway then the original command from a few days ago does all this in one fell swoop doesn't it?
[Nexus One Themes and Apps] brandall:
I must admit, I didn't investigate that command further as I wasn't sure how it would populate the {}

find /path/to/the/files -mtime +7 -exec rm {} \;

"The command that does the deleting is 'rm' and the curly brackets are replaced with the path of each file that is found by find".

It made it sound like it wasn't automatic?!

If you have it up and running and it works well, please do share the full string and then it can replace the need for the text file etc as you say :)
[Nexus One Themes and Apps] heywtf:
find /sdcard/clockworkmod/backup -mtime +3 -exec rm -r {} \;

To my knowledge {} just means "whatever was found". It's been working fine for me over the past week. I thought you were just trying to find a way to make Tasker do the same thing but without using an external plugin.
[Nexus One Themes and Apps] brandall:
Originally I was! But then I clearly forgot about that and made things very over complicated... Oops!

What's a few hours of my life down the toilet...? I'll test the command out. Thanks again.
[Nexus One Themes and Apps] brandall:
When you execute this, does the folder scheduledbackup-2011-06-XXXXXX/ still remain, but with the contents deleted?

Any idea how to get rid of the backup folder too?
[Nexus One Themes and Apps] heywtf:
Doesn't leave any empty folders behind for me...
[Nexus One Themes and Apps] brandall:
Damn it! It does for me....

Why is nothing ever easy...? :confused:
[Nexus One Themes and Apps] teh_lorax:
Those are relatively new additions tho. In fact, I didn't even know it could use root to kill tasks until you mentioned it. :D
[Nexus One Themes and Apps] sarshadd:
I'm using widget locker, but im trying to disable the default PIN lock every two hours. I have previously been using "Delayed Lock" but why waste the memory if I can get tasker to do the same thing. I followed this tutorial and tried a few different variations but it never works.

Any help and/or suggestions please? Thanks,

Edit: Nvm, I figured it out...

1. display unlocked> keyguard> set off

2. Notify (title: Keyguard unlocked) if %keyg ~ off

3. wait 2 hrs

4 keyguard set on

5. notify cancel (title: keyguard unlocked)

task properties; Collision Handling: abort new task

(this way the phone re-locks itself 2 hours from the initial unlocking.)

unless anyone can think of a better way to do it...?
[Nexus One Themes and Apps] svscott26:
I am running 1.0.9 Tasker on my 2.2 Froyo Droid X and I don't think I am able to kill apps? Am I missing something? What I am trying to do is make Tasker kill the app Vlingo after I disconnect from my car charger. The main reason being is that Vlingo will not end itself after I close the app and reboots my phone.
[Nexus One Themes and Apps] heywtf:
Update to the latest version, 1.0.9 is from ages ago.
[Nexus One Themes and Apps] brandall:
How did you find the intent?
[Nexus One Themes and Apps] heywtf:
apktool'd ROM Manager and read the AndroidManifest.xml
[Nexus One Themes and Apps] eliteforce:
i have problem with tasker

i created profile when i use app navitel - tasker should activate gps

but nothing happens

before at android 2.1 all worked fine profiles rolled up from backups
[Nexus One Themes and Apps] brandall:
Thank you! I've wanted to know how to find other intents from applications I use. Knowing this will be really handy :D
[Nexus One Themes and Apps] crachel:
Android doesn't allow Tasker to directly toggle GPS starting (I think) with Gingerbread
[Nexus One Themes and Apps] brandall:
In Gingerbread, Tasker can no longer toggle the GPS. This is not a problem however, as under menu/settings/location & security tick 'Use GPS satellites'.

Even if this makes a widget show that GPS is 'on' - it isn't. Google will tell you that in Gingerbread, ticking this option means that GPS is ready to use when required and will use no additional resource.

I've posted this same reply to many users who tick the box and then report back that indeed, it did use no battery power... :)

So, you need to remove all of your GPS actions that you used in 2.1, as now when you start navigation or use a GET location action, GPS will automatically start and then stop after... Sorted!

Hope that helped.
[Nexus One Themes and Apps] eliteforce:
Thankz for tip!

i think the same problem with app list - tasker should turn of display timeout - but doesnt
[Nexus One Themes and Apps] brandall:
There have been a few issues since Gingerbread, that may be one of them, but a Tasker update with plenty of fixes is due shortly - the beta is available to download on the website if you want to give it a try. I think it's very near the final version.