yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] cozkramer:
I don't think there's anything wrong with this method, however I think your better off using the BT Near context along with a check to see if you've left the house.

I've tried Many ways of doing this and am almost happy with my latest iteration, just one lingering bug to squash..

If you always use a car cradle or dock, use that context or an nfc tag as a foolproof way.

---------- Post added at 11:46 PM ---------- Previous post was at 11:43 PM ----------

In the context itself.. Where you put your 30 min setting, uncheck the time boxes above and below as they're start/stop times.. Or I could be an a$$ and say, pay attention to what your doing.. :p
[Android Apps and Games] cschumann:
I had set it right. The error was my handy. I set it to shutdown over night and after the reboot tasker and other apps were not running automatically. After disabling the shutdown all works fine.
[Android Apps and Games] greyhd:
I just have a question after noticing high wakelocks from Tasker. I have two profiles, when the screen turns on-data turns on and when the screen is off-data turns off. When I have these two profiles my wakelocks for tasker are very high compared to when I turn both profiles off. I get much better battery life with the profiles off rather than on. Are my profiles set up wrong?
[Android Apps and Games] streetrod60:
hi guys, recently i've just install tasker in my nexus 5. there are several question about it:

I want tasker to automatic turn off radio and either Wifi or Data when my screen off and periodically turn it on every 30 minutes for 1 minutes to check messages and notification. I've done this and create task "Radio Off".

but my problem is when i making a call thorugh Viber/LINE or downloading big data. The tasker will trigger the task "radio off" because when i'm in call, my screen goes off. So i search the internet About this, and find out additional tasker, that when data traffic is above 15 kb the task "radio off" would not be trigerred. here is the partial script :

Wifi Off :

Name: Screen off (Wifi)

1.IF: Wifi on

2.Run Shell: Command: cat sys/class/net/wlan0/statistics/rx_bytes ;Store Result In: %CHECKA_WIFI ;Continue Task After Error: yes

3.Variable Set: Name: %CHECKA_WIFI ;to: 0 ;If: %CHECKA_WIFI !set

4.Variable Convert: Name: %CHECKA_WIFI ;Function: Bytes to Kilobytes ;Store Result In: %CHECKA_WIFI

5.Wait: 30 seconds

6.Run Shell: Command: cat sys/class/net/wlan0/statistics/rx_bytes ;Store Result In: %CHECKB_WIFI ;Continue Task After Error: yes

7.Variable Set: Name: %CHECKB_WIFI ;to: 0 ;If: %CHECKB_WIFI !set

8.Variable Convert: Name: %CHECKB_WIFI ;Function: Bytes to Kilobytes ;Store Result In: %CHECKB_WIFI

9.Wait: 2 seconds

10.Variable Set: Name: %DIFF_WIFI ;To: %CHECKB_WIFI-%CHECKA_WIFI ;Do Maths: yes

11.If: %DIFF_WIFI < 15

12.Perform task : Radio Off

13.Stop: Task: Screen off (Wifi)

14.Else:

15.Wait: 2 Minutes

16.Goto: Type Action Number ;Number: 1

17.End if

My question is :

1. Does the task step okay?

2. im on my wifi, When i download the walking dead (the episode, not the game) i go into the game, then i exit the game and do something else, then i put my phone and leave it to the screen off, ten minutes i go back to my phone and open the game, it said "the download stopped due to network problem" seems that my task step number 11 not working? because when i open my phone all of my wifi and radio signal turn off.

and also while i'm in phone (LINE or Viber) with my friends and i check the tasker, the task step number 11 is always green, it means that the traffic when im in phone (LINE or Viber) is always below 15 Kb? i change this 15 kb to 1kb and the task number 11 stays on green. Am i doing it right for the calculation of the traffic?

3. what is the meaning of task step number 3 and 7?

thank you so much guys for your replys.
[Android Apps and Games] Veyne:
Excellent read, very informative. Thanks to all that posted.

Sent from my SM-G900A
[Android Apps and Games] KaszasM:
im not sure if that helps but give the running apps-viber or tasks.download to your prifile

or just use a kernel with cortex
[Android Apps and Games] rohit3787:
I am using the below profile & task. But the task isn't being triggered. Other AutoVoice commands are working fine. Can someone please tell me what's wrong?

Profile: Turn Off Music (89)

Event: AutoVoice Recognized [ Configuration:Command: "turn off music in (?<time>.+) (regex)"

Condition Name: Turn off music

Replacements: of=off ]

Enter: Turn Off Music (49)

A1: If [ %avsource ~ googlenow ]

A2: Kill App [ App:Google Use Root:eek:ff ]

A3: End If

A4: Variable Split [ Name:%time Splitter: Delete Base:eek:ff ]

A5: Flash [ Text:Turning off music in %time1 %time2 Long:eek:ff ]

A6: If [ %time2 ~ seconds | %time2 ~ second ]

A7: Wait [ MS:0 Seconds:%time1 Minutes:0 Hours:0 Days:0 ]

A8: End If

A9: If [ %time2 ~ minutes | %time2 ~ minute ]

A10: Wait [ MS:0 Seconds:0 Minutes:%time1 Hours:0 Days:0 ]

A11: End If

A12: If [ %time2 ~ hours | %time2 ~ hour ]

A13: Wait [ MS:0 Seconds:0 Minutes:0 Hours:%time1 Days:0 ]

A14: End If

A15: Perform Task [ Name:Stop Music Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]

A16: Stop [ With Error:eek:ff Task: ]
[Android Apps and Games] bartdeli:
Now when using navigation app and having incoming call, when I answer the call I cannot see the map, just the picture of calling person. I get back to maps when the call ends. It is very inconvinient.

Is it possible to create the task that would revert to the navi window after answering the call (during the conversation)?

Would appreciate your help on that matter
[Android Apps and Games] Almazick:
You can try in tasker

during active call

wait 10 seconds

press Home Button

Open Navi app

should be very easy.
[Android Apps and Games] bartdeli:
I am on Llama now with the similiar task that you wrote, but it's not workong properly, coz it opens a NEW navi window and I have to set my route from the beginning.
[Android Apps and Games] Almazick:
I see, here is another option

During active call

Wait 10 sec

Press home

Click on navi in notifications if exist
[Android Apps and Games] metalwraith:
Thing I love with Tasker is if I don't want to be bothered by say a specific individual. I can setup an autoreply to send them a text back immediately. Say I'm not available.
[Android Apps and Games] Superm@π:
Can someone tell me what the battery icon thing is at the bottom? The profiles in it are duplicates of what I have in the home icon. Thanks!
[Android Apps and Games] Superm@π:
Sorry, here's the screen shot
[Android Apps and Games] gothy.gothy:
Hi, I have a problem with a task used to call someone automatically

Hi, I'm new to Tasker.

I tried to make a profile described bellow

1) When I reach a specific Cell ID near, call a specific number automatically

It works, no problem, but the problem is tha call is repeating as long as I remain near that specific Cell ID. Perfectly normal, because the condition is met continuosly. Please help me to make an exit task for this condition, because i want to call that person only once, obviously :o

In other terms: I set this profile that when I am near the CELLID where my wife is woking to call her. I'm waiting her outside in my car, so I'm not go away from that CELLID for, let's say, 15 minutes or more. Reaching that CELLID, my phone call her, but when I end up the call, the phone, normally, repeats the task, meaning calling her again. My problem is to set a rule of exit the task, but staying near the CELLID and I have no idea at all how to set this end task.

Thanks a lot to every person trying to help me.
[Android Apps and Games] Brendo:
You could use the cooldown period for a task (long tap the task and click the settings icon at top next to delete). Or use a variable
[Android Apps and Games] gothy.gothy:
Thanks a lot, it works with cooldown and repeat 1.
[Android Apps and Games] AndroidBone:
I'm sorry if this has been answered, but I've tried to search and google, but no result as of yet.

I've made my first task, following a YouTube tutorial from hollywoodfrodo, Tasker 101 Tutorials: Lession one. A simple task, but it worked.

But now, in my taskbar, there's a flash icon with the message "No active profiles". And I can't seem to get that message to dissappear. I found one answer, and that was to uncheck the box in preferences "run in foreground", but I don't want to that.

Any help?

Thanks a bunch!
[Android Apps and Games] WettbackMartyr:
If you don't want to uncheck that box I'm sorry to tell you that the notification will remain. It's a function of android to ensure that tasker doesn't get killed in the background if the device runs low on resources (I.E. RAM). You can however change the icon to a blank (which can also be found in tasker's settings ) and there will be no ever present notification icon in the status bar but the notification itself WILL REMAIN in the drop down shade. I myself choose not to run tasker in the foreground (no notification) on my N5 and have not encountered any issues with this yet on 4.4.4, as the kill persistent background services problem KitKat had early on has been solved [emoji106]

I know it's not exactly what you wanted to hear but it is what it is. Hope I have helped in some way.
[Android Apps and Games] AndroidBone:
Thank you so much for your reply!

I see now why it couldn't be removed, but setting the icon to blank sure helped a lot, and served its purpose! :)

Thanks again!!
[Android Apps and Games] arenaboy007:
Hi guys, I'm wondering if I set my profile properly based on OP example?

I placed the SSID of our wifi

and set entry task to wifi on/mobile data off (can't find mobile apn)

exit task to wifi toggle/mobile data on.
[Android Apps and Games] Pkt_Lnt:
Android disable moble data when wifi is connected. When wifi disconnects, mobile data is enabled. You do not need a profile to do that.

Look at Settings > About Phone > Mobile Network State and it will show disconnectd when wifi is connected,
[Android Apps and Games] arenaboy007:
Would wifi automatically toggle off when its out of range and mobile data turned on when I enable that in settings? Also, can't seem to find that option in About Phone. Using CM11
[Android Apps and Games] Pkt_Lnt:
Mobile data will automatically turn on if wifi is not connected, but wifi will do what you have configured it in Settings. I do not use CM, but if you look in Settings, About phone, there should be a place that shows phone number, battery status, carrier, etc. It is usually there.
[Android Apps and Games] arenaboy007:
I saw it. I thought it was some kind off feature that can be enabled, it is just an indicator of mobile network status.

So what I can change in my Tasker profile is, remove the entry task since android automatically does it

and change it with the exit task, so when wifi is out of range it will toggle it and turn on mobile data, or I don't need it at all

because android does both?
[Android Apps and Games] Pkt_Lnt:
Don't need at all, android already does it automatically.
[Android Apps and Games] Mr.Dadulka:
Is normal that some states, eg. wifi task, cell location, bleuetooth will not last all the time correctly connected and I experience disconnecting, changing states, etc.

Sometimes it's very annoying for example when switching back to loud volume unexpectedly.

Any suggestion how to avoid it by any way?

Thanks
[Android Apps and Games] Frankyg:
That's true but there is another reason that you might want to switch data off or onto 2G/3G. When I get home my wifi connects and data disconnects. I have marginal LTE/4G coverage at home, so the phone reports poor signal when I'm on my 4G network mode. I have mine set so that when my home wifi connects, then tasker will also switch to 2G because the reception is MUCH better on 2G. The phone signal appears green when I'm on 2G so I assume it's not hunting for a better signal and hopefully saving a bit of battery. Does that make sense?
[Android Apps and Games] Pkt_Lnt:
I have very weak 3G at home (no 4G here in rugged rural coastal California).

I do change to 2G and have a complete tasker profile that changes my Google Voice settings and makes my phone an ATA VoIP phone at home. I do not disable moble data however, since wifi connection does that by android.
[Android Apps and Games] varinder jaswal:
Very useful guide... Thanks...

Sent from my GT-N7000
[Android Apps and Games] galaxy s4 nutjob:
Would anyone be willing to help me with tasked I use llama but I want more control but I can't seem to figure out tasked so can someone help me get my needs set up
[Android Apps and Games] rohit3787:
I'm new to Tasker myself. But I think I've got the hang of it. I could try & help you. Tell me what you need.
[Android Apps and Games] galaxy s4 nutjob:
Awesome really appreciate your help here is a screenshot of my llama profiles

http://imgur.com/RV5LQPA
[Android Apps and Games] Pkt_Lnt:
There is another thread that has great tutorials and some serious Tasker pros in it.

http://xdaforums.com/showthread.php?t=1110775

You will want to at least try to make profiles on your own, they do not want to do it for you, but will give you tremendous support if you invest a little effort into it.
[Android Apps and Games] galaxy s4 nutjob:
Ok cool thanks
[Android Apps and Games] rohit3787:
These seem pretty simple. You'll need to set up location + time profiles with entry & exit tasks.

If the below thread does not help you, PM me & I'll help you set them up. [emoji3]
[Android Apps and Games] Solace50:
has anyone successfully managed to get tasker to launch navigation with executing a specific desitnation? trying to use it as a workaround for the navigate home bug where google search just searches for home instead of naivgating there.
[Android Apps and Games] duckredbeard:
1403132512573

1409606142764

88

NFC Task 1

10

11820

GPS Enabled

java.lang.String

true

java.lang.Boolean

gps

java.lang.String

GPS Enabled

java.lang.String

true

java.lang.Boolean

com.intangibleobject.securesettings.plugin

Secure Settings

150

11820

Screen & Keyboard Lights On

10 Seconds

java.lang.String

wake_device

java.lang.String

10000

java.lang.Long

full

java.lang.String

Screen & Keyboard Lights On

10 Seconds

java.lang.String

true

java.lang.Boolean

com.intangibleobject.securesettings.plugin

Secure Settings

902

false

119

Marietta, GA

30

171

171

cust_scrubber_normal

I have an nfc tag in my car that starts this task. I edited the address for privacy. This will get you to my town.

When I place my phone down in the dash a certain way it turns on my screen enables GPS and starts nav.

---------- Post added at 10:32 PM ---------- Previous post was at 10:18 PM ----------

After editing that post most of it got erased.

---------- Post added at 10:34 PM ---------- Previous post was at 10:32 PM ----------

NFC Task 1 (88)

A1: Secure Settings [ Configuration:GPS Enabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]

A2: Keyguard [ Set:eek:ff ]

A3: Secure Settings [ Configuration:Screen & Keyboard Lights On

10 Seconds Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]

A4: [X] Get Location [ Source:Any Timeout (Seconds):15 Continue Task Immediately:eek:ff Keep Tracking:eek:ff ]

A5: Open Map [ Mode:Navigate To Address:Marietta, GA Lat,Long: Zoom:1 Label: ]

A6: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]

A7: Beep [ Frequency:3410 Duration:200 Amplitude:50 Stream:3 ]

A8: Beep [ Frequency:4741 Duration:400 Amplitude:50 Stream:3 ]

---------- Post added at 10:44 PM ---------- Previous post was at 10:34 PM ----------

I should disable smileys
[Android Apps and Games] Solace50:
thx i was just being retarded and thought you used launch maps with parameters when its already simplified under the gps open map option.
[Android Apps and Games] Solace50:
the only other thing is, is it possible to switch to video recording with tasker for the camera app. ive searched and only found a few ideas but none of them work.
[Android Apps and Games] Ja_som:
Hi,

can I ask a question here?

I want to take screenshot with tasker. I created task with Run Shell command:

/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot-%DATE-%TIME.png

But my files have 0b

Can someone help me?

Thank you.
[Android Apps and Games] carolina gamecock:
I have a question also. I have a droid maxx and I'm trying to set up a profile or two that will silence all notification and not vibrate from 9:30 to 5:30 on weekdays and 11:00 to 8:00 on weekends. I want to have phone calls come through in case work calls or the kids need me. The problem I have is how do achieve this and have vibrate not stay on. The phone vibrating on the nightstand is almost louder than the ringer! Here's what I have so far
[Android Apps and Games] kramttocs:
Probably no longer looking for this but...

http://www.cam-it.org/index.php?topic=8679.0
[Android Apps and Games] daniu:
Hi,

found out that my phone does strange things when I want it to vibrate while the display is off. Does anyone have this? Could someone please test?

I don't think that I definitely feel this.

I guess it is possible that there is a problem due to the phone sleeping deeply ;) so if you test: make your phone rest before having it vibrate for one or 2 mins.

Maybe it is my ROM? Using Galaxy S2 with linaro/sabermod cyanogenmod nightly from the beginning of the year with xposed/greenify installed.

regards

PS: vibrate pattern has the same problem.
[Android Apps and Games] Katzzer:
Try turn all profiles off and try it again, maybe it is interfering with another active profile (running task)

If it wont help, do backup, uninstall tasker and install new one from Googleplay.

- And this never happend to me.
[Android Apps and Games] daniu:
Hmmm - well - I am using tasker quite intensive (so doing that is lots of work) but the log file and I still know what the phone is doing ...

Besides that the solution sounds a bit like close all windows and reboot. I'll try to erase the cache and reboot. C how ...

Regards
[Android Apps and Games] Dbj.Dhaval:
Is it possible to Set a profile that when I play music via poweramp the governor will chane to ondemand.. And when it stops governor back to default one
[Android Apps and Games] hopelives:
I tried to create 2 profiles. First one is to simply toogle between mobile data and WIFI and the other one is turning the GPS on when Google Maps is being opened. However, my rooted Note 4 running MM and secure settings plugin doesn't request root permission (some kind of bug I found out) and so I couldn't achieve these.

Is there any other way to do these without secure settings?
[Android Apps and Games] daniu:
Hi

If your su app does not allow manual setting I don't know howto do that.

But I see another issue, afaik neither tasker nor secure settings support toggling mobile data but you can use toggle data app which requires selinux mode to be permissive.

Regards & good luck ...

Sent from my x-phone using brain 2.0
[Android Apps and Games] hopelives:
Thanks you. I tried toggle data app and it works through tasker. Any advice about GPS? :)
[Android Apps and Games] Pkt_Lnt:
Did you enable Tasker in Accessibility settings?
[Android Apps and Games] hopelives:
Sorry but no. How can I do that and then what happens?
[Android Apps and Games] Pkt_Lnt:
Setting > Accessibility > Tasker On

Tasker needs that to open apps

Profile: GPS Apps (25)
Application: GPS Status, Maps
Enter: Anon (44)
A1: Secure Settings [ Configuration:Location Mode/High Accuracy Timeout (Seconds):0 ]

Exit: Anon (48)
A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A2: Secure Settings [ Configuration:Location Mode/Battery Saving Timeout (Seconds):0 ]

.

---------- Post added at 01:26 PM ---------- Previous post was at 01:08 PM ----------

For root access, in Tasker Preferences > Misc > check Allow External Access
[Android Apps and Games] hopelives:
Thanks for your attention mate but secure settings doesn't work properly because it can't get root acces due to some changes in MM and as far as I figured out it's developer hasn't updated so far. So, we need any other possible solution which doesn't inlude secure settings at all.
[Android Apps and Games] Pkt_Lnt:
It is working here for me on MM 6.0.1_r24 - May security update on a Nexus 6. I have about 30 profiles that control my phone and watch, and many use secure settings and root with no issues. Yes, he has not updated it and some things don't work, but most of them do for me.

Did you check allow external access in Tasker as I suggested? That is what allows you to use root. Every time I make a profile that needs it, I get prompted the first time I run it.

Check this from the Tasker Google Group (Pent is the Tasker dev)

https://groups.google.com/forum/#!topic/tasker/nzyqfAqQe48
[Android Apps and Games] hopelives:
I checked everything you mentioned and no problem for those. I have Note 4 sm-n910c and secure settings doesn't request root access. Anyway, I should check the group.
[Android Apps and Games] Pkt_Lnt:
Did the Secure Settings System+ Module enable with root? If not, are you using SuperSU systemless, and maybe 2.71? You need to find the Chainfire "compatibility mode" fix and run it from a term.
[Android Apps and Games] hopelives:
The main problem is that secure setttings system+ module doesn't have root access because it doesn't request it. On the other hand I use SuperSU, I don't know what systemless is but I have SuperSU Pro 2.71. So how can I make that fix?
[Android Apps and Games] Pkt_Lnt:
Google "Chainfire compatibility mode"

http://xdaforums.com/showpost.php?p=66140836&postcount=5493
[Android Apps and Games] hopelives:
Thanks but I have one more question. In that topic, Chainfire "says that reflash the SuperSU". How can I do that?
[Android Apps and Games] Pkt_Lnt:
Install the zip in recovery. I don't think you have to do that though. Those who say this works just run the term command and it works, try that and if it does not solve it, then reflash the zip.
[Android Apps and Games] Izkata:
Under the Wi-Fi Settings, hit Menu, then Advanced, and choose "Wi-Fi sleep policy". Not all phones have it initially set to the same thing.

AT&T's Galaxy S (the Captivate) comes with it set to turn WiFi off when the screen turns off. Unfortunately, there's some sort of bug that causes the battery to drain quickly in some cases when that happens (I noticed something like 20-30% of the time), so I leave WiFi on all the time now. As long as you're connected to a network, it doesn't cause any significant drain at all: 3% of my battery drop was caused by WiFi, while 14% is "Phone idle" and 21% is "Cell standby". WiFi battery drain happens when its on but not connected, because it keeps scanning for networks.

Tasker is good for turning it on and off based on either location or WiFi near
[Android Apps and Games] Jgobeil:
Please delete - thanks
[Android Apps and Games] WhammyDroid:
Does anyone know how to change the default sound profiles in Android using tasker? I have a task which changes the sound volumes given certain profiles. If the sound profile is either silent or vibrate, no changes will be made.
[Android Apps and Games] WhammyDroid:
bump.....looking for answer.
[Android Apps and Games] gogol:
Too bad, since Android 2.3, Tasker could not activate GPS ...

It's not Tasker fault though, it's Google who decided this. But, I really hate it because I use Tasker to automate turning on/aff GPS when using certain apps.
[Android Apps and Games] khaytsus:
If the GPS isn't in use, then it's not using any battery. So why bother enable/disable it?
[Android Apps and Games] gogol:
READ: To use Tasker to automate turning GPS on / off.

So, when I start Sygic navigation, Tasker will automatically turn the GPS on.

You can do that with Android 2.2 (or below), but not with 2.3.

Understand?