[Q] How can I protect apps from being killed? - Xperia Arc Q&A, Help & Troubleshooting

Hi,
Is there any way to protect apps from being killed by android..?
For example, I listen to podcasts using Google Listen, and sometimes while I'm doing this I might want to play a game... So I start the podcast playing, and then start up the game. However, after a couple of minutes, Listen will get killed as android tries to free up memory by killing background apps. Is there any way to protect Listen (and other apps) from being killed in this way?
I'm using stock ICS (on Arc S), and I don't really want to install a custom ROM...
Thanks for your help,
Matt

Search for 'supercharger' in Android general. ;-)
sinksterĀ©

must be use correctly the rom of your area or country

Related

[Q] Music stops when switching apps...

While I've been a member of XDA for quite a while (since my early days with a TyTn II), I've never posted. Mostly because I've always found an applicable post regarding my interest, need, problem, etc.. Can't find anything this time!
I recently upgraded from an original Moto Droid to the Incredible (bought off E-Bay) and have two annoying issues.
The biggest is that, unlike the Moto Droid, the music stops whenever I switch from music player to another app. On the Droid, I could go to the home screen or browser, etc and still listen to music. The weird thing is that it still exhibits the same behavior after rooting and loading the latest JagerRom. Is this just normal for the Incredible?
The second problem (not so much), is that the phone refuses to automatically pull my apps down from the Market after an upgrade or factory restore. It syncs Contacts and email just fine, but I've had to reload my apps manually after each restore and the switch to JagerRom. It's had this issue since day one.
Any thoughts/advice would be much appreciated!
how are you accessing your music? to start it playing? I noticed that if you go through a file manager and play a song you have to leave the music app open or if when you back out it will stop but if you go to the music app and start it then you can back out and it will play in the background fine. Make sense?
Thanks for the reply. I'm playing purely from within the stock player. That's why I'm baffled by the problem.
Sent from my ADR6300 using XDA App
hmm thats very strange. not sure what to tell you on that. Ill try to rack my brain some more and let ya know if I come up with anything.
I thought I should chime in here also. I am also experiencing this issue. Seems like navigation is killing pandora instead of muting it. Very annoying on road trips, a fix would be much appreciated.

[Q] Disabling Google Play auto-starting process

Is there a way to stop this process from autostarting, if i don't force close it, it wont stop, and it restarts everytime i reboot, i want to stop it from running to save memory and battery.
Also what is this process for anyways, im using a offline xperia play by the way, just as a gaming device.
0mega007 said:
Is there a way to stop this process from autostarting, if i don't force close it, it wont stop, and it restarts everytime i reboot, i want to stop it from running to save memory and battery.
Also what is this process for anyways, im using a offline xperia play by the way, just as a gaming device.
Click to expand...
Click to collapse
Root & freeze market (play)
Sent from my R800x using Tapatalk
But i want to use google play, this didnt happened with the old market, is this normal now to have this procces running?
0mega007 said:
But i want to use google play, this didnt happened with the old market, is this normal now to have this procces running?
Click to expand...
Click to collapse
Yes, and you can unfreeze it when you wanna use it.
Sent from my R800x using Tapatalk
thanks, i believe this is the market looking for updates (i got market apps autoupdate off), can't i freeze a process of this and keep the market usable, or i have to freeze the entire market app?
Autostarts
Start
You can use LIDROID for disable Google Play and others apps

Getting Multitasking like Xperia Play?

Might sound like a strange question, but hopefully someone can help out
My One-X is now away for repair due to a wifi and screen issue, so at the minute I'm back to my Xperia Play - and I notice the multitasking is *so* much better, which is a bit depressing.
I can switch between apps all day long, and I came back to my music app after playing a few games, and it reloaded the last song I played and continued.
With the same program on the One-X, I would have to reload the program from scratch, back to the main menu, and take it from there.
Is there anyway, changing settings etc, I can emulate what's going on in the Play on my One-X when it's returned? I'm running CM10 on my Play, was running ViperX on my One-X, if it makes much of a difference.
Thanks everyone

[Q] google music player stops playing/freezes after couple of songs

So I use google music player instead of the native s3 music player from samsung because I have all my music uploaded to the google cloud. I just got the s3 a month ago and continually have this issue. I'm listening to music then all of a sudden it stops, it looks like its still playing but can't hear anything and then when I try and back out of it its frozen.
Any ideas? Anyone else experiencing this issue?
thx in advance
androidcactus said:
So I use google music player instead of the native s3 music player from samsung because I have all my music uploaded to the google cloud. I just got the s3 a month ago and continually have this issue. I'm listening to music then all of a sudden it stops, it looks like its still playing but can't hear anything and then when I try and back out of it its frozen.
Any ideas? Anyone else experiencing this issue?
thx in advance
Click to expand...
Click to collapse
This was something I experienced while on frosty jb rom. Thought I was crazy the only way I fixed it was to force stop the app when it happened. Quite annoying I know
Sent from my galaxy nexus using Tapatalk 2
I think its a problem with touchwiz, so far have not had any issues with toasted .marshmallows. a solution I found is to go to application manager and clear data under Google play. Its not efficient and you have to wait a few minutes for it to sync again.
Sent from my SGH-T999 using xda premium
Are you rooted? I had that same issue on jellybean stock w/ root. Better Battery Stats showed I kept getting a LPAplayer wakelock and when I changed the build.prop following this post (http://forum.xda-developers.com/showpost.php?p=25475691&postcount=4732) it seemed to help. Dunno what the cause is or why that would fix it, but try it out if you have root.
thank you for all the responses.
So I am not rooted, just on the out of the box sg3 system.
I will try some of the suggestions..disappointed that there is the issue. And it does the same thing whether streaming from the cloud or the songs I have pined for offline listening which sits on the cache. :crying:
I'm having the exact same issue. I'm on stock JB, not rooted. It'll play a song or two then just freeze. I have to back completely out and try again and get the same results. Frustrating, because I don't store any music at all on my device.
The_MamaBee said:
I'm having the exact same issue. I'm on stock JB, not rooted. It'll play a song or two then just freeze. I have to back completely out and try again and get the same results. Frustrating, because I don't store any music at all on my device.
Click to expand...
Click to collapse
and like me do you experience same results whether its streaming or playing a pined/cached song?
I wonder if there is someone to report this? I imagine it must be a know issue though?
md1008 said:
I think its a problem with touchwiz, so far have not had any issues with toasted .marshmallows. a solution I found is to go to application manager and clear data under Google play. Its not efficient and you have to wait a few minutes for it to sync again.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Shouldn't be a touchwiz issue, as I have the same problem even though I'm running Nova Prime. I just replaced the google player widget with the samsung one and have been happy ever since. I don't really miss the cloud sync cause my library rarely changes much.
I am having the same issue. I thought it might be the romantic I was running, but now it has happened on two different roms. I wonder if it is a Jellybean issue?
Sent from my Nexus 7 using xda app-developers app
I see this every so often when I am listening to music in the cloud. I never had this issue with my Vibrant. I am betting it is the Google music player needing a fix
Sent from my SGH-T999 using xda premium
Play music has been buggy for the past few releases. Bout the only solution is to roll back to a previous version. Down side is you lose themeing
Sent from my SPH-L710 using Xparent Green Tapatalk 2
I'm still having this issue. I don't have music pinned on my device, it's all in the cloud. Never, ever had this issue on my Vibrant. I actually went to Google's help today and the rep who called said they know it's happening with this phone. He advised me to uninstall the updates and then reinstall from the market. I did that, and it actually feels worse. Now it's "frozen" on one song and won't let me select another. The only buttons I have available are back, pause and forward, but it isn't playing anything.
Interestingly, I just uninstalled updates again, taking my Play Music app back to v4.3.606.400990 and it seems to be working fine. I've even had music interrupted a few times by phone calls and it picks up again and plays with no help from me.
Used to happen to me as well on stock, but since rooted and now running 4.2.1 problem has disappeared
same problem with vzw gs3
I have this same problem with my phone. The following steps detail what reproduces the issue for me.
Play Music starts playing, gets through about two songs, then stops.
When waking the phone Play Music is frozen. The pause, previous and next track buttons, but nothing on the screen responds to touch.
Hold down home button and use the built in task manager to end Play Music, accepting the warning.
Restart Play Music and continue playing. It will play normally after that.
However, from then on the LPAPlayer will keep the phone from sleeping.
If I leave it alone, it will show wakelocks into the 10-15 hour range.
A reboot of the phone will fix the wakelock, until I use Play Music again.
I am on stock rooted JB for VZW (VRBLK3). I don't think it's ROM or even phone specific though.Iit seems to affect a wide spectrum of ROMs and a few different phones on different carriers.
I am currently trying out the recommendation on this post: http://forum.xda-developers.com/showpost.php?p=34586729&postcount=10
I am about six songs in now, will report back if it fails.
Babble0n said:
I have this same problem with my phone. The following steps detail what reproduces the issue for me.
Play Music starts playing, gets through about two songs, then stops.
When waking the phone Play Music is frozen. The pause, previous and next track buttons, but nothing on the screen responds to touch.
Hold down home button and use the built in task manager to end Play Music, accepting the warning.
Restart Play Music and continue playing. It will play normally after that.
However, from then on the LPAPlayer will keep the phone from sleeping.
If I leave it alone, it will show wakelocks into the 10-15 hour range.
A reboot of the phone will fix the wakelock, until I use Play Music again.
I am on stock rooted JB for VZW (VRBLK3). I don't think it's ROM or even phone specific though.Iit seems to affect a wide spectrum of ROMs and a few different phones on different carriers.
I am currently trying out the recommendation on this post: http://forum.xda-developers.com/showpost.php?p=34586729&postcount=10
I am about six songs in now, will report back if it fails.
Click to expand...
Click to collapse
Did this work for you? I see that you have not posted again so I am guessing yes? This started happening to me when I went to JB Rom.
sstenhjem said:
Did this work for you? I see that you have not posted again so I am guessing yes? This started happening to me when I went to JB Rom.
Click to expand...
Click to collapse
I can confirm this works it got rid of freezing and wake locks for me
Sent from my SGH-T999 using Tapatalk 2
Guys Google put an update out that fixes Google music for galaxy s III !!!!!! woohoo!
Sent from my SGH-T999 using xda premium

Issue with stock Music Player using available RAM!

Hey Folks,
I have an issue with the built-in stock Music player constantly taking all of the available RAM, which causes Android to start killing other processes like the launcher (Apex Pro), Tasker, nearby devices service (force closes occasionally), etc. It is very odd. I have tried several attempts to remedy the situation. I have, so far, cleared the Media Storage data, cleared the Cache partition from the boot recovery menu, have music on built-in storage and un-mounting my MicroSD card, to which none of these efforts helped. It seems like the Music Player app has a memory leak, which I am wondering if this was introduced in 4.3. I did not see it listed yet in the 4.3 issue threads, and not really sure if 4.3 is the culprit. I upgraded to the S4 from an S2 recently and a week later the official 4.3 upgrade was available. Thus, I do not know if this issue was happening in 4.2.2.
The interesting thing is that this leak or loop is occurring whether or not I have music on the device. So, to be clear, the issue specifically is when I launch the Music Player and then go to Task Manager to see the used RAM, the RAM will just continue to get used up until it reaches about 1.70GB or so out of 1.78GB available and then Android will start killing other processes to accommodate for more memory. This is when Apex and /or Tasker and other services start getting the ax. What's more, if I kill the Music Player (either right away or later), the memory continues to be consumed until it reaches about 1.5GB - 1.6GB and then finally releases and drops to 700MB - 900MB.
I am on a stock ROM, non-rooted and I have also confirmed this issue with my wife's S4 as well. We can use Google Play Music with no issues, but prefer the stock player if there is a solution to this "memory leak" or other situation that is causing the issue. If anyone has some insights as to what this issue is and a fix, please let me know. Also, if anyone can launch the Music Player and watch the RAM in Task Manager to confirm that this is or is not occurring on other S4s out there as perhaps it is an issue that some may not have noticed. In fact, my wife has been using her device in the car for a couple of weeks and streaming with Bluetooth and not noticed this was occurring. However, if she were to have music and use Maps/Navigation at the same time with this issue, Maps will get killed along with other multitasking tasks. I happened to noticed this behavior when I moved my music on the device and was playing around with the player, when I saw that Tasker restarted itself and then shortly after the nearby devices service forced closed and the music app got real sluggish. I then started observing the RAM usage with the launch of the player and realized why apps were closing. The funny part is that the music plays fine and never dies, it just kills everything else in its wake.
Any insight to this will be greatly appreciated. Also, I have been scouring the forums and Google in general to see if this has been mentioned and have not found this exact situation. However, if I did overlook a thread/post that has this as a known issue, please let me know what that link is. Thanks.
First off, damn. You might want to take a refresher course on how to say what you mean without all the extra words. You wrote a book man. 90% of what you typed is unnecessary. Nobody wants to read all of that and must won't even entertain a response. Just a friendly heads up.
Now, are you sure that the RAM is being taken up by the music app and not a combination of apps/processes? The stock task manager isn't very good for situations like this so you'll need to download a system monitor. There are quite a few out there, take your pick.
Could be that when you open the music player the media scanner is eating up RAM along with other processes. Those together are killing your memory. If that's the case you need to create a .nomedia file to place in the folders on your internal/external memory. Also, do you have any other music or media apps installed?
Figure out those then post back. You might try uninstalling all your apps then reinstall them one by one ( backup first). Yes, it can take a while if you have a lot but once you install the culprit - you'll know it. Hope that helps.
SOLVED!!
Ah, thanks for the heads up! Sorry about the long-winded post, I just wanted to convey the issue and what I have done so far. In future posts, I will be much more concise and to the point.
On a good note, I have solved my issue and found that if you disable/freeze/uninstall apps but still want to use the built-in music player, there is a conflict if you disable S Voice. I was going through the settings in the music player and noticed the voice control feature (which was unchecked), but clearly the player still wants to talk with or "see" S Voice out there. I took a shot in the dark and once I re-enabled S Voice, the gobbling of RAM from the music player launching stopped. Yay!!
Not solved!
Well that victory was short lived. That seemed to have only worked for about 10 minutes and it is back to the same memory gobbling issue when the player is launched. I reactivated Google Play Music and am using that with no issues, so it seems that will have to do.
Well that was all I had. I don't use the stock music player since I stream with Google Music.
You might look in the app store for an app to replace the stock one. Then uninstall the stock app so you don't have the issue anymore.
Sent from my SGH-M919 using xda app-developers app

Categories

Resources