Go Back   Android Forums > Android Discussion > Android Applications > Tasker

New Forums: Nexus Player | Nexus 9
test: Reply
LinkBack Thread Tools
Old August 31st, 2014, 05:09 PM   #1 (permalink)
Junior Member
Thread Author (OP)
Join Date: Jun 2014
Location: Long Island NY
Posts: 28
Device(s): Samsung Galaxy S5
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Can anyone please tell me why this doesn't work?

The process I'm trying to check is com.sec.android.automotive.drivelink.

I want to check if process above is running and if not turn off btooth and GPS. From what I can tell that proc stops after I close car mode (car home ultra app closes it)
Not sure why this doesn't work. Any help is much appreciated.


NSDroid is offline  
Reply With Quote
sponsored links
Old September 1st, 2014, 10:51 AM   #2 (permalink)
Senior Member
Join Date: Jan 2012
Posts: 973
Device(s): rooted AT&T GS4 w/ Android 4.3
Carrier: Not Provided

Thanks: 291
Thanked 209 Times in 165 Posts

Step 3 looks wrong to me -treating a process name as a Boolean variable...is that usage described somewhere?

Is this process an app it service? Maybe try using a separate profile to sense app running and dry %carmodekill to 1 as an entrance task and to 0 as an exit task.

As I recall maybe that only works when app is on foreground and there is a trick to checking when app in background. Don't remember that truck. If app/service context didn't work the way you like, maybe Google: tasker check if process is running in background
....to see if it gives anything helpful
electricpete is online now  
Last edited by electricpete; September 1st, 2014 at 10:54 AM.
Reply With Quote

Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 06:19 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.