[Q] Tasker trigger GPS when maps open (G3 rom)? - G2 Q&A, Help & Troubleshooting

I installed Tasker (and Secure Settings latest version, granted root) and want to trigger GPS on (high accuracy location) when open Maps and Camera. Also I want to turn off location when return to home screen.
I tried so many different ways, set up a task when I opened maps, I choose Secure Settings, GPS on, Location services on .. but it never works!
Please if anyone is running on G3 ROM (or even G2 ROM) could shed some light on me for this problem?
Cheers:good:
P/S: running Lamhoang G3 and Dorimanx 6.5.1. If it's possible, please share me your file. Cheers!

Try this solution using AutoInput: http://guidecosmos.blogspot.com/2015/03/tasker-how-to-turn-on-gps-to-hgh.html
The first task got maps removed from it. There is now a separate task to open maps. If you clone the first task that set High accuracy mode and renamed it, you can modify it to set mode back to 'battery saver'.

Here are mine. Remember, this requires AutoInput: https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput
View attachment LocModeBat.tsk.xml
View attachment LocModeHi.tsk.xml

MacroDroid should work too. It's easier to handle than Tasker.
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid&hl=de

Related

[App Dev]Location Manager 1.2 (need help testing other devices)

Location Manager 1.2​
This is my first yet-to-be-published app in the android forum so I am excited to see how it goes. I have thoroughly tested it on my HTC Aria but I would like to see the results on other phones. The idea is as follows:
IDEA​Assume that you take your phone to different to different places and you are annoyed of turning off wifi, turning on gps and placing your phone on vibrate whenever you go to certain places. This program simply lets you keep specific profiles for specific places (such as your home, school or workplace). This saves you time, patience, as well as battery.
For example, I go to school and I turn off my gps, my wifi, and my Sound. When I go to work, I normally keep my sound on, my gps off, and my wifi on. I keep this program running and it simply takes the location from gps/wifi/cell tower(whichever is on) and it lets you program locations using an address and if it sees that I am there, it will run that profile. Thankfully, it also lets my override my profiles just in case I want to use google maps in school or keep my sound on at work.
Version Control​Version 1.0 - The first version which has basic functionality with wifi and sound control. The settings page exists but does not function. The next version will have bluetooth support and full settings functionality.
Version 1.2 - This version has new icons and has functionality for settings page. Everything in the app should now work but may not
Help​Please post on this thread whether this app works for you or if you are having difficulties.
Downloads (also available below to xda users)​Version 1 - http://bit.ly/qW4l0A
Version 1.2 - http://bit.ly/pxCzUZ
Thanks for downloading my app ​
i always wanted something like that
On my HTC Inspire I get a force-close when I try to "add location" -> "update map".
@Gene Pool - I just discovered that stupid error. Ill fix it in the next version, but basically you are supposed to enter the address first and then press update to update the map. In the next version Ill make it say that
Giving it a go go on Samsung galaxy s2 running villianrom 2.0
Installed, sadly getting FC´s when starting the app
If anyone is willing to try a super unstable (yet newer) version of the app, please try out the following apk file. The settings page does not work but it fixes several gps fixing bugs which relate to the force closes.
-Thank You
Seems like I had to turn on GPS BEFORE starting the app. Now it force closes when choosing to add a location
Ive tried the beta version you posted, everything works except from adding a location, it still fc's on me.
Thanks for the hard work, it's time for a easy to use alternative to tasker
I tried the latest version, but I couldn't see the map. I can press Update Map, but no map appears. Just an empty raster.
On my wildfire I can't read the text at bottom(at main screen), it says "Settings page does not work yet. This is the alpha version."
There is some text below that, but it doesn't fit on my screen. And in landscape I can't see anything below Longitude.
On the about screen, I can't look further than "keeping unnecessary things running" on portrait.
I think it's better to put About and Settings into Menu, because most of the time you won't need it.
When adding/editting a location it's a little bit confusing. I think I'd prefer a dropdown menu for wifi/sounds. Values like: Wifi on, Wifi off, don't change.
When you leave the Profile Name empty, it'd be nice to get a default value.
When I press "Edit locations", and then use my back button, the application closes. I'd like to go back to main screen instead. When I open Edit Locations after adding locations/reading about/settings, and I press back button I need to press it serveral times, but nothing happens. After a few times it closes the application.
And I prefer imagebuttons instead of "edit" button, I'd be nice to have the edit button on the right.
It looks like your using LinearLayout with default Horizontal orientation. RelativeLayouts would be beter in some cases.
Latest comment, I think normal users don't care about his/her current Latitude/Longitude/Accuracy data. I think you could remove that.
Ok, that's it for now. I hope you can use some of my feedback
EDIT: Another bug, I need to kill the application to prevend it from using my GPS 24/7. I can't stop it the normal way. Also, I think it's better to use a service instead of Activity for things like this.
I Cant thank you guys enough for helping test the app. Anyway, I will apply those feedback into a new version and post again. Also, would you say the first one is better or the second one? I tested the new version today while going to work and I discovered several errors in GPS acquisition.
Sent from my Liberty using XDA App
EDIT:
Version 1.2 just got released - please try it out and it has incorporated several of the features you guys suggested.
Looks better than previous versions. But...Is there a way to delete locations?
Next one will have that and Bluetooth and backlight settings.
Sent from my Liberty using XDA App

[Q] Navigation that works with BT gps

Does anyone now a Navigation app that runs on Gt-I5800 and can use an external BT GPS. The thing is that although I've tried the GPS fix for the internal GPS it never works properly. From the other hand I had an external Nokia GPS from a previous mobile that I've connected with the BT GPS app and works like a charm, but it does work with Sygic or Google Maps.....
(I'm using Kyrilos v6.0 rom and I've with already tried the GPS fix)
I do not know if there are applications like that
but maybe you can configure your GPS settings with gpssetup
call *#*#3214789650#*#* to start gpssetup2
or create a shortcut in launcherpro or ADWlauncher
go to Settings ==> Fix request settings ==> session type and select tracking
then go to Settings ==> Fix request settings ==>operation mode and select standalone
then go to Settings==> parameter settings ==> positioning mode and choose option3
go back to the first menu select commands, get position, starting gps
and normally you have your position within minutes
for a bether result you can download gpsbooster and fasterfix that can help finding your position
Thanks for the reply. I've checked all the above and they were already like that, but still the GPS can't lock properly (I've also tried gpsbooster but again no luck )
Have you tried waze? I'm about 90% sure that supports external GPS, don't quote me on it though.

Location Detection Issues on Battery Saving Mode

Hi guys,
I've been experiencing this issue on CM13 and CM14 as well. It's finally bugged me enough to try to fix it.
Basically, when I have location setting on Battery Saving Mode, a lot of apps can't detect where I am. It's a characteristic that is unusual because I know these apps should be able to detect a coarse location in the past.
For example:
KK Widget (Dashclock) weather
Pokemon Go
Zomato
Basically they only can find my location when I'm on high accuracy. I have double checked the permissions and location has been granted.
It's odd because this happens to most of my apps that need a location. Things like Google Maps can detect my coarse location fine though.
Any thoughts?
I think it depends on the underlying API the app uses to locate, there's different APIs which the programmer of the apps can use, so probably the apps you list uses the API that needs high accuracy to work.

Closing Idle apps on Screen off

Hi,
It has been a while since I have been able to play with custom ROMs as my previous phone was not well supported.
I have just now switched over to the Axon 7 and have just started setting it up as my daily driver. I Installed NucleaROM with LIGHT PATCH, Open GApps and ARISE Sound System. All seems to be working fine but I have one issue and I think it may be a feature from not just the Custom ROM of choice but the underlying source (ResurrectionROM/LineageOS).
When I first setup the phone, it had an option on the lock screen to customize how apps are closed (i believe the term was Smart Close) when the device is idle and the screen is off. I remember looking through it and having options for which apps are closed and which are to remain running.
Since then I have installed a collection of apps, one of which is the Garmin Connect which I need to run when the screen is off.
I am unable to find how to get to these options now. I have looked through the power options and cannot see it.
If anyone can help me, I would greatly appreciate it.
Thanks for your assistance.
As I have started to use the phone a little more I have noticed that this is having another effect.
It seems to be closing my keyboard app so every time I unlock it goes back to the stock keyboard and I need to select SwiftKey again.
I hope someone knows where these settings are.
I have found a workaround for now, but if anyone knows how to control the SmartBattery application, it would be greatly appreciated.
I believe this function is coming from the System App called Smart Battery. I have gone into Settings -> Apps then selected the menu to show system apps. From there I was able to locate the SmartBattery app and disable it.
This seems to be working for me as by Garmin Fitness tracker was losing BlueTooth to the phone before but not now with that app disabled.
I'm not entirely positive about this, as I've never heard of that app. At first, I thought you were talking about the screen lock cleaning feature from the power manager on stock. After your follow up post indicating you had actually found reference to the app on your system and a bit of Googling, I was able to find some reference to it. Nothing useful, I'm afraid.
Try using an app that can launch activities, like Nova Launcher or Tasker. Try to find the app in the list, and see if you can launch it by calling for one of its activities.
P.S., if you're running RR, if you have a look at the extended settings, there might be a way to set the nav keys long-press action to a custom activity. Remember to enable the app, otherwise it might not show up in any lists.

How to stop disabled apps from running in the background?

Hi all,
I tried everything I could think of, to stop these apps from running in the background, disabled most of them in Settings, but they keep on popping up running in the background, when I run Optimize or just after I turn on internet (wifi/mobile data).
Please see screenshots
Apps: YouTube(though not used that day), Yellow pages (should not even run on global ROM and blocklist turned off), Blocked number storage (turned off in Settings), Emergency alerts (turned off in Settings), App Vault (turned off in Home Screen settings), Mi Coins (not used in global ROM, so should not even run), and some others.
II tried asking Xiaomi for help, but even though they promise to fix in next update nothing happens. I asked google for help with Emergency alerts, since its their app, they never reply.
Can you help?
Take in mind my phone is not rooted.
Please click on the screenshots to see full picture

Categories

Resources