problem with mediaplayer.i pause the mediaplayer in one activity and go another activity and i have to play more vid开发者_JAVA技巧eos so i have taken 2 mediaplayers.here the first video is played but the second video is not giving "outofmemory".vdec open failed.can any one solve this one.
Why don't you save your video position of the media player in activity #1 and release it in the first place? It definitely is a good idea to call MediaPlayer.release()
to free the resources. And in your scenario I think it is even more important.
精彩评论