开发者

max cache size is reached while playing media player

I am using media player to play list of songs.But after playing for several times now my logcat says that prepare() cannot be done because of max size of cache has been reached.Even when I stopped the application and run again but it showing same error.

My question is how I can handle the error ,开发者_如何学Gothat is how i can free the cache memory after playing a single songs or while closing my application.

Second qestion is mediaplayer continue to stream even i stop my application .How it can be stoped.

Thank you chandan kumar


i uninstall the application and then I reinstall it .Now it is working fine.Earliear it was not woking because of overrun of loop and memory got fulled and that is why it was not able to prepare but now now after uninstalling and reinstalling ai working fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜