Mediaplayer working occasionally
<p>I have a audioActivity shown below</p>

<pre><code>import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;
import android.widget.MediaController;
import android.widget.TextView;
import android.widget.VideoView;

public class AudioActivity extends Activity {
TextView audioTitleValue;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    /** REMOVE TITLE **/
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.moveplay);

    final VideoView audioView = (VideoView) findViewById(R.id.VideoView);
    final MediaController mediaController = new MediaController(this);
    mediaController.setAnchorView(audioView);

    Bundle extras = getIntent().getExtras();
    String pathfile = extras.getString("key");
    Log.v("key = ",pathfile);



    Uri audio = Uri.parse(pathfile);
    audioView.setMediaController(mediaController);
    audioView.setVideoURI(audio);
    audioView.start();

    }
}
</code></pre>

<p>Here is the part I can not figure out
utilizing the same exact code by pressing the same button I get three condition that occur</p>

<p>Number 1: The track plays as expected
Number 2: The Activity starts but nothing is heard I can't tell if the media file is actually processing
Number 3: The activity fails with an error message Cannot play video Sorry this video can not be played</p>

<p>The log file gives three different responses</p>

<pre><code>Number 1: File plays normally
D/SprintMM(1318): Proxy will be bypassed because of WIFI connection.
W/MediaPlayer(1318): info/warning (750, 0)
I/MediaPlayer(1318): Info (750,0)
W/MediaPlayer(1318): info/warning (1, 44)
I/MediaPlayer(1318): Info (1,44)
D/MediaPlayer(1318): getMetadata
D/MediaPlayer(1318): ******* START *******

Number 2 Starts then nothing ---not sure what is going on here
I/MediaPlayer(1318): Info (1,32)
W/MediaPlayer(1318): info/warning (1, 26)
I/MediaPlayer(1318): Info (1,26)
E/MediaPlayer(1318): error (351, -4)

Number 3 Starts and gives message
D/MediaPlayer(1318): Couldn't open file on client side, trying server side
D/SprintMM(1318): Proxy will be bypassed because of WIFI connection.
W/MediaPlayer(1318): info/warning (750, 0)
I/MediaPlayer(1318): Info (750,0)
W/MediaPlayer(1318): info/warning (1, 32)
I/MediaPlayer(1318): Info (1,32)
W/MediaPlayer(1318): info/warning (1, 26)
I/MediaPlayer(1318): Info (1,26)
E/MediaPlayer(1318): error (351, -4)
E/MediaPlayer(1318): Error (351,-4)
D/VideoView(1318): Error: 351,-4
</code></pre>

<p>The data going in is the same A URL is passed into the activity
This activity has worked in the past in other Apps but those Apps were in a lower SDK 1.5 this is built in SDK 2.1.</p>

<p>Is my coding incorrect for an audio file if so else can I try.</p>
