Whatsapp Re-launching - Windows Phone 7 Q&A, Help & Troubleshooting

Hey everyone,
This is intended to people who use Whatsapp or apps that show similar behavior.
If Whatsapp is in the background app list, I can easily hold the back button, access the list, and click on it and it will resume from where I was.
However, if the background is still in the background app list, and I clock on the Whatsapp live tile, the app has to re-launch itself instead of resuming from where I left it.
Is that a Whatsapp malfunction or normal WP7 behaviour? Other apps do not behave like that so I am guessing it's whatsapp.
I only had my Lumia 900 for a week and still new to WP7.
Your help/comment/feedback will be appreciated.
Thank you.

clicking on the app-tile will force every app to relaunch (except some built-in "apps" like your browser and so on)

roqstr said:
clicking on the app-tile will force every app to relaunch (except some built-in "apps" like your browser and so on)
Click to expand...
Click to collapse
I find that a bit odd don't you think? What for?

It's a limitation of Windows Phone right now. I think it's mostly done to reduce the amount of background processes running and hence will give better battery life.
Hopefully this will change with WP8!

Actually, that's mostly incorrect. It is the default behavior of WP7, and the reason for that behavior is to allow the user to re-launch an app that has become hung in some way (since apps can trap teh Back button, it's entirely possible to make an app that the OS provides no other way for the user to exit from). In theory (I haven't tried it myself), it's possible to make a configuration change that causes the default "launch" behavior to be resume, rather than restart.
Background processes are completley irrelevent, because WP7 has no (significant) process limit and does not let apps run in the background (consuming battery) anyhow. Backgrounded apps are fully suspended; they use RAM but if another program needs it, the suspended app will be tombstoned (think of it as "hibernated"), the process ended, and the RAM freed.

Interesting although a bit annoying since the app takes 5 seconds to relaunch and fetch messages although the messages have been received and notifications have appeared on the top.

Related

How to lock *phoning* process in memory ?

*please don't read "my phone is slow" but "I want the telephony functions load (very) fast"*
Hi,
I'm trying to find a way to get dialer, calls log and contact list fast as light.
Exemple: each time you launch the dialer he is keep in memory. If you launch "heavy" application and launch the dialer (Oops: I mean contact list) again it's take up to 5 secs to appear.
*Edit because of unhelping answers elsewhere* It's possible to lock "telephony functions" (dialer, call's log and contact list) in memory ?
As I say in another forum : I know this is a strange idea, but I have this smartphone to call people too !
Edit: I use a rooted HTC Magic 32B w/ Cyanogen mod 4.2.15.1 plus 10mb Hack/JIT...
I'm not sure what you mean by "keeping in memory". I take it that you have recently switched from windows mobile? Can you give an example of a "heavy application" that causes slow down?
I would suggest removing any task manager or memory optimization applications from the phone. These are the ones which cause the most slow downs.
Also, the slow down could be caused by putting more stuff on the phone than it is capable of, as in running too many background applications. Try checking your settings->application->running services to see if you have a bunch and try removing the unnecessary ones.
Also, keep in mind that just because an application is in memory, will not make it faster to switch to. The time that it takes for the CPU to load something from disk is only a small part of the total time that is required to display it. If the CPU is occupied with a bunch of background services then the foreground application will only be able to claim a share of the CPU time and thus, regardless of being on disk or in memory, will still be slower to load.
Maybe you can use a swap device to optimize memory usage?
ady said:
I'm not sure what you mean by "keeping in memory". I take it that you have recently switched from windows mobile? Can you give an example of a "heavy application" that causes slow down?
Click to expand...
Click to collapse
In fact, heavy application is not the good explaination, it's more about how Android manage memory. So when I talk about "heavy application" I'm talking about the application who, because of Android memory managment, unload another "thing" from RAM.
Two day ago someone ask me to add him in my contact list and i've to tell him to wait a little until my contact list to load.
The original question, who was not understand by others people elsewere, is :
If I launch the dialer (or contact list) once, it load "slowly" (~2secondes, "very long")... if I immediatly press home and launch it again it load almost instantaneously (fast as light)...
Now, if I load some applications (web browser, gmail and Spotify at same time) memory is freed so, if I launch the dialer again, it will load "slowly" again.
Question : How to get the case 1 for dialer, call's log and contact list in most situation ?
I can understand that slow load time may happend in some case (high cpu load, ...) but why after the first launch, the second one (without doing anything else) is *VERY* fast ?
"Keep Home in memory" in Spare Parts allow fast display of home after using "heavy" applications (maybe because he's already loaded/keeped in RAM or stuff like that), I want the same for the telephony functions.
I'm trying to avoid "garbage" solutions like autokiller&co, just want a real tips (even if it's a little bit more technical than create a swap partition).
PS: I never touch a WM phone, before my phone was old, not multi-task and "telephony functions" was faster than right now
*bump*
I would like to lock the dialer in memory too. It takes a LONG time on CM5.0.8 (5 seconds!) to launch. Any ideas?
Bump! I have the same problem. Any solutions ?
bump
in CM7 there is an option to keep home in memory which lock the home data in ur memory when ever u press the home button it switch fast to it cuz it was never killed
maybe that affects the loading of other apps since it takes a space of ur memory depending on what u have on your home screen but for some ppl its important to switch fast to home screen ... same for the messaging app
On the other hand there is No option to lock Phone app in the memory although its way more important than keeping ur home screen in memory ,,, i mean its what the phone was made for in first place...
why do i need to wait 2-5 seconds til the phone app loads so i can dial a number ,,, makes u miss the old times really!!
i hope any one knows a way to lock the phone app in memory so it's always awake and loaded when ever its in need and it shouldn't affect the load of other apps since its very light and its way lighter than home app :/
EDIT:
i found a solution here :http://forum.xda-developers.com/showthread.php?t=1532937

[Q] how to close apps?

everytime i run any apps and close/exit/quit whatever, normally i use back botton (left botton)
but when i'm on homescreen and look at recent apps, i saw all apps i quit before showing
Are those apps still running? and if i does not swip it away from recent queue, are they running forever?
pladoog said:
everytime i run any apps and close/exit/quit whatever, normally i use back botton (left botton)
but when i'm on homescreen and look at recent apps, i saw all apps i quit before showing
Are those apps still running? and if i does not swip it away from recent queue, are they running forever?
Click to expand...
Click to collapse
The recent apps menu shows ... recently used apps. This has nothing to do with them being still running or loaded in memory.
Android does keep the recently used apps loaded in memory and automatically removes them if the foreground app needs more memory. So in theory you never need to actually exit any app, it is managed by the OS.
In practice, it's a little more complicated - there are "activities", which are those parts of an app you directly interact with, and there are "services", which perform background processes (playing music, downloading, checking for updates, ...). So while there is always only one activity running (and all the others are stopped), there may be several background services which are running or at least periodically wake up to do something, and those actually consume CPU time, memory and battery.
_that said:
The recent apps menu shows ... recently used apps. This has nothing to do with them being still running or loaded in memory.
Android does keep the recently used apps loaded in memory and automatically removes them if the foreground app needs more memory. So in theory you never need to actually exit any app, it is managed by the OS.
In practice, it's a little more complicated - there are "activities", which are those parts of an app you directly interact with, and there are "services", which perform background processes (playing music, downloading, checking for updates, ...). So while there is always only one activity running (and all the others are stopped), there may be several background services which are running or at least periodically wake up to do something, and those actually consume CPU time, memory and battery.
Click to expand...
Click to collapse
your explanation very good, i'm clear right now
thank you :good:

How to keep Apps running in the Background?

Hi everyone, ever since the update, my apps stop running in the background when I close the app. Example: I don't get Whatsapp notifications anymore unless I open the app and keep it open. If I close all open apps, I will no longer receive any of the notifications for any of them.
I went into the battery settings disabled battery saver mode but that didn't do anything.
I would appreciate any help you could provide.
DominionChamber said:
Hi everyone, ever since the update, my apps stop running in the background when I close the app. Example: I don't get Whatsapp notifications anymore unless I open the app and keep it open. If I close all open apps, I will no longer receive any of the notifications for any of them.
I went into the battery settings disabled battery saver mode but that didn't do anything.
I would appreciate any help you could provide.
Click to expand...
Click to collapse
It's apparently one of the issues with the latest OTA update, where closing all running apps will terminate the background processes associated with the apps closed. Prior to the update and the Close All button being added to the recent apps list, I don't think it had this problem (I don't use Whatsapp, but my Skype and Discord notifications still come through even if I don't have them on my recent apps list).
This is a little frustrating. Noticed that I wasn't getting any notifications from tasker, pushover, textra, hangouts, inbox and etc.
Also noticed that pushover will not update unless it is off of wifi. All my other devices receive notifications on this wifi. IE nothing blocked.
I have had to open all the programs that I want to receive notifications from, open. Not the best work around.
J
I noticed that on occasion there will be small text under the new button that says "long press to set up apps that could run in the background" I do it but it doesn't seem to do anything, maybe free up some of the RAM but that's about it. I'm wondering if there is a bug and if it's supposed to show something.
Has anyone else tried the long press?
As of now all I do is keep a folder on the desktop labeled background apps. It helps big time when I accidentally tap the close all button. But my solution as of now is to keep things open that don't seem to work in the background. I've been experimenting with what works and it seems like in some recent app updates they begin to work without being open. I know for sure that facebook and now facebook messenger work without being open, as well as some google services. I have a memory clearer app that I use when I'm not using my phone so it clears whatever it can without killing the apps. But that's what I have as of now, trial and error to figure out what I need to leave open and what I can close. And I strongly recommend the folder, I have had many times where I accidentally close everything and forget what I had to leave open.
It's a bummer though, I just bought the phone and then this update came out. Kinda kills the excitement of getting a new awesome phone if I have to deal with this frustration :/ Other than that, it's definately a nice step up from a Samsung S4.
Jmoore4 said:
I noticed that on occasion there will be small text under the new button that says "long press to set up apps that could run in the background" I do it but it doesn't seem to do anything, maybe free up some of the RAM but that's about it. I'm wondering if there is a bug and if it's supposed to show something.
Has anyone else tried the long press?
As of now all I do is keep a folder on the desktop labeled background apps. It helps big time when I accidentally tap the close all button. But my solution as of now is to keep things open that don't seem to work in the background. I've been experimenting with what works and it seems like in some recent app updates they begin to work without being open. I know for sure that facebook and now facebook messenger work without being open, as well as some google services. I have a memory clearer app that I use when I'm not using my phone so it clears whatever it can without killing the apps. But that's what I have as of now, trial and error to figure out what I need to leave open and what I can close. And I strongly recommend the folder, I have had many times where I accidentally close everything and forget what I had to leave open.
It's a bummer though, I just bought the phone and then this update came out. Kinda kills the excitement of getting a new awesome phone if I have to deal with this frustration :/ Other than that, it's definately a nice step up from a Samsung S4.
Click to expand...
Click to collapse
does it misbehave after rebooting? or all the time?
sensorsweep said:
does it misbehave after rebooting? or all the time?
Click to expand...
Click to collapse
Misbehave as in not show anything after a long press?
Yes, nothing happens anytime I try it. After reboot, the first time I pull up the running apps is when I get the prompt. After the first long press after a reboot, the prompt is gone. If I have an app open and then I do the long press, I am taken back to the desktop, but no matter what I try, nothing seems to happen after the long press other than being taken back to the desktop if I had an app open.
I have the same issue, I thought it was a Internet connection issue (see my thread) but after digging deeper realised my background apps werent running after closing them and the long press option does nothing.
I have the same problem. Any solution?
MatisasB said:
I have the same problem. Any solution?
Click to expand...
Click to collapse
I've just installed the new update and it looks like the issues I had with background apps closing when clearing all apps has been fixed. I've got no apps running in the foreground yet can see Whatsapp, Fitbit, etc still running and I'm receiving notifications for them.

How to prevent from stopping background processes

Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
jorgemackay said:
Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
Click to expand...
Click to collapse
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
dhorgas said:
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
Click to expand...
Click to collapse
Like Emby, when you're in the middle of casting
disturbd1 said:
Like Emby, when you're in the middle of casting
Click to expand...
Click to collapse
I don't know is what that means.
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
ShrekOpher said:
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
Click to expand...
Click to collapse
This doesn't work. The issue is with memory management on the device. It's pretty well documented in a few places on XDA already and is by no means a new problem for Samsung. It has gotten a lot worse since Samsung started moving to Nougat though.
Can you give a reproducible scenario?
The original post already mentioned that he already removed the apps at battery optimization.
Sent from my SM-G955F using Tapatalk
lopri said:
Can you give a reproducible scenario?
Click to expand...
Click to collapse
Open 6-8 apps, in my case phone, messages, email, browser with 10 tabs, BBM, calendar, Nine Email, and Slack and watch the phone shut down apps on its own even if they are removed from all optimization features. It sometimes takes a few hours, other times it's quicker, but sooner or later the phone just shuts down apps on its own. Most of the time it kills the phone app and messages first. Then all the browser tabs go into refresh mode.
dolbylogic said:
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
Click to expand...
Click to collapse
Nobody else responded to this, but it seems to work for me.
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
adattabd said:
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
Click to expand...
Click to collapse
I suggest the J7 forum section then, this post hadn't been touched for a year.
iworkout said:
Nobody else responded to this, but it seems to work for me.
Click to expand...
Click to collapse
It worked for me too.
I had an Galaxy S6 and used to sync FolderSync with an FTP account.
After migrating to Galaxy S8+ FolderSync doesn't work anymore.
It does sync once while the app is opened and after that it stops syncing, no matter if it is closed not.
Removing Battery management for FolderSync app makes syncing to stay running in background even with all apps closed.
Thanks!

Question Permissions Issues

I like to stop background data and set battery use to restricted for most of my apps.
I spent about 10 minutes yesterday going through every app and turning off background data and setting the battery use to restricted, but after a reboot, everything is back to default, including apps I've previously enabled to install other apps (Google chrome, mixplorer, sai, etc)
Any ideas?
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
synesthete said:
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
Click to expand...
Click to collapse
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Psychlone said:
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Click to expand...
Click to collapse
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
synesthete said:
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
Click to expand...
Click to collapse
Damn, ok, at least I know there's something wrong with specifically MY setup.
Hopefully someone will chime in with a reason and a fix.
Thank you for checking it out on yours and giving me input!!
I hate to double-post, but it's been a couple days and I was hoping that someone with experience in what my issues is would chime in.
tl;dr the initial post:
I set specific apps to restrict background data and set the battery use to restricted.
After a phone restart, the settings are back to default, including any 'disable over' and other permissions. My changes do not persist after a reboot.

Categories

Resources