[Q] How to keep an App running in the background? - General Questions and Answers

I'm using cyanogenmod and it's music player ''Apollo'' is never running it the background so whenever I clear the recent apps it closes, this didn't happen with the Samsungs music player, so how do I keep it running in the background so that it doesn't closes when I clear the recent apps, all help is appreciated, thanks.

The reason that Apollo closes is because it doesn't create a service to play music like the Samsung player, it just creates a background process that is killed when swiped away. When an app creates a service, it will stay active in the background even if swiped away. This isn't something you can fix on your own to the best of my knowledge.
Sent from my Nexus 4 using XDA Free mobile app

Related

[Q] Given Priority to Winamp instead of Google Music? (non-rooted)

So when you hit play from a bluetooth device it seems to be pure luck as to which player will start on android.
Is there anyway to alter this behaviour? The phone in question isn't rooted, and won't be. Since this is the case I can only remove the updates to the Music player, but it's still there and will randomly take priority over winamp.
I've always experienced this no matter what media players I'm using. Sometimes it will just start playing on the regular app instead of the app i want
Sent from my Nexus S 4G running CM7/franco.Kernel
Solution
The Solution is: Install old winamp 1.1.1
http://download.nullsoft.com/winamp/android/Winamp-1.1.1.apk
Regards,

Multi Tasking - Music Player and browsing

Hi,
First of all, I read the rules and it says Tricks, Tips and questions.
So I'm posting my question in this forum.
I do not know if this correct or not. If I asked my question at the wrong place, then, please move my thread to the correct place.
Thank You.
I have the Verizon SGS3. I'm coming from the iPhone world and in the iPhone world, If I want to listen to songs, I open the ipod and I select any songs and they will be playing and I can come out of it and start browsing in Safari.
But in SGS3, when I'm trying to do like that it is not allowing me to do that.
I want to listen to music and browse at the same time. Is it possible in SGS3?
If yes, can You please tell me how to do it and which player should I use to play songs?
I have my songs in MP3 format.
Technical Information about my phone.
STOCK ROM
4.1.2
rooted with Super SU#
Thank You.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Any answer please.
I did some googling and found out that this is not possible in Android.
Seriously... Android does not have multi tasking other than the video playback??
Was trying to find any other apps or Custom Roms or there might be a work around if possible.
Thanks.
qzmpal.
Sent from my SCH-I535 using xda premium
Have you tried to press the home button after starting the music? I don't know how it goes with the stock audio app as I use poweramp, but you can multitask the ish out of your phone.. I often use poweramp, tapatalk and chrome, switching between them by holding the home button
I check Twitter, fb, surf the web, play ingress, minecraft, etc while listening to music. My phone is probably playing music 12+ hours a day.
Sent from my SCH-I535 using xda app-developers app
Not sure what you mean. I listen to music on Google play music and Pandora all the time while browsing and messaging.
Cyclonicks said:
Have you tried to press the home button after starting the music? I don't know how it goes with the stock audio app as I use poweramp, but you can multitask the ish out of your phone.. I often use poweramp, tapatalk and chrome, switching between them by holding the home button
Click to expand...
Click to collapse
This sounds like the problem to me. Use the back button to back out of (and kill) the app. Use home to leave it active and in the phones memory.
I regularly listen to music (Pandora, stock player, play music) and flip between kindle, browser, xda, facebook, messaging and other apps and there has never been an issue.
I 'stress test' my phone and have ended up playing music while playing a game (cut the rope) then switching out loading a webpage while checking gmail without any issues....I'm thinking you're accidentally killing the music app as opposed to letting it run in the background. Music app I use is playerpro and I'm running cleanrom 6.2 on my galaxy s3.
Relentless D said:
This sounds like the problem to me. Use the back button to back out of (and kill) the app. Use home to leave it active and in the phones memory.
I regularly listen to music (Pandora, stock player, play music) and flip between kindle, browser, xda, facebook, messaging and other apps and there has never been an issue.
Click to expand...
Click to collapse
Do yall think the OP is referring to the browser? Cuz I can't see how their phone isn't multitasking music properly.
Sent from my SCH-I535 using xda app-developers app
may be a real dumb question, but in the stock music player, you're not hitting the Menu then the "end" option to get out of the app right?
Like I said, may be really dumb suggestion , but its all I could think of. You should have no issues listening to music and doing what ever else you want on the phone.

Google Play Music: All Music Vs. On Device

I have a question for anyone using Google Play music. Has anyone else noticed that when playing music using All Music uses much more battery than just On Device even if ALL of your music is on your device. I've noticed that in my data usage screen Google Play Music stays as the highest consumer of data which makes no sense as all my music is locally stored. Chrome or Play Store should be the highest user of data. I am only playing music that is store on my SD card and have noticed a time or two that when fast forwarding in a song it'll buffer as if it's streaming. I've also went to play a song a couple times and noticed it buffering as well. Anyone else seen this????
has your music been uploaded as well as saved to the device? if so it may not have recognized that.
thats the only theory I have as I had an album on my device that got uploaded but it kept them separate. The only way I could tell is if i went to save to device and it was blacked out.
Yeah the music is both saved to the phone via usb transfer and has been uploaded onto the Google servers. But yeah it seems like it is keeping them separated for some reason ei. if the song is both on the phone and on the server when All Music is chosen it prefers to play from the server instead of the phone storage.
Maybe try just downloading the music to your device and get rid of the stuff you manually saved. Not sure how many files we are talking here. And naturally, you would want to do this via wifi
Sent from my Nexus 5 using Tapatalk
I've thought about that but we're talking about 20GB+ of music. lol Which really wouldn't be a big deal except that after any clean flash of a ROM I'd have to redownload everything again.
Then there's no point on having your music on the cloud
Sent from my Nexus 5 using xda app-developers app
That's how Google wants it though. It seems the only way to get album art working on the My Library widget is to upload your local music to google's servers but it seems in this case it is then streaming those files instead of using the local ones.
Sent from my Nexus 5 using Tapatalk
bblzd said:
That's how Google wants it though. It seems the only way to get album art working on the My Library widget is to upload your local music to google's servers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
^^^^Exactly, this is why I uploaded to the cloud^^^^ Even if I used id editors or album art editors after every rom flash I'd have to go back and reinput album art that was missing. At least this way the art stays. I do think I've found the culprit though. I had been using Bank's core gapps on SlimKat which requires you yo download most Google apps through the Play Store as this gapps package contains minimal apps. After using SlimKat's gapps again which has Google Play music as a system app and not a user app, it seems to have gone away. It really shouldn't matter how the app is installed but it seems to have helped.
AndrasLOHF said:
^^^^Exactly, this is why I uploaded to the cloud^^^^ Even if I used id editors or album art editors after every rom flash I'd have to go back and reinput album art that was missing. At least this way the art stays. I do think I've found the culprit though. I had been using Bank's core gapps on SlimKat which requires you yo download most Google apps through the Play Store as this gapps package contains minimal apps. After using SlimKat's gapps again which has Google Play music as a system app and not a user app, it seems to have gone away. It really shouldn't matter how the app is installed but it seems to have helped.
Click to expand...
Click to collapse
I've searched the issue after running into it myself and there are unresolved forum posts all over about it. Even using Album grabbers to replace already existing art hasn't got the widget to show anything but blank squares for some including myself. Of course while listening to the music the album art works normally and replaces the lock screen.
Editing the ID tags might do the trick you say?

[Q] fixing file associations

I really like the music player I got from F-Droid called Vanilla Music player. Then interface just makes sense to me. But it seems not to be recognized as a player by my Verizon GS3 ICS phone's OS. When I tell Dragon Mobile Assistant to play a song, I get a pop-up asking which player to use, with an option to set the choice as default. The original players from Samsung and Verizon are there, as well as a podcatcher I installed, but not the music player I like to use. Originally, I thought it might be because I side-loaded it through F-Droid, but I found the same one in the Play store and installed it, and the problem persists. Is there a way to force Android to recognize the player as a possible option for playing music so that I can select it as default? Or even a way to set it as default in the first place? I can use the settings in Application Manager in settings to remove apps from the list of possible default apps in the popup dialog to select the default, but I'm not sure how to add an app.
Thanks in advance!
Maybe clear cache for dragon? It might have cached what players were installed when you first ran it. Other than that I'm not sure. Reinstall dragon or there's something about the vanilla player that isn't coded properly in one of the 2 apps I'd think.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Bump, I have the same problem?

[Q] Podcasts and streaming audio cutting out

I am using a stock rooted US Moto G, and I have had podcasts (through both Pocket Casts and DoubleTwist) and MLB At Bat audio streaming stopping randomly.
Has anybody else had this issue? Any solutions?
rpogorek said:
I am using a stock rooted US Moto G, and I have had podcasts (through both Pocket Casts and DoubleTwist) and MLB At Bat audio streaming stopping randomly.
Has anybody else had this issue? Any solutions?
Click to expand...
Click to collapse
I have the exact same problem. Podcasts stop playing suddenly.
This usually happens when using chrome, particularly when scrolling.
A few observations:
- The app doesn't crash - launching it again and pressing play starts the podcast at the exact same spot meaning the app safely shutdown.
- Closing all apps and tabs to free up memory usually helps but is no guarantee it won't stop again within a few minutes.
- Happens with several podcast apps I tried - all of which use about 60mb of RAM when playing
- Happens with downloaded and streamed podcasts. But stopping is more likely with streaming versions (I guess the stream is buffered to RAM meaning it's more likely to be killed)
- Every time the podcast stops I have been using a web browser (I've tried Chrome, Chrome beta, Firefox, Opera and UC browser)
My theory is that android is killing the process to free up some RAM but I'm not sure what can be done to prevent this.
A few things I have looked into are 'nice' and 'minfree'. I tried increasing the priority of my podcast app with nice but that didn't seem to help at all.
Changing the minfree settings did seem to have some affect, but it was still getting killed off eventually.
I don't know much about android to look into it any further ( this is my first android device), perhaps someone with more experience can advise.
I guess this is just one of the limitations of the MotoG and 1gb of RAM
same here had it with the beyondpod ,sound cloud apps
Sent from my XT1032 using xda app-developers app
I think I figured out a solution to this problem, you need to be rooted though.
Install the 'app settings' xposed module, select your music/podcast app then enable the 'resident' option.
This makes sure the app remains in memory and stops android from killing the process.
Seems to be working for me for the past day now

Categories

Resources