Media Player Release not clearing data -
Media Player Release not clearing data -
i seek release media stream info not working.
i got listview songs in few different activities.
case 1: if (zac) { if(playing){ mp.stop(); playing = true; mp = mediaplayer.create(getapplicationcontext(), r.raw.asdasdas); mp.start(); }else{ mp = mediaplayer.create(getapplicationcontext(), r.raw.asdasdas); mp.start(); mp.start(); playing = true; } } break;
i phone call release method :
if(mp!=null){ mp.stop(); mp.release(); mp = null; }
it seems works because removing media object ( have create mp 1 time again play sound) im still getting media player error (-19,0). phone call mp.release problem persist, storage gets total , media sounds aint playing.
media release player
Comments
Post a Comment