tags:

views:

7

answers:

1

Hi.problem with mediaplayer.i pause the mediaplayer in one activity and go another activity and i have to play more videos 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.

A: 

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.

mreichelt