[Q] Tasker and Turning on GPS - Verizon Samsung Galaxy S 4

I have the ME7, Rooted Verizon phone. I'm trying to use Tasker to turn on my GPS when it detects BT is connected. Basically i only use BT in the car, so i have it set to have the display brighten, not time out, full volume, etc. so i can use the phone through the car radio. The problem is that GPS won't turn on. I downloaded the extra services thing it said to, but still no joy.
Any help?
Thanks

druidath said:
I have the ME7, Rooted Verizon phone. I'm trying to use Tasker to turn on my GPS when it detects BT is connected. Basically i only use BT in the car, so i have it set to have the display brighten, not time out, full volume, etc. so i can use the phone through the car radio. The problem is that GPS won't turn on. I downloaded the extra services thing it said to, but still no joy.
Any help?
Thanks
Click to expand...
Click to collapse
I have MDK running Tasker but I use start of an app to trigger GPS ON. Can you set your profile to start GPS when you start a certain app?
I also have profiles that when I'm at home or at work (cell near) that GPS is off. GPS may have to be in the default state of "ON" in order to do what you're asking. You may have to create profiles to turn it off as well, but leave the default to "ON". I hope that makes sense to you. Make sure you have the latest version of Tasker: 4.1u3.
I don't think that ME7 to MDK would make a difference in Tasker, but it may.

You need to download secure settings AND install the helper from within it and then to use the GPS on off feature you use the option under plugins>secure settings NOT the one under networks and then edit the configuration for the plugin
Sent from my SCH-I545 using xda app-developers app

Sent from my SCH-I545 using xda app-developers app

thanks. i already had the SS and Helper, but didn't realize it was in the plugins, not the standard GPS.
Thanks so much!

thanks. i already had the SS and Helper, but didn't realize it was in the plugins, not the standard GPS.
Thanks so much!

When i open maps gps turns on , i want that when i exit app gps turns off , is there any task for this?
GT-N9005 Xnote Rom

SecHolutils & Phone Weaver
I've been using Phone Weaver for my profiles. I have "drive" set up to turn on GPS when I would normaly leave for work, then it turns off at 8am then back on at 4:30, off at 5pm... I needed to download secholeutils.apk and toss it in /system/app and set permissions. Works flawlessly. If I need to drive somewhere during the day, I just hit the "Drive" profile.

DID anyone get back to you
inancatil said:
When i open maps gps turns on , i want that when i exit app gps turns off , is there any task for this?
GT-N9005 Xnote Rom
Click to expand...
Click to collapse
DID anyone get back to you? Or did you find a way to accomplish this? I would assume that you would just have to create another profile and reverse the gps to off.

How to GPS on maps launch
inancatil said:
When i open maps gps turns on , i want that when i exit app gps turns off , is there any task for this?
GT-N9005 Xnote Rom
Click to expand...
Click to collapse
In order to do this you will need secure settings and helper and tasker installed assuming you have all this based on this thread
First you will set up two tasks
1) Task to turn on gps
example: Secure settings: GPS on then Flash "Happy Driving
2) set up a DIFFERENT task to turn off GPS using secure settings
create a profile that activates on an app launch. then tasker will require you link this with a task, choose the gps on task.
Next long press on the task (while in the profiles tab not the tasks tab) an option for "add exit task" should appear that will allow you to link the gps off task
exit tasks are tasks that tasker executes when the conditions are no longer true Maps is launched=gps on task upon app close=gps off task is run

Diego1751 said:
In order to do this you will need secure settings and helper and tasker installed assuming you have all this based on this thread
First you will set up two tasks
1) Task to turn on gps
example: Secure settings: GPS on then Flash "Happy Driving
2) set up a DIFFERENT task to turn off GPS using secure settings
create a profile that activates on an app launch. then tasker will require you link this with a task, choose the gps on task.
Next long press on the task (while in the profiles tab not the tasks tab) an option for "add exit task" should appear that will allow you to link the gps off task
exit tasks are tasks that tasker executes when the conditions are no longer true Maps is launched=gps on task upon app close=gps off task is run
Click to expand...
Click to collapse
How to enable location settings using this task? I am unable to do so.

svj1187 said:
How to enable location settings using this task? I am unable to do so.
Click to expand...
Click to collapse
Location settings? Or GPS? Location settings is the phones access to Google location API's.
---------- Post added at 07:29 AM ---------- Previous post was at 07:24 AM ----------
svj1187 said:
How to enable location settings using this task? I am unable to do so.
Click to expand...
Click to collapse
If you want to turn on GPS install secure settings and helper from inside secure settings. Your going to need root. When making the task click plugin>secure settings>GPS and select the state you want. (On off or toggle)

Diego1751 said:
In order to do this you will need secure settings and helper and tasker installed assuming you have all this based on this thread
First you will set up two tasks
1) Task to turn on gps
example: Secure settings: GPS on then Flash "Happy Driving
2) set up a DIFFERENT task to turn off GPS using secure settings
create a profile that activates on an app launch. then tasker will require you link this with a task, choose the gps on task.
Next long press on the task (while in the profiles tab not the tasks tab) an option for "add exit task" should appear that will allow you to link the gps off task
exit tasks are tasks that tasker executes when the conditions are no longer true Maps is launched=gps on task upon app close=gps off task is run
Click to expand...
Click to collapse
I didn't get this post the first time I read it. From "Profiles" tab, click on profile to open... then long click on the task to get the "Add exit task" option. Finally works like I have wanted it to all along.

inancatil said:
When i open maps gps turns on , i want that when i exit app gps turns off , is there any task for this?
GT-N9005 Xnote Rom
Click to expand...
Click to collapse
Hi,
For me following worked:
Duplicate the Profile where you turn on GPS
Edit the duplicate like this:
invert the selected apps (press the invert button) so all other apps are selected
then set the action to GPS off.
Hope this helps.
Best regards,
Philipp

Philipp the Magician said:
Hi,
For me following worked:
Duplicate the Profile where you turn on GPS
Edit the duplicate like this:
invert the selected apps (press the invert button) so all other apps are selected
then set the action to GPS off.
Hope this helps.
Best regards,
Philipp
Click to expand...
Click to collapse
While true that will work I would recommend using the exit task option. When you get more advanced with tasker it will benefit you greatly plus the way you said it is kind of "incorrect". It will work in this case but in others it won't correctly

Related

[Q] Tasker unreliable on SGS III

Hi all,
i've installed the Tasker Trial (from the developer site) a few days ago on my SGS III (no root, using stock rom).
I want Tasker to disable my Lockscreen security when i'm at home. Recently i tried this setup:
Profile: Trusted Zone
State: Wifi Connected [ SSID:ssid1/ssid2 MAC:* IP:* ]
A1: Secure Settings [ Configuration:Clear Password/Wait For Unlock ]
Profile: Untrusted Zone
State: Not Wifi Connected [ SSID:ssid1/ssid2 MAC:* IP:* ]
Abort Existing Task
A1: Secure Settings [ Configuration:Set Pin ]
Click to expand...
Click to collapse
I've tried nearly every setting i could imagine. With and without "Secure settings" plugin, pattern or pin on lockscreen, foregrund mode with notification icon or background without notification. Also i've registered Tasker and secure settings plugin as device admin in security settings.
My problem is, after setting up all necessary profiles and tasks everything seems to be fine, but after a while the display is locked even though i'm connected to my wifi at home. (yes, wifi is enabled all the time, even in lockscreen ;-) )
Also i've noticed that tasker sometimes displays a notification saying "Low memory". On SGS3? Realy?
I hope anyone could help me how to run tasker in a reliable way on sgs3.
Thanks in advance.
Hey man, sorry I can't help but I am running one task on my Spirit GS III.
My task is to connect to Wi-Fi according to the near cell tower.
Anyway, mine seems to be working just fine.
Sent from my SPH-L710 using xda app-developers app
I dint think everything is perfect with tasker and ics. I think I red in the google groups about some things that may not function perfectly.
I have my lockscreen disabled when Bluetooth is connected in my car, and when it's connected to power. Sometimes it works, sometimes it doesn't. Sorry, that's the best I can offer you.
Sent from my GT-P1000 using Tapatalk 2
I've used tasker since my desire days. I had profiles that turn wifi on and off and go into silent mode etc.
The only profile that doesn't work for me is turning off the LED. In fact for me I haven't found anything that will turn off the LED
Sent from my GT-I9300 using Tapatalk 2
Thank you guys.
I've also searched the web.
Unfortunately, i think there is a problem with Tasker and ICS (especially with SGS3?).
Maybe there will be an update for tasker...
Does anyone of you knows an app which allows me to control the Lockscreen behaviour through Wifi status?
eLiTeFLO said:
Does anyone of you knows an app which allows me to control the Lockscreen behaviour through Wifi status?
Click to expand...
Click to collapse
Give Delayed Lock a go, there's a free trial in the store. Works perfectly on the S3
Sent from my CM9 TouchPad
It's working like a charm for me to enable/disable the lock screen security with Tasker and secure settings. I need it because of our Internet certificate at our University.
fl4m3y said:
It's working like a charm for me to enable/disable the lock screen security with Tasker and secure settings. I need it because of our Internet certificate at our University.
Click to expand...
Click to collapse
Can you post your setting for Tasker and secure settings please. Do you use pin or pattern on the lockscreen?
@Isadora: I'll give it a try
Sent from my GT-I9300 using xda app-developers app
Yes No problem... I just need to translate my tutorial. Just wait a bit
And I'm using pattern
eLiTeFLO said:
Can you post your setting for Tasker and secure settings please. Do you use pin or pattern on the lockscreen?
@Isadora: I'll give it a try
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I use Pattern, and this worked for me.
1)
Press the "+" to create a new profile. Name it what you want (I called it "unlock at home")
Press the "state" button.
Press the "Net" button.
Press the "Wifi Connected" button
Press the search button for the "SSID" and choose your network (wifi must be turned on!)
Press the green accept button.
2)
Now the "Task Selection" window appear.
Press "New Task" and name it whatever you want (I called it "Unlock")
Press the "+" button
Press the "Display" button
Press the "Keyguard" button
Set the Keyguard status to "Off"
Press the green accept button.
Press the green accept button again.
3)
Now you are back at the main profile window. Long press on the name you made for 2).
Press "Add Exit Task"
Press "new task" and name it what you want (I called it "Lock")
Press the "+"
Press the "Display"
Press the "Keyguard"
Set the status to "On"
Press green accept button.
You are done.
Now you phone will disable the keyguard when you are connected your home wifi network and enable it when you are not connected.
Notice. If you turn the screen off and on again within a second or two, the screen will turn off again, dunno why. So when you test it, turn the screen off and wait like 5 seconds and then turn it on.
Good luck
fl4m3y said:
Yes No problem... I just need to translate my tutorial. Just wait a bit
And I'm using pattern
Click to expand...
Click to collapse
I made this tutorial for the eduroam networks at german/european universities. In this tutorial it will be explained how to setup an automatic enableing/disableing pattern lock. At my university place I have to use pattern or pin lock because of the "telekom root ca 2 certificate", otherwise the internet won't work. So the described steps should be very similar to your problem.
I edited the parts so you can use it 1:1
Requirements:
- Installed and working BusyBox App
- Installed and working Secure Settings App
--->Installed Helper in Secure Settings
- Installed and working Tasker
- Create Lockscreen (Password, Pin or Pattern Lock)
--------------------------------------------------------------------------------------------------
Open Tasker Application:
- Create new profile and name it like you want.
- At the "First Context" choose location and locate the place where you don't need the secure lockscreen. Instead of location you can choose whatever you want. In e.g. WiFi
- If you're done, just add a "New Task" and name it e.g. "deactivate pattern" or how you like
- Add an action ( Plugin -> Secure Settings -> Edit -> choose at DEV ADMIN ACTIONS "Password/Pin" or at HELPER ACTIONS "Pattern Lock"
---> For Password/Pin use these settings:
imageshack.us/photo/my-images/266/screenshot2012071109483.png
---> For Pattern Lock use these settings:
imageshack.us/photo/my-images/69/screenshot2012071109551.png
- Save the settings and check them all. You got a new profile with one task now. Long press at the task and add an "Exit Task". Use the same steps from above ( the last 2 steps ) just name it e.g. "activate pattern"
---> For Password/Pin use these settings:
(Insert your security Informations)
imageshack.us/photo/my-images/267/screenshot2012071109574.png
---> For Pattern Lock use these settings:
imageshack.us/photo/my-images/515/screenshot2012071109571.png
- Save all the settings you made and then you should have a profile which shows minimum one context and 2 tasks ( Input and Exit task)
That's it... i hope it work! If not let me know Tasker and Secure Settings are a very powerful tool and handle them with care!
Good Luck
Thanks to all of you.
Today i've tried the Trial version of "Delayed Lock" from the market with the Wifi Plugin.
An what should i say?
It works like a charm :good:
Less features than Tasker, but less expensive...
Nevertheless i will try your profiles even if i think i tried this settings before
Regards
For me it doesn't quite work.
When I turn off the pattern lock, it activates swipe unlock instead of no unlock screen.
I tried to turn off keyguard too, but with no effect at all.
I'm on stock rom with root.
Same for me, but I like it so. Don't know if this is a bug or a feature.
Sent from my GT-I9300 using xda app-developers app
Guys, check Tasker website, there's a beta version there. It might solve your problems.
EDIT: check if you have the latest version: 1.3u1 I haven checked before posting, there is no more beta. Sorry.
Sent from my GT-I9300 using Tapatalk 2
Ok maybe i got something: When you configure a VPN or install a new certificate, Android deactivates the possibilty to choose the less secure options in the security / lockscreen menu. If you now delete any VPN connection and/or user defined certificates, tasker and secure settings should work. At least for me it does. Can anyone verify this?

[Q] Tasker help - only run profile while app is full screen

I have started to figure out Tasker, but I can't figure out one thing, and maybe I'm just stupid (or maybe it's not possible). For example, when I am using Opera, I have it set so the screen will auto-rotate. But as far as I can tell, if I just leave to another app and don't force close Opera, Tasker still runs/uses the profile.
What way can I tell Tasker that I only want a certain setting when I'm actually actively using the app, but not if the app is running in the background?
Re: Tasker help
foxdev said:
I have started to figure out Tasker, but I can't figure out one thing, and maybe I'm just stupid (or maybe it's not possible). For example, when I am using Opera, I have it set so the screen will auto-rotate. But as far as I can tell, if I just leave to another app and don't force close Opera, Tasker still runs/uses the profile.
What way can I tell Tasker that I only want a certain setting when I'm actually actively using the app, but not if the app is running in the background?
Click to expand...
Click to collapse
In which way did you have that set? If you made a profile and chose Application/Opera as context, the profile is definititely only active when Opera is in the foreground. By default Tasker resets settings when the profile exits. You can check this by long pressing the profile and select properties, that Restore Settings is checked. You can also add an exit task that restores the settings.
bjorne900 said:
In which way did you have that set? If you made a profile and chose Application/Opera as context, the profile is definititely only active when Opera is in the foreground. By default Tasker resets settings when the profile exits. You can check this by long pressing the profile and select properties, that Restore Settings is checked. You can also add an exit task that restores the settings.
Click to expand...
Click to collapse
If the main profile is based on an app, the task runs upon opening the app. I need it to be based on the phone's orientation, but to only run this command when this app is in the screen. Basically it's an app that doesn't auto rotate. But has the option in the settings to rotate. So I made a touch input shell that taps all the buttons to change the orientation, and I want it to run when the device's orientation is changed. If it runs every time the phone moves, on random screens, since the touch input is for specific buttons on a particular app, being on another screen would cause random things to be clicked an opened. So I need to make an "if" for (appname) to be on the screen. Got pointers?

Is there a way to have gps start when navigation opens?

Every single time i open navigation I've got to start the gps or start it before hand. Many links I click take me to navigation then I need to click another window to enable gps. It'd be much easier if it was possible to create something like this that is semi automated.
Dave
Why not have GPS always on?
In my past phone experiences it really sucked the battery dry quickly, is that not the case w/ this one?
I normally keep mine off. When I want to turn it on, I pull down the notification window and enable GPS via Power Toggles.
Sent using my HTC EVO LTE and a magic wand
TT_Vert said:
In my past phone experiences it really sucked the battery dry quickly, is that not the case w/ this one?
Click to expand...
Click to collapse
I don't use GPS so I can't answer that just throwing it out there
Buy Tasker (pricey app, but you'll find so many uses for it that you'll feel like it's completely worth it).
Set up a task that consists of turning on GPS and then opening Navigation (or Maps, whichever you want). Then add a shortcut to that task to your homescreen. You can make the icon the Navigation icon and name it "Navigation" - it'll look identical to the original icon, but it will execute the program (GPS on, open Navigation) when you tap it.
In the case of apps that link to Maps or Navigation, you can create a Tasker profile where, if the Maps or Navigation apps are opened, GPS is turned on. The only downside to this arrangement is that if you're linking directly to Navigation from another app, Tasker needs the Navigation app to open before it enables GPS. The result is that you'll get the "show location settings" window when it first opens Navigation (it likely won't recognize that GPS is on when you get that pop-up).
Mathman85 said:
Buy Tasker (pricey app, but you'll find so many uses for it that you'll feel like it's completely worth it).
Set up a task that consists of turning on GPS and then opening Navigation (or Maps, whichever you want). Then add a shortcut to that task to your homescreen. You can make the icon the Navigation icon and name it "Navigation" - it'll look identical to the original icon, but it will execute the program (GPS on, open Navigation) when you tap it.
In the case of apps that link to Maps or Navigation, you can create a Tasker profile where, if the Maps or Navigation apps are opened, GPS is turned on. The only downside to this arrangement is that if you're linking directly to Navigation from another app, Tasker needs the Navigation app to open before it enables GPS. The result is that you'll get the "show location settings" window when it first opens Navigation (it likely won't recognize that GPS is on when you get that pop-up).
Click to expand...
Click to collapse
+1...this is how I have mine setup, works like a charm. Tasker is awesome, there are tons of things you can do with it. You'll need to install Secure Settings from the play store (free) also if you want to be able to toggle gps.
Sent from my EVO LTE
I use AutomateIt and have it set to start GPS when maps or nav opens. It automatically shuts off GPS when going to a different app.
Sent from my HTC EVO 4G LTE
premo15 said:
+1...this is how I have mine setup, works like a charm. Tasker is awesome, there are tons of things you can do with it. You'll need to install Secure Settings from the play store (free) also if you want to be able to toggle gps.
Sent from my EVO LTE
Click to expand...
Click to collapse
Good call on Secure Settings - forgot about that.

[Q] Tasker - New Location Setting w/ KitKat

Since KitKat has been released Android has a new setting to allow us to use a "battery saving" version of location. I am wondering if I could actually control this setting using Tasker. Example would be only when I open maps do I want to use the "High Accuracy" version. I can not seem to find this in Tasker as there has not been a new version since KitKat. Is there another way of doing this? Script? Etc?
Thank you all
Best Regards
No ideas all? Bumping because this is a busy thread. Lol
It can be done with "input tap <location>".
rudolf895 said:
It can be done with "input tap <location>".
Click to expand...
Click to collapse
Unless there is a way to pull down the notification drawer that will be a lot of taps, tap home, tap app drawer and so on. I'm wondering if there is a better way.
I got it working using secure settings, just use secure settings, gps, on or off and it changes the location settings.

GPS toggle

Anyone know of a way to toggle just GPS from high, battery saving, gps only. I know the location toggle works but it turns off location service. I would like to have that on but just toggle modes. I don't need gps for weather location for example but location service on mobile networks works great for most things.
Thanks
RC
Did you look around in tasker? You might be able with it!
I would like to have that too. I've become resigned to leaving Location High Accuracy on all the time -- what Google wants me to, although I do keep Location Reporting disabled.
Long press Location in Quick Settings opens the Location screen where you can change Mode. You probably knew that already, and I realize it's not the quick toggle you're looking for. I mention it just in case.
TheDannemand said:
I would like to have that too. I've become resigned to leaving Location High Accuracy on all the time -- what Google wants me to, although I do keep Location Reporting disabled.
Long press Location in Quick Settings opens the Location screen where you can change Mode. You probably knew that already, and I realize it's not the quick toggle you're looking for. I mention it just in case.
Click to expand...
Click to collapse
GPS eats a lot of battery. Also I have a Nav program which does not like if both GPS and Networks are on so I have to set it to GPS only if I use it. So in fact we need a 3 way toggle: Networks, GPS and both. Well I have to go through settings, not so big deal, but I'm sure somebody could make a nice widget for this.
t1mman said:
Did you look around in tasker? You might be able with it!
Click to expand...
Click to collapse
Thanks for this did some research and found that I can set it per app. And have location set normally set to battery save mode. Then when I open up maps will auto switch the GPS only and then on exit switch back to battery save mode. Will post what I found so if someone else is looking to do the same.
[Cruzer] said:
Thanks for this did some research and found that I can set it per app. And have location set normally set to battery save mode. Then when I open up maps will auto switch the GPS only and then on exit switch back to battery save mode. Will post what I found so if someone else is looking to do the same.
Click to expand...
Click to collapse
Does it work ? Without root ? I also did a fast search about this and from my understanding the only way to work is to have root (even using Tasker).
adit9989 said:
Does it work ? Without root ? I also did a fast search about this and from my understanding the only way to work is to have root (even using Tasker).
Click to expand...
Click to collapse
nope don't need root.
I found this page : SITE
but I used tasker plugin "SecureTask(free)" instead of "autotools(crippled)"
SecureTask plugin just set "location_mode" to "3" for GPS only and then "2" for Battery Save Mode.
I hope that helps.
RC

Categories

Resources