[Q] Auto Enable Data when App is opened - Android Q&A, Help & Troubleshooting

First off, I'm hoping this is in the right place. Seemed appropriate, but feel free to move if not.
After searching the interwebs, I have not been able to find anything similar, so I was wondering if anyone knows of an app to:
Auto enable wifi or data when specific apps (more than one app) are opened, so I'm not constantly playing with enable widgets every time I try to open my internet app.
Auto 3g does the job, but you have to set up each individual app, I'm more so looking for something to recognize a list of pre-selected apps that knows to enable data when said apps are opened.
I almost always keep my wifi, data, bt, gps off, when not in use due to the crappy battery of my Amaze, so I figure this would make life a little easier and spare the screen being on for any longer than it needs to be.
Thanks in advanced.
-DeadEndRoad117
Sent from my GT-P7510 using xda premium

Related

[Q] How do I find out what is using the GPS?

I noticed that whenever I'm on WIFI, the GPS icon would come on and blink for a few seconds then go away. It would keep doing this every 3 seconds on the dot.
On 3G, it would not happen.
On stock KG1 ROM, rooted. I have the Widget Locker and the touchscreenfix.
How do I find out what app or process is using the GPS? I even used the Samsung Task Manager to kill all the apps and cleared the memory. I also rebooted. Whatever it is, it simms to start up when the OS starts. Looking at autostarts, there are too many apps listed in the"after start up" category to pin point the offending app.
I think I found the problem. It was the AT&T Mark the Spot app.
I noticed the GPS also comes on when I change charge/discharge state, as well as network state changes. I looked at Autostarts to see what do these have in common, and out of all the other apps, this one is more likely the culprit.
I'd still wish for a way to find out what process is using what resources. Currently, there is no app for that.
naddie said:
I think I found the problem. It was the AT&T Mark the Spot app.
I noticed the GPS also comes on when I change charge/discharge state, as well as network state changes. I looked at Autostarts to see what do these have in common, and out of all the other apps, this one is more likely the culprit.
I'd still wish for a way to find out what process is using what resources. Currently, there is no app for that.
Click to expand...
Click to collapse
There is this app (if your rooted that is), I have it as it allows me to prohibit some permissions of certain apps. Also in a sense enhances security. If you found this helpful don't forget the thanks button (as im trying to build that up! lol).
https://market.android.com/details?id=com.lbe.security&hl=en
additionally for security there is also: https://market.android.com/details?id=com.lookout&hl=en
EDIT: LBE lets you know what is using what or what potentially can.
Htc HD2 Spirit said:
There is this app (if your rooted that is), I have it as it allows me to prohibit some permissions of certain apps. Also in a sense enhances security. If you found this helpful don't forget the thanks button (as im trying to build that up! lol).
https://market.android.com/details?id=com.lbe.security&hl=en
additionally for security there is also: https://market.android.com/details?id=com.lookout&hl=en
EDIT: LBE lets you know what is using what or what potentially can.
Click to expand...
Click to collapse
Thanks, but that's not what I'm looking for. I don't want to prevent the app from accessing GPS, which looks like what those apps you mention can do. I just want to know for future reference if I can find out what app is using what resources.
For example, if I see the GPS keep coming on again even though there isn't anything apparently running, I'd like to know which app or process is using the GPS.

[Q] Sygic stops GPS tracking in background after a while, yours too?

Hi,
recently I tried out Sygic which works really nice except for one thing:
when Sygic is running in background after a while (seems randomly) the GPS message disappears (upper message in attached pic), the Sygic message remains (lower message in attached pic).
When I click the Sygic message, the app behaves as if I restarted it (says "initializing" on top right). Luckily, it remembers the old route.
Yet sometimes I don't drive myself and would like to do other stuff and have Sygic tracking in the background.
It works fine with Google maps.Yet not with Sygic. Especially when I launch any other app (even the browser, a video or something), Sygic stops tracking immediately (not always but often) or some time later.
GPS is set to never turn off in Sygic and all settings are set to "optimal".
Could that be the Android OS turning something off for Sygic as it might believe it's no longer used or something?
Sygic is more sophisticated than Google maps and uses more ram. If you start opening other apps after Sygic then they will get higher priority in ram. Sygic doesn't really stop so much as get pushed out of memory until it gets switched to again. Not much you can do about it really.
Sent from my GT-I9300 using Tapatalk 2
Ah that explains the issue, already feared something like that.
The only annoying part is that it no longer tells me where to go when that happens.
Does anyone know whether this happens with other apps such as Navigon as well?
Since the newest update (at least I didn't notice it before) Sygic has an option "Run navigation in back..." under Battery management.
Haven't tested it yet but that supposedly sets the oom_adj values low enough for the app not to get killed.
Ah thanks, that is new indeed.
Yet I tried this and eventually the same thing happens sooner or later. :/
Open Sygic.... go to SETTINGS than go to BATTERY MANAGEMENT (i don't know witch is the correct option in english as my SYGIC is in ITALIAN)... the first setting that is show to you is the opportunity to deactivate the GPS signal after a definite time.... change it!
Yeah that option is now replaced, you can only check/uncheck it. I checked it so it keeps running in background but still shuts off after a while when using other apps.
You're right. I have the same problem. This is ridiculous. You are running navigation and expect it to give you the directions at the right moment, but you don't know that in the meantime, while you got a phone call and checked your messages it was turned off silently and no longer working.
Without an option to guarantee it's working and can't be stopped in the background, you're as if you have no navigation at all.
If this can not be fixed it's better not to even install Sygic, cause this takes away a major part of what this app is meant to do. So stupid.
I have tried Igo and it was the same. How serious is that?! To have a navigation, which can stop while you're using it and need it, without warning!
Did anybody find a solution to this?
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Landorin said:
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Click to expand...
Click to collapse
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
tiho5 said:
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
Click to expand...
Click to collapse
I have been using Sygic for quite a long time and noticed that on my Galaxy Captivate, after initialization, if you switch to some other app then return to Sygic (either from the app icon, or from the task bar) it always restart.
However on my Galaxy S3 after switch back to Sygic it just continues wherever it left off. I guess that my Captivate had less memory to run Sygic while I have plenty on the S3.
Also in Sygic, go to Settings / Notifications and Sounds / Advanced and turn "Sound always on" would let Sygic to continue to turn-by-turn announcement even if it is not in the foreground, even when the screen is off.
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
tiho5 said:
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
Click to expand...
Click to collapse
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
pentel1954 said:
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
Click to expand...
Click to collapse
Thanks for trying to help. This option is set properly to "never" with me.
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Landorin said:
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Click to expand...
Click to collapse
Thanks for this elaborate report. It will be useful for many.
And yes, the navigation soft producers must make some conclusions.
If I find a good way to protect an app from being killed, I'll post it here.
You can try Fameelee - Family Locator app and you will never get such problems. 24/7 real time accurate gps location tracking, ability to see location history of your app members for the last 30 days, get notification once your app members reach some specific places (that you match by yourself), sms and call logs tracking and a lot of more. App is free and avaiable on appstore and google play market

Google maps and battery life

I've noticed that Google maps is always taking up a big portion of the battery in the battery menu. If I freeze it with titanium would that make a significant difference? I use it seldom enough to go thru the trouble of unfreezing it when needed if it's worth it..
I have the same problem. The only thing about freezing it is that several apps use it. It couldn't hurt to try though. I believe this is a pretty wide spread problem lately.
Sent from my SGH-T889 using xda premium
I recommend you download a program called autostarts. it's a great little program that lets you stop apps from booting themselves up. you'd be surprised how often the apps on our devices want to boot themselves for no reason- at startup, when you plug the phone in, when you switch to wifi, etc. autostarts doesn't truly freeze the apps, so you can still open them and use them when you WANT to, it just stops them from running in the background for no reason. saves a lot of RAM and batterylife.
edit- here it is- https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts&hl=en
Location Settings
Have you tried modification of the location reporting settings?
In Maps-> Settings-> Location are some settings, disabling them stops the reporting of your device and saves a lot of battery.
Sucky1983 said:
Have you tried modification of the location reporting settings?
In Maps-> Settings-> Location are some settings, disabling them stops the reporting of your device and saves a lot of battery.
Click to expand...
Click to collapse
Thanks this will probably do the trick

Maps using battery without opening app

I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
bugeyeblue said:
I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
Click to expand...
Click to collapse
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
RazaVakil7995 said:
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
Click to expand...
Click to collapse
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Capp5050 said:
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Click to expand...
Click to collapse
Awesome. Thanks for the help. I set it up the way you suggested and I'll see how it works over the next day or so.
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
Excellent app, but it does require root privileges.
Sent from my Galaxy S4
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Capp5050 said:
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Click to expand...
Click to collapse
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
maddog00 said:
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
Click to expand...
Click to collapse
My bad. For some reason I thought your response said "disable all background apps". Thx for the app tip.

[Q] True backgrounding/multitasking

I have this app I want to maintain in the background while I use other apps. But it always loses network connection after a couple of minutes. I installed the xposed 3c toolbox and app settings but neither helped. On 3c's 'network settings', I found the the network for this app always goes from 'established' to 'closed_wait' very quickly. How can I make it stay 'established' indefinitely?
I was a big fan of Cydia's 'Background manager', which managed to truly maintain any app I want in the background, including the app I mentioned above. Is there an Android equivalent? I've found that it is really hard to keep an app fully working in the background unless the app itself provides the option. For example, I still haven't got around to figuring out how to keep a video on Puffin playing while I work with other apps.

Categories

Resources