Set priority of running tasks/apps - Hero, G2 Touch Android Development

How can i set a higher processing priority to an application/task of my choice?
My Problem:
When i play music with the standard musicplayer of HTC while in "standby" i got a lot of lags/ShortPauses after a new title was started.
This is very annoying while hearing music.
PLEASE HELP!

Related

[Q] Do you have problems with Google Music/other Music apps?

There are several threads now detailing a problem with playing music, mainly reported when using the Google Music app. To be more specific here are some examples:
When playing music and then multitasking, the phone crashes and requires a battery pull and reboot.
Another is when playing music and then turning the screen off, the music is jerky and stutters.
People have reported this happening with apps other than Google Music, so it would appear that this isn't a problem with the Music app, but either the phone or ICS.
I wanted to start a poll to gauge how many people have this problem and establish whether it's everyone or not.
Here are some links to what I'm referring to:
http://forum.xda-developers.com/showthread.php?t=1381413
http://forum.xda-developers.com/showthread.php?t=1380773
http://forum.xda-developers.com/showthread.php?t=1379600
http://code.google.com/p/android/issues/detail?id=22669
Your poll is a bit flawed. My experience so far is that these crashes are a bit more random than being attributed to any specific apps right now. I've experienced the crash, but long story short, I am not convinced it was related to the exact app that I was using at the time.
Well just because you have experienced an unrelated crash it doesn't mean my poll is flawed, just that you have a separate issue
People have spoken of this happening repeatedly when trying to use Music and multitask so I think it is definitely an issue of it's own. Usually it is said that the sound/screen goes corrupt and then requires a battery pull. Are you not referring to a random reboot or something?
i have a couple of problems with PowerAmp, no problems with google music though.
1. PowerAmp can't see playlists that were created in google music
2. PowerAmp stutters when the screen goes to sleep. (does the clock speed lower when the screen goes off?)
i've read that increasing the buffer size in poweramp options fixes no. 2. I havent tried it due to no.1.
i'm just using google music at the moment.
WinAmp i found would often have slight cracks in the music (i.e. stop and start again quickly, almost like it was being disturbed/cpu high).
doubletwist is fine though, as is Music player
This is such a huge problem I can't believe more people haven't responded :S
I've had Google Music, Rhapsody, and Pandora all crash at one time or another.
str355 said:
i have a couple of problems with PowerAmp, no problems with google music though.
1. PowerAmp can't see playlists that were created in google music
2. PowerAmp stutters when the screen goes to sleep. (does the clock speed lower when the screen goes off?)
i've read that increasing the buffer size in poweramp options fixes no. 2. I havent tried it due to no.1.
i'm just using google music at the moment.
Click to expand...
Click to collapse
increasing the buffer size in power amp fixes no.2
Sent from Mobile..
problem number 2 here for me. songs with high bit rates tends to trigger the stutter problem after the phone goes to sleep. tried on google music and playerpro
Google Music 4.0.1 (ICS stock) often crashes within a minute after I reboot the phone - without me actually using it.
Obviously it's trying to do something in the background on start-up and fails. Miserably.
Did not crash while I was using it so far, but I didn't run it for any lengths of time either. No problems with other apps crashing, just Music.
rayvioli said:
problem number 2 here for me. songs with high bit rates tends to trigger the stutter problem after the phone goes to sleep. tried on google music and playerpro
Click to expand...
Click to collapse
Yes I notice it too, it's very annoying especially since I payed so much for this phone and a good set of headphones just for my high bit-rate music to constantly stutter; hopefully google fixes this. I seem to only notice this on the stock music player, but I prefer to use it over others due to its integration with the lockscreen and notification pulldown bar, especially considering the nice visuals it now has.
my 2 cents:
i can recreate the crash consistently by doing the following:
1. reboot the phone and connect a pair of headphones
2. stream a song (i.e., a song that's not already saved to the phone) using google music
3. use the home button to leave the google music app and return to the homescreen
4. while the song is playing, try to increase or decrease the volume of the music with the volume buttons and then almost immediately the phone reboots automatically.
i haven't been able to recreate the issue once with the headphones disconnected. also, the issue doesn't seem to occur if you connect the headphones after you start playing the music. i need to test that theory some more though.
I noticed this right away when I got my phone (launch day)
Since I constantly stream music from google music, I noticed pops and weird noises all the time. Very weird and SUPER annoying
The stock music app is not able to find my music at all. I use PowerAMP now and that works fine.
Music also crashes when not actively in use at all. When I open a lot of apps, i.e. multi-task a lot, Music often just force closes after a while.
I'm using PowerAmp now to listen to music stored in either .flac or the highest quality .mp3 files lame could produce. Some are 320kbps cbr others are vbr. In PowerAmp I set the process to the highest priority possible but left the buffer on auto.
I have never had any reboots or studering when locking the screen and I've been listening to music for over 3 hours now while doing some home work. Just to test it I put on one of my flac files and quickly locked and unlocked the screen. The phone took it like and champ with no studers at all.
No problems with music apps crashing, or needing to pull the battery. The only issue I have is with music or podcasts played through the native music player or Google Listen stopping at random intervals. Happens using wired speaker/headphones or bluetooth audio.
Frustrating, but not a dealbreaker yet.
I called Verizon for no other reason other than trying to create a record of the issue... They claimed to have not heard of this... Is there any way to let Samsung know directly? I know there is a google code ticket open, but Google hasn't "owned" the issue yet... I'd also say if you have the issue to let VZW know so they can get things in motion on their side as well.
kptkill said:
I called Verizon for no other reason other than trying to create a record of the issue... They claimed to have not heard of this... Is there any way to let Samsung know directly? I know there is a google code ticket open, but Google hasn't "owned" the issue yet... I'd also say if you have the issue to let VZW know so they can get things in motion on their side as well.
Click to expand...
Click to collapse
It seems they don't give a ****, unfortunately. Just have to live with it..
WinAMP - today while playing an album with the screen off paused (twice). I had to turn on the display, and hit the play button to continue. There was a bit of a lag (I got the FC screen, but when i hit wait the app returned a few seconds later)

[Q] Beside stock music player which one should I choose?

Hi folks,
I'm interested at using a different music player since the stock music player doesn't give me much in terms of features.
I've had PowerAMP (Paid) problem with is that every time I get an SMS message the music cuts out to play the sounds in my headphone and then the music blares out on the out speaker and then once the inbound sms sound is done it's plays back into the headphones.
I've had DoubleTwist similar type of problem but not as bad and unless you paid attention you wouldn't notice. BUT it's a huge memory HOG while running and playing music is eats about 55mb in the memory and I can't send the APP to SD.
What other alternatives do I have? I was considering PlayerPro but I really am trying not to have to pay for an APP.
I was looking at Winamp which I love but I would need their PRO version which again is a bummer cause I really am trying not to buy it.
Any suggestion?
Cheers.
fluxgfx said:
Hi folks,
I'm interested at using a different music player since the stock music player doesn't give me much in terms of features.
I've had PowerAMP (Paid) problem with is that every time I get an SMS message the music cuts out to play the sounds in my headphone and then the music blares out on the out speaker and then once the inbound sms sound is done it's plays back into the headphones.
I've had DoubleTwist similar type of problem but not as bad and unless you paid attention you wouldn't notice. BUT it's a huge memory HOG while running and playing music is eats about 55mb in the memory and I can't send the APP to SD.
What other alternatives do I have? I was considering PlayerPro but I really am trying not to have to pay for an APP.
I was looking at Winamp which I love but I would need their PRO version which again is a bummer cause I really am trying not to buy it.
Any suggestion?
Cheers.
Click to expand...
Click to collapse
Try this app.Its awesome!
https://play.google.com/store/apps/details?id=org.abrantix.rockon.rockonnggl&hl=en
Nice. Well after running for a while I was happy to see that cpu usage and memory usage weren't crazy. Nice app.
Does it "crossfade" ??
MarcosEdu said:
Does it "crossfade" ??
Click to expand...
Click to collapse
I guess it does
TTPod. Unfortunately the latest version is Chinese only, but someone has made an unofficial translation. http://forum.xda-developers.com/showthread.php?t=1551201
On a sidenote: does anyone know a musicplayer that supports lockscreen controls on ICS, besides the stock player? I tried Cloudskipper, ZPlayer, ÜberMusic, WinAmp, Poweramp, the MIUI player and TTPod, but none supports it afaik.
I like MIUI's music player. I think it's available to non-MIUI users. Just google it.
fluxgfx said:
I've had PowerAMP (Paid) problem with is that every time I get an SMS message the music cuts out to play the sounds in my headphone and then the music blares out on the out speaker and then once the inbound sms sound is done it's plays back into the headphones.
Click to expand...
Click to collapse
Have you gone through all the settings in PowerAMP? There are several pages of settings for how notifications work while music is playing, how headphones work with music/notifications/plugin/etc, and more. Pretty sure that you can configure things the way you want if you spend some time in the settings pages.
PowerAMP 2.x is working great on my Xperia Pro (MK16a), with just the slightest dimming of the music to play are very dim notification alert, and then going back to normal volume, without interrupting the music nor changing which speakers the music comes out of.
Pheonix,
I've been through all the options in PowerAMP each time a notification will come on while music is playing (depending on the settings) it's on. Music will either fade or cut out. The notification will play but the MUSIC will resume on the external speaker for about 3seconds before switching back to Internal.
It's been doing that ever since I got it and with every music playing I've tried. I'm running on stock .62 rooted and there's no customization that's been done.
Now I've actually loaded the MIUI Music player back on my phone and actually that solved my problem. So this leads me in the direction that some of the music player interfere to an extent with the notification/speaker process.
Cheers.
Actually, I just noticed this issue last night while listening to music and getting texts from the wife. This didn't happen before.
I'm fairly certain that it's a new bug, as the 1.x versions never had this problem, and the early 2.0.x versions didn't either.
I'll go through my backups and see if I can find a version that doesn't have this issue.
Have you reported this to the PowerAMP devs?
Have you tired UBERMUSIC..?????
Its awsome....!!!!!

[Q] HTC Music player - Lower volume on sound focus change

Hi ppl,
I'm setting up car mode to my needs.
Actually I find HTC Music app very fitting for car usage, much more than PowerAmp: bigger album icons, horizontal scrolling (so simple, so effective).
Only issue I have is:
when a notification / navigation instruction plays, HTC Music volume drops to zero (or pauses playback ? hard to say while driving).
I'd like it to just lower volume, just like PowerAmp does.
Have you found a way to do so ?
HTC Music app looks like having very few options...
Many thanks
I have the same issue, music is muted during notifications and GPS commands. Sadly I do not think it is a HTC thing as my Motorola Defy did the same. Very annoying.

Problems with Equalizer

Hi,
most of the time, I'm using my phone for listening to music, and since I own Galaxy S4 Mini (GT-I9195), I'm thinking about throwing my 320€ worth smartphone in trash. Mostly I'm listening to rock music where basses are very important. When I was using stock firmware, everytime I increased the bass level, the music volume diminished. It came so far, that when I was traveling from work to home by bus, I could hear what people around me were talking to, even though my volume level was on 100%. Then I somehow increased the volume of my phone (I found a thread how to do that here on xda), but then the next problem became annoying. Almost every time I skipped the song, the equalizer settings went back to default. So every time i had to press menu button --> settings --> equalizer, and then basses went back to normal. Sometimes equalizer doesn't work at all, until I reboot my phone.
So I tried with Cyanogenmod today, and I'm even more disappointed with music quality. Every time I try to turn on bass boost, the music starts to crackle, even though bass level is only on slight. I'm using 120€ worth Sony headphones, which work great on any other device, so the problem definitely isn't in headphones.
Does anyone deal with the same problem? I just don't know what to do anymore ...
Thanks in advance & sorry for bad English.
m_010411 said:
Hi,
most of the time, I'm using my phone for listening to music, and since I own Galaxy S4 Mini (GT-I9195), I'm thinking about throwing my 320€ worth smartphone in trash. Mostly I'm listening to rock music where basses are very important. When I was using stock firmware, everytime I increased the bass level, the music volume diminished. It came so far, that when I was traveling from work to home by bus, I could hear what people around me were talking to, even though my volume level was on 100%. Then I somehow increased the volume of my phone (I found a thread how to do that here on xda), but then the next problem became annoying. Almost every time I skipped the song, the equalizer settings went back to default. So every time i had to press menu button --> settings --> equalizer, and then basses went back to normal. Sometimes equalizer doesn't work at all, until I reboot my phone.
So I tried with Cyanogenmod today, and I'm even more disappointed with music quality. Every time I try to turn on bass boost, the music starts to crackle, even though bass level is only on slight. I'm using 120€ worth Sony headphones, which work great on any other device, so the problem definitely isn't in headphones.
Does anyone deal with the same problem? I just don't know what to do anymore ...
Thanks in advance & sorry for bad English.
Click to expand...
Click to collapse
Hello there.
First off, if you are going to throw S4 mini into trash, you can instead send it to me and I'll pay for the delivery, as I simply love the phone.
Secondly, I think the problem is you and not the phone. I have S4 mini and I love listening to music. As anyone who loves music (proffesionaly or unproffesionaly) knows, basses ARE NOT THE ONLY (and most) important thing, even in rock music. And as far as basses goes S4 mini does a very good job, as it does in other spectrums of music playback. The volume decreases a bit if you set it to bass, because the equalizer decreases the treble value, thus you get the perception of decreased laudnes. Although I would recommend you get your hearing checked, as the laudness of S4 mini seems to be laud enough for others.
If you really like to listen to high quality music and are a true audiophile, than you wouln't be listening to the music on S4 mini on the first place, but would go for a high quality professional grade mp3 (or FLAC) player with an external amplifier.
Therefore I conclude that you are just a bass freak who wants to complain, but please feel free to prove me wrong.
My opinion and advice may not matter since I don't own a s4 mini (would love to have it)
But did you tried sound alive from Samsung?
Just increase the bass and some clarity then reverb and room size (if you like) then the bass is on a good level, wanting more bass than that would only get in the way of the guitars part!!
Or try viper4android if you're on a desperate situation...
Can I ask something here?? Is the smart volume feature any good??
@Shiningb
Firstly, thanks for your answer. I realized that everything works perfectly with stock Samsung Music app (which doesn't use build-in equalizer, but uses it's own one). The quality of sound is really great.
Only problem is that I prefer Google Play Music which is much clearer, easyer to navigate and overall has nicer interface. But there I deal with equalizer problem; the sound is great at the moment, the equalizer is set the way I want, basses are great, but then suddenly (without particual reason) equalizer just goes flat and the volume increases for about 30% rapidly which is a great way to go deaf. Then I have to restart equalizer app, and it starts working normally again for about next 10 minutes. Until I won't find the solution, I have to use stock music app, ok, i can get along with this
I googled about the issue and I found that it is quite common with S4 users. I heard about ViPER4Android today, and I'm going to try it right now, thaniks for your advice !
And sorry, I don't know if smart volume feature works good, I use mp3gain app on my PC which equalizes volumes of all tracks on the same level and works perfectly.
m_010411 said:
@Shiningb
Firstly, thanks for your answer. I realized that everything works perfectly with stock Samsung Music app (which doesn't use build-in equalizer, but uses it's own one). The quality of sound is really great.
Only problem is that I prefer Google Play Music which is much clearer, easyer to navigate and overall has nicer interface. But there I deal with equalizer problem; the sound is great at the moment, the equalizer is set the way I want, basses are great, but then suddenly (without particual reason) equalizer just goes flat and the volume increases for about 30% rapidly which is a great way to go deaf. Then I have to restart equalizer app, and it starts working normally again for about next 10 minutes. Until I won't find the solution, I have to use stock music app, ok, i can get along with this
I googled about the issue and I found that it is quite common with S4 users. I heard about ViPER4Android today, and I'm going to try it right now, thaniks for your advice !
And sorry, I don't know if smart volume feature works good, I use mp3gain app on my PC which equalizes volumes of all tracks on the same level and works perfectly.
Click to expand...
Click to collapse
This happens with equalizer because the system kills it from the ram
So a great solution is to use viper...
But you need root and put the apk of viper into system/app set permissions to rw-r-r
Like this it won't be killed, because it will make part of the system app
By the way what kind of music do you hear??
I'm a sound freak with viper, I tunr things like crazy until I reach the perfect sound (for a time!)
I really wanted to know how the smart volume works since the I9070 won't have a official 4.2.2 update :'(
Thanks for fast answer.
I installed ViPER4Android, but everything I try to change, doesn't have any effect on sound. I don't know what is wrong ...
Could you help me with Viper? I know how to put a file in system/app and set permissions.
My phone is rooted I'm using CWM and stock android from Samsung.
My favorite artists are 30 Seconds to Mars, Billy Idol, Bring me the Horizon, Foo Fighters, HIM, Kings of Leon, Oasis, RHCP, etc.
Sry, probably really won't. I owned I9000 before I9195 and it was the best phone i ever had, even better with Cyanogenmod

[Q] Question about sound priority settings for apps

Long story short I appear to have 1 app that interferes with others, its a minor issue. I believe its a sound priority setting and was hoping someone might have a suggestion. I have a htc one M8 and the problem app is plants vs zombies 2. I have looked everywhere and no one else seems to run into this, but no matter what music app I use (default android music, google play music, pandora). I start up plants vs zombies 2 and even with the sound on that app off it will override the music players. As I said not a major issue but something I just have not been able to find an answer to. Any suggestions would be greatly appreciated.

Categories

Resources