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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -