title: Can MediaPlayer even stream MP3?
body: <p>Either my webserver at codejanitor is not designed for streaming? or maybe I'm doing something wrong?</p>
  
  <p>I've tried the following two approaches:</p>
  
  <pre><code>try {
              mp = MediaPlayer.create(
                      AmazonClipActivity.this, 
                      Uri.parse("http://codejanitor.us/good.mp3"));
              mp.setOnPreparedListener(new OnPreparedListener() {
                  @Override
                  public void onPrepared(MediaPlayer mp) {
                      mp.start();
  
                  }
              });
          } finally {
              if(mp!=null) {
                  mp.release();
                  mp =null;
              }
          } 
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>try {
              mp = MediaPlayer.create(
                      AmazonClipActivity.this, 
                      Uri.parse("http://codejanitor.us/good.mp3"));
              mp.start();
          } finally {
              if(mp!=null) {
                  mp.release();
                  mp =null;
              }
          } 
  </code></pre>
  
  <p>AND both produce:</p>
  
  <pre><code>05-19 12:27:48.104: DEBUG/MediaPlayer(1730): Couldn't open file on client side, trying server side
  05-19 12:27:48.104: INFO/StagefrightPlayer(68): setDataSource('http://codejanitor.us/good.mp3')
  05-19 12:27:48.104: INFO/NuHTTPDataSource(68): connect to codejanitor.us:80/good.mp3 @0
  05-19 12:27:53.653: INFO/NuCachedSource2(68): ERROR_END_OF_STREAM
  </code></pre>