|
Post by WitLily on Oct 9, 2011 8:35:25 GMT -5
After update to version 0.28.5, why gmpp service always running ? and sometime widget not sync with player.
Thanks, for this awesome music player (^o^)b
Best regards, Witlily
|
|
|
Post by GoneMAD on Oct 9, 2011 23:09:10 GMT -5
the service is still running after you click menu -> exit? If there is a widget on your desktop the WidgetUpdateService will always run. If you just back out of the app the MusicService will typically stay active. If you want the service to shutdown you have to use the Exit option.
How is the widget out of sync? Sometimes after an update you have to clear the widgets and readd the widgets for them to work properly
|
|
|
Post by WitLily on Oct 10, 2011 0:18:11 GMT -5
thanks, i try.
|
|
hdk
New Member
Posts: 14
|
Post by hdk on Nov 20, 2011 17:15:18 GMT -5
A service is not supposed to run all the time. And an exit button is not how Apps usually work on android. This service is really wasting a lot of energy! developer.android.com/guide/topics/fundamentals/services.html" Caution: It's important that your application stops its services when it's done working, to avoid wasting system resources and consuming battery power. [...]"
|
|
|
Post by GoneMAD on Nov 20, 2011 19:55:19 GMT -5
A service is not supposed to run all the time. And an exit button is not how Apps usually work on android. This service is really wasting a lot of energy! developer.android.com/guide/topics/fundamentals/services.html" Caution: It's important that your application stops its services when it's done working, to avoid wasting system resources and consuming battery power. [...]" the service shuts down when its not in use/needed... the exit button is just there to force the condition.. if you are paused.. the service stays running since it can be resumed at any point.. exit is a glorified "stop" button for playback. Remove all widgets.. let a playlist finish to the end (with On Playlist Complete option set to stop).. back out of the app... and you will see the service go away also the service in its idle state does not use any power.. mine was running for 42 hours and did not even show up in the power usage section
|
|
hdk
New Member
Posts: 14
|
Post by hdk on Nov 21, 2011 3:22:05 GMT -5
let a playlist finish to the end (with On Playlist Complete option set to stop).. back out of the app... and you will see the service go away I don’t think that’s the way people listen to music with a phone! I guess most use the phone to hear music on the go. So they stop it when they reach their destination, their bus arrives, a lecture starts or whatever… They just stop the music in the middle of a playlist or song – with the only button there is: the play/pause-button. And then nobody cares about closing the App! also the service in its idle state does not use any power.. mine was running for 42 hours and did not even show up in the power usage section Even if the service isn’t using many resources, at least think about terminating it after a few minutes with no music playing. Currently the Service is running and using 5.5 MB of RAM. If more apps do this it does add up! [edit] RAM usage might be even higher. (Still low compared to other music players though! I just checked: Winamp will shut down completely after about 1 minute of pause. (And it has a widget that still works without any service running.) MixZing will also shut down everything after 1 minute of no music playing. (And it still resumes almost instantly at the right position of the song. And has a widget too.) [/edit]
|
|
|
Post by GoneMAD on Nov 21, 2011 10:59:33 GMT -5
ugh i had a whole response written up then it failed to submit
winamp's service only goes away if you back out of the app.. if you hit the home button with music paused it will still stay active
i had not thought about memory usage.. so yea i can look into auto killing the service after a few minutes.. however when paused the service as iti s right now is flagged as killable to the OS.. now whether the OS actually does stop the service if it needs the memory is something I have not checked
|
|