title: android playing music from the sdcard
body: <p>I need to play some music from a posisition on the sdcard how can I do that? I know I need to use the <code>MediaPlayer</code> class but if im traying to due like this </p>
  
  <pre><code>             try {
  
          mpSong.setDataSource(musicposisition);
  
          mpSong.prepare();
  
          mpSong.start();
  
      } catch (IllegalArgumentException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      } catch (IllegalStateException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  </code></pre>
  
  <p>then my app creash the varibale called <code>musicposisition = /sdcard/musictelefon/03 Mare.mp3</code> when im logging it pleas help!!</p>
  
  <p>Can some ond tell me how I can warp code in also???</p>
  
  <p>don't realy know if this helps some one but here is my logcat output 
  <a href="https://docs.google.com/document/d/14k1lqxmdCKxsmwfDUD6za5s7W48lAHOjDfbUHzfgh-s/edit?hl=en_US" rel="nofollow">https://docs.google.com/document/d/14k1lqxmdCKxsmwfDUD6za5s7W48lAHOjDfbUHzfgh-s/edit?hl=en_US</a></p>