Android Media Player: Start called in state 4 error(-38,0)

view story

http://stackoverflow.com – This is the code am using to fetch a file name(.mp3) dynamically from some other class as am having many mp3 files in my assets folder: playAudioButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { FileName audio=new FileName(); String audioName=audio.getAudioName(count).toString(); if(audioName=="NO Audio") { Toast.makeText(getApplicationContext(), "No Audio for this page", Toast.LENGTH_SHORT).show(); } (HowTos)