I finally got my task to work I believe to have my text messages and my phone calls announced thought my headset when the bluetooth is connected: This is what I have:
Media Control Pause stimulate Media button on
Say text/phone call
Media Control Toggle Pause Simulate Media button on
Now this works perfectly. Most time I either have Pandroa or my native music player playing music though my bluetooth at the same time and it does what it is suppose to: stops music say text/phone, resume music.
The problem comes in when I don't have any music on, after saying the text/phone call it will start to play music from my native music app anyways. What can I do to not have music played if there was not music being played before the text/phone call came in
Lurked in the forum for a while but first post. I just installed Tasker on my Galaxy S II and I have managed to successfully create a few profiles. Now that I have a couple fairly simple ones in, I'm starting to get in over my head.
I'd like to create a widget that toggles a profile for my car that would: automatically place voice calls on speaker when I pick them up, read me incoming text messages, and have it set up so that I can automatically respond to text messages with voice to text.
Do you need to know programing language or is Tasker easy to use? I'm thinking about getting this app. Is there a place that has profiles already made to basically copy another profile that someone has written?
Device(s): Nexus4, iPad 2, Chromebook (Cr-48), and Win 7 netbook
Carrier: T-Mobile
Thanks: 1,127
Thanked 1,744 Times in 1,135 Posts
Quote:
Originally Posted by shanny871
Do you need to know programing language or is Tasker easy to use? I'm thinking about getting this app. Is there a place that has profiles already made to basically copy another profile that someone has written?
It takes more time to set up than most apps, but that is because it is so versatile and powerful. The Tasker Wiki has some profiles that you can use set up some on your phone, that is what I did when I first got the app. Now I always make my own, in fact just this morning I cleaned mine up and optimized some of my earlier profiles.
You definitely do not need to know any programming languages. If you just take a little bit of time to learn how to use the app you will be making very useful profiles in no time and the app will be well worth the money.
__________________ Nexus 4, rooted of course! -Charlie Walters
Don't forget to click "Thanks" if someone helps you out Report it if something offends you
The Following User Says Thank You to chrlswltrs For This Useful Post:
Do you need to know programing language or is Tasker easy to use?
Neither. I don't know a single programming user, and I use Tasker just fine. It is not, however, easy to use. It's all GUI-driven, but the interface is a bit clunky and counter-intuitive. Once you get used to using it, though, you realize it's quite powerful.
Quote:
I'm thinking about getting this app. Is there a place that has profiles already made to basically copy another profile that someone has written?
Yes.
The Following User Says Thank You to aysiu For This Useful Post:
Hey guys, i am new to Tasker, so i have some questions. I am trying the app the last 12 hours. I managed to do a lot of things, but just basics.
Here is my problem: I want when going home my wifi to turn on but ONLY if the browser/youtube apps open. As soon as i close the browser the WiFi should also close. Wifi closes as soon as i am away from me home.
I created 2 Profiles ad the following Tasks.
1. WiFi Home Context: Location Tasks:
Profile Status - Online Apps - Set On
WiFi - Set On - If %Internet Matches 1
Variable Clear - %Internet Exit Tasks:
WiFi - Set Off
Profile Status - Online Apps - Set Off
2. Online Apps Context: Application - Internet/Youtube Tasks:
Variable Set - %Internet To 1 Exit Tasks:
Variable Set - %Internet To 0
WiFi - Set Off
I dont know if these are correct, but it wont work properly.
I open the browser but it wont open the WiFi and uses only 3g.
I checked that the Online Apps works, when i open the Internet the Online Apps goes GREEN. And the WiFi Home is also GREEN when i am at home.
Last edited by Jerje; January 16th, 2012 at 05:15 AM.
2. Online Apps Context: Application - Internet/Youtube Tasks:
Variable Set - %Internet To 1 Exit Tasks:
Variable Set - %Internet To 0
WiFi - Set Off
I dont know if these are correct, but it wont work properly.
I open the browser but it wont open the WiFi and uses only 3g.
I checked that the Online Apps works, when i open the Internet?
1. WiFi Home Context: Location Tasks:
Profile Status - Online Apps - Set On
WiFi - Set On - If %Internet Matches 1 WiFi should open here, only if the Online Apps are enabled. Otherwise if i open it in the Online Apps it will open and close anytime i open my browser and away from the location i have chosen(in that case my home).
Variable Clear - %Internet Exit Tasks:
WiFi - Set Off
Profile Status - Online Apps - Set Off
2. Online Apps Context: Application - Internet/Youtube Tasks:
Variable Set - %Internet To 1 Exit Tasks:
Variable Set - %Internet To 0
WiFi - Set Off
Quote:
Is there really an application called Internet?
In my galaxy s2 the internet app is called Internet.
Last edited by Jerje; January 16th, 2012 at 05:14 AM.
Context: Location Tasks: Task Name: At Home (We need a name cause we perform it again in the next Profile)
Profile Status - Online Apps - Set On
WiFi - Set On - If %Internet Matches 1
Variable Clear - %Internet Exit Tasks:
WiFi - Set Off
Profile Status - Online Apps - Set Off
Variable Clear - %Internet
2. Online Apps Context: Application - Internet/Youtube Tasks:
Variable Set - %Internet To 1
Perform Task - At Home Exit Tasks:
Wait 30 seconds
Stop - if %PACTIVE Matches *Online Apps*
WiFi - Set Off
Now it does what i wanted to. When i am home it open the WiFi only if i want to browse or youtube. Otherwise wifi stays off.
I have set up different profiles to turn my wifi on/off on my Skyrocket.
One is based on "cell near" and the other is location based to within 500m of my house, using net and not GPS.
They work just fine on turning the GPS on and off. However, the problem I am having is that when I am at home and the Wifi is on (using the Tasker profiles - Wifi doesn't shut off when I get a call if I just have Wifi turned on and tasker is turned off) and I receive a call, the wifi turns off. It does this whether I use the cell near or the location profile (I presume due to the fact that it is reading the cell tower and when the call comes in it disrupts it?)
In any event, I created a third profile to run in conjunction with either of the others to keep Wifi on when it is connected to my home router thinking that this might help by overriding it since it is set to stay on as long as it is connected to the router. But, no luck. Wifi still turned off when calls came through.
So, my question is: is there a way to ensure that Wifi will stay on when a call comes through/on a call in the profiles?
I could really use some input how to set up a profile, that auto activates Bluetooth, when I'm driving. But I would like the profile to activate, when I begin driving. I've been trying different settings, but havn't come up with a profile, that forfils this task.
My gues for a profile is, if possible, if Tasker can monitor if GSM cell changes, then it should turn ON Bluetooth. That would be (I gues) an almost non battery usage profile, as a substitute for a GPS profile. As far as possible, I would like not to use GPS because of the higher battery usage. Also the profile should only stay active for a given period, if there are no connection to my Bluetooth device (radio).
Device(s): HTC Desire
HTC sensation xe
Samsung galaxy tab 10.1
Asus Transformer prime
Carrier: Not Provided
Thanks: 44
Thanked 28 Times in 26 Posts
Quote:
Originally Posted by fhansen
Hi guys
I could really use some input how to set up a profile, that auto activates Bluetooth, when I'm driving. But I would like the profile to activate, when I begin driving. I've been trying different settings, but havn't come up with a profile, that forfils this task.
My gues for a profile is, if possible, if Tasker can monitor if GSM cell changes, then it should turn ON Bluetooth. That would be (I gues) an almost non battery usage profile, as a substitute for a GPS profile. As far as possible, I would like not to use GPS because of the higher battery usage. Also the profile should only stay active for a given period, if there are no connection to my Bluetooth device (radio).
Is this possible?
Regards
Frank
Denmark
Why not just get a car charger (imo, doesn't make sense not to have one, especially if using navigation.) This way you can set profile to turn on when connected to carcharger with the "if not at home" or work etc wherever else using charger. I have a pop up when I plug charger on that allows to to switch profiles to car, work, home etc.
I know this doesn't answer your question.but im not sure how you would do what your asking. The cell near is easy enough but that would mean whenever you left any chosen area (home etc) Bluetooth would switch on regardless of in car or not, even if you had it turn off after no bt connection, it would still be on for a period of battery drain time. I once play with an idea of car profile changing once travelling over a certain speed but only managed to find out how to convert speed onto mph from httpget data. Sorry can't be more help
Why not just get a car charger (imo, doesn't make sense not to have one, especially if using navigation.) This way you can set profile to turn on when connected to carcharger with the "if not at home" or work etc wherever else using charger. I have a pop up when I plug charger on that allows to to switch profiles to car, work, home etc.
I know this doesn't answer your question.but im not sure how you would do what your asking. The cell near is easy enough but that would mean whenever you left any chosen area (home etc) Bluetooth would switch on regardless of in car or not, even if you had it turn off after no bt connection, it would still be on for a period of battery drain time. I once play with an idea of car profile changing once travelling over a certain speed but only managed to find out how to convert speed onto mph from httpget data. Sorry can't be more help
You are right. It would be much easier with a car charger, but I have a multi holding device, with no power, because I need to be able to hold to different model phones. I can still charge the phones via cigaret carger plug, and an USB cable, but this will only be used when really needed, because of the inconvience.
I don't use navigation from my phone. I use my built in car radio.
I wouldn't use the near cell, because like You describe, the profile would be active, when I'm not near a specific cell tower. What I seek is a function in Tasker, which monitors which cell is currently in use. This I could use as a context (when cell tower shift), to activate a profile. But can't seem to see such a function.
You could create your own function to trigger a reaction to cell changes by comparing current cell id to the last cell id (stored in a user variable). I use this approach to pickup new cells that I need to add to my location dependent profiles.
However this would fire very often and be a potential processor/ battery hog in high cell density areas.
Personally I use an NFC tag in the car to toggle bluetooth.
You could create your own function to trigger a reaction to cell changes by comparing current cell id to the last cell id (stored in a user variable). I use this approach to pickup new cells that I need to add to my location dependent profiles.
However this would fire very often and be a potential processor/ battery hog in high cell density areas.
Personally I use an NFC tag in the car to toggle bluetooth.
Hi
Could You please teach me how to create/write a user viriable. I tried looking in to it, but havn't understood it. But maybe You're right.
What does NFC stand for? No F..... Clue
Device(s): Nexus4, iPad 2, Chromebook (Cr-48), and Win 7 netbook
Carrier: T-Mobile
Thanks: 1,127
Thanked 1,744 Times in 1,135 Posts
Quote:
Originally Posted by fhansen
What does NFC stand for? No F..... Clue
Near Field Communication... Nexus S and Galaxy Nexus have it, most phones released from here on out should have it. It is going to become a basic feature of every phone.
Near Field Communication... Nexus S and Galaxy Nexus have it, most phones released from here on out should have it. It is going to become a basic feature of every phone.
You could create your own function to trigger a reaction to cell changes by comparing current cell id to the last cell id (stored in a user variable). I use this approach to pickup new cells that I need to add to my location dependent profiles.
However this would fire very often and be a potential processor/ battery hog in high cell density areas.
Personally I use an NFC tag in the car to toggle bluetooth.
Great idea! Do you know where you can buy RFID tags in small volume (in the UK)?
NFC / Near Field Communications
NFC is not in the HTC Sensation feature set.
I've bought NFC tags from an Ebay supplier in small quantities.
Note that at the moment you should request that they are NDEF formatted to avoid a known issue with the current stock ICS roms.
I have just discovered Tasker and it is blowing my mind!
The first profile I created was a variation to the usual "Load music app when plugging in headset" profile that seems quite common.
I have a long playlist of all the music I love which is generally always loaded on my music app.
When I plug in my headset, I have set tasker to toggle pause automatically, picking up my music from where I last left off, and no need to press play! It also sets the media volume to 13/15. I don't even need to turn the screen on.
I created two more profiles as well. The first uses a right tilt gesture to skip the song forward, and the second similarly uses a left tilt gesture to skip the song back. This is very handy when I'm running listening to music!
Additionally, the original profile sets and clears a variable %HEADSET depending on whether the headset is plugged in or not. The tilt gestures only work when the headset is plugged in, so that I don't inadvertently skip tracks forward and backward while using my phone all day.
One minor problem is that the gestures don't appear to be sensed unless the screen is turned on. Is there any way to get around that?
I'm looking forward to digging further into Tasker!
I am having an impossible time trying to find how to add an 'exit task'.
I can't find ANY option to add an 'exit task' anywhere after making a profile.
I also realised that I can't get Tasker to change my GPS state anymore unless I want to use a ROM which I absolutely refuse to use. I like stability over diversity thanks.
So can someone please tell me how to specify an 'exit task' for any profile I have set.
Some of the tasks I have are pretty common:
1. Set brightness to max when 'Gallery' app is run. Otherwise leave the brightness pretty low. Ensures that my photos look awesome and I am getting what I paid for with my AmOLED screen.
2. Set rotate to on when in Gallery otherwise its off.
I am having an impossible time trying to find how to add an 'exit task'.
I can't find ANY option to add an 'exit task' anywhere after making a profile.
Hold your finger on the entry task and a context menu will pop up asking you for an exit task.
Make sure you're doing it for a profile that is triggered by an entry point and not a recurring time. For recurring time profiles, you cannot add an exit task.
I made a simple profile to read my text messages when I am in my car and connected to bluetooth. It works but only through the phone speaker, not the car's. However, if I am on a call it will read them very loudly through the car speaker, interrupting the call.
I can't find a way to force it to say the text message through the car speaker. I also can't find any action or variable that says "if on call" so I can disable the profile
Also, is there a way to disable notifications completely? Or only silence them?
Any help would be great.
Last edited by Spaded21; January 27th, 2012 at 12:33 AM.
I'm a little confused with how Tasker aquirer CELLID from GSM towers comparied to other programs like fx. OpenSignal. Fx. I can't find the tower ID that Tasker seems to find, showed in OpenSignal. Is it me that reads something wrong, or is it because OpenSignal is incomplete? Otherwise, could someone tell me a better alternative to finding GSM towers near You via a map?
ok,
i use tasker to tell me when my phone is fully charged through a voice command,
but everytime when i have pico tts (original htc voice recogniser), when my phone is fully charged it wont say anything, but what happens is that it displays a txt saying - tts: unsupported locale.
ive downloaded another voice (ivona) when i go to settings and switch it to ivona tasker WILL say the voice command?
Is it possible, like the GPS and Wifi, to make BT activate and make a seach for possible connections like every 2 min? And if no possible connections, then turn OFF, and if there is a possible connection, then connect, and stay ON until disconnected?
Last edited by fhansen; January 28th, 2012 at 05:33 AM.
Well AFAIK the GPS issue doesn't work on versions of Android 2.3 and higher... no program can change the GPS state, unless maybe the program gets root access..
I know for a fact that Avast! AV can change GPS state. Tasker isn't a root app though I don't think, it's never asked me for Superuser status ever anyway.
On a different note. I'm having problems with setting the brightness. No matter what I choose I cannot get the brightness to change when opening a program to which I have set the brightness to go to max until it is closed again.
Is this because I am letting Juice Defender manage my brightness for me? Shouldn't Tasker still be able to change it even if JD changes it back? The point is that Tasker doesn't change it at all...
This program was very expensive, I want to find some more uses for it.
Last edited by Leijonasisu; January 31st, 2012 at 06:40 AM.
Well AFAIK the GPS issue doesn't work on versions of Android 2.3 and higher... no program can change the GPS state, unless maybe the program gets root access..
I know for a fact that Avast! AV can change GPS state. Tasker isn't a root app though I don't think, it's never asked me for Superuser status ever anyway.
On a different note. I'm having problems with setting the brightness. No matter what I choose I cannot get the brightness to change when opening a program to which I have set the brightness to go to max until it is closed again.
Is this because I am letting Juice Defender manage my brightness for me? Shouldn't Tasker still be able to change it even if JD changes it back? The point is that Tasker doesn't change it at all...
This program was very expensive, I want to find some more uses for it.
I change brightness on my Moto Defy (Android 2.2) ok, I've disabled JD from managing brightness in case of any conflicts. I'd try stopping JD from doing it.
Device(s): Nexus4, iPad 2, Chromebook (Cr-48), and Win 7 netbook
Carrier: T-Mobile
Thanks: 1,127
Thanked 1,744 Times in 1,135 Posts
Quote:
Originally Posted by Leijonasisu
Well AFAIK the GPS issue doesn't work on versions of Android 2.3 and higher... no program can change the GPS state, unless maybe the program gets root access..
I know for a fact that Avast! AV can change GPS state. Tasker isn't a root app though I don't think, it's never asked me for Superuser status ever anyway.
On a different note. I'm having problems with setting the brightness. No matter what I choose I cannot get the brightness to change when opening a program to which I have set the brightness to go to max until it is closed again.
Is this because I am letting Juice Defender manage my brightness for me? Shouldn't Tasker still be able to change it even if JD changes it back? The point is that Tasker doesn't change it at all...
This program was very expensive, I want to find some more uses for it.
Tasker can use root, for example to kill an app.
If you use an AOSP ROM like CM7 Tasker can still properly change GPS settings.
I am not sure how Tasker and JD interact with each other, I only use Tasker. I think I do just about everything JD does using Tasker.
Sometimes you need an actual app. One that approximates your gestures, at least in spirit, is "Shake To Shuffle". It operates all the time, even when the screen has shut off. As long as music is playing, it works.
So perhaps someone has written an app to do your playlist gestures.
Quote:
Originally Posted by Mikey Avoc
The tilt gestures only work when the headset is plugged in, so that I don't inadvertently skip tracks forward and backward while using my phone all day.
One minor problem is that the gestures don't appear to be sensed unless the screen is turned on. Is there any way to get around that?
I'm looking forward to digging further into Tasker!
is there a profile to disable all notifications while listening to music? i HATE being in the middle of a song and then the text or email notification sound pops up
is there a profile to disable all notifications while listening to music? i HATE being in the middle of a song and then the text or email notification sound pops up
I tried doing something like that, but it didn't work. I'd be curious as to any solutions on this front.
Actually, I don't mind the notification sound, but I'd like for it to be able to pause the song, make the notification, and then resume. What it does now is just play right over the song.
I'm trying to set up the Intermediate profile of "Set volume then Launch menu of music apps" from the Tasker wiki. Seems straightforward enough. However, I can't seem to change the task type to List. When I follow the instructions and click on the wrench I don't get an option of changing the task type, only options about collision handling and keeping the device awake. I'm running 1.2u2m. Thanks!
I found an updated profile for 1.2 on the Tasker wiki that solved the problem.
Last edited by speaker2animals; February 9th, 2012 at 08:55 PM.
Reason: Found a solution
Device(s): HTC Desire
HTC sensation xe
Samsung galaxy tab 10.1
Asus Transformer prime
Carrier: Not Provided
Thanks: 44
Thanked 28 Times in 26 Posts
Does silencing the notifications not work? Can't you set up tasks that when head phones plug in, turns on silent mode but media volume turned on. Removal of headphones would then restore ringers/notifications etc
Does silencing the notifications not work? Can't you set up tasks that when head phones plug in, turns on silent mode but media volume turned on. Removal of headphones would then restore ringers/notifications etc
Unfortunately, that doesn't work. What you get is a silent space where a notification sound would be. So silence interrupts the music instead of a notification sound.
Device(s): HTC Desire
HTC sensation xe
Samsung galaxy tab 10.1
Asus Transformer prime
Carrier: Not Provided
Thanks: 44
Thanked 28 Times in 26 Posts
Quote:
Originally Posted by aysiu
Unfortunately, that doesn't work. What you get is a silent space where a notification sound would be. So silence interrupts the music instead of a notification sound.
This is odd, I've just tested this with phone call, text and email when alerts are on silence and the music doesn't get interupted at all. The visual pop up just appears but no affect to the music playing. Maybe it is specific to your phone? I'm using HTC sensation xe.
This is odd, I've just tested this with phone call, text and email when alerts are on silence and the music doesn't get interupted at all. The visual pop up just appears but no affect to the music playing. Maybe it is specific to your phone? I'm using HTC sensation xe.
Could be. I'm using a Galaxy Nexus. I may also have flubbed up the implementation. I can try again.
Headphones plugged in - Vibrate mode, media volume changes to 5 (to protect ears), display turns on (so I can quickly proceed to the media I was going to), auto-brightness turns on (for when I'm going outside and my normally dim display makes it hard to change songs)
Thankz CodeMonkey for Your input. I'm now trying a different approch insted for more precision. Now using Wifi Near. But I'm having problems with profiles firing off, when not to. I have a Wifi near and a No Wifi Near. But when I'm near a wifi which I have set a Not Wifi Near context for, I still se it firing off. What am I doing wrong? I can't figure out how to set Min. Activate Signal, when using Not Wifi Near. I get that, when using Wifi Near, it dictates at which signal stength, the profile should fire off. But shouldn't change to the opposite when chosing Not Wifi Near?
I've made my own profile that activates Wifi ones in a while. I couldn't make Taskers own bulit in Wifi On/Off/search work proberly. It seemed to live its own life, not respecting the timeframes set in Monitoring. Also it only seemed to work, when Wifi Near is set to Toggle. Am I missing something, is there something I don't understand?
A lot of people seem to be interested in creating profiles to mimick Juice Defender. That's quite simple apart from switching off radios only when there is no network traffic going on. Tasker does not control network traffic by itself, so reading some files is needed.
So here's what I've done:
---------------------
Profile Screen (%SCREEN=on)
Task RadioToggle, Collision handling=abort existing task
- Net, Mobile Data On
- Task, Wait 30 seconds until %SCREEN=off
- Tasker, Perform Task Net_Threshold
- Net, Mobile Data off
Task Net_Threshold
- Variable Set %CHG=0, label=1
- Tasker, Perform Task Network
- Variable Set %OLD to %RXD, do math on
- Task, Wait 5 seconds
- tasker, Perform Task Network
- Variable Set %CHG to %RXD-%OLD, do math on
- Variable Set %CHG to 20000 if %CHG<0
- Goto label 1 if %CHG>3000
Task Network
- Variable Set %RXD=0
- Variable Clear %NG3
- File, Test File Parent Dir xxx in %NG3, continue task after error
- File, Read Line xxx to %RXD if %NG3 is set, continue task after error
- File, Read Line xxx to %RXD if %RXD=EOF, continue task after error
------------------------
xxx is the name of the file where received network traffic numbers are stored.
in Samsung Galaxy S there are 3 network interfaces and corresponding files:
/sys/class/net/dpd0/statistics/rx_bytes
/sys/class/net/svnet0/statistics/rx_bytes
/sys/class/net/eth0/statistics/rx_bytes
other devices may have different interfaces names, that's why I left xxx. Use NetSentry to find out the correct interfaces names.
I've set less than 3000bytes/5secs as threshold to turn radios off. You can play with those settings, Juice Defender has 10kb/15secs as default threshold.
if you want to use all 3 interfaces, you just have to change a bit the network task above, and add a variable sum at the end of the task. If you want to compute also outbound traffic, there are /tx_bytes file in the same folders.
Everybody is more than welcome to try, modify debug or give suggestions!
Last edited by lcampori; February 14th, 2012 at 10:00 AM.