title: how to pass the file path in android
body: <p>Hi all
  i have java project for calculating bpm now trying convert in to android project.While i get the following error.
  i have mh.mp3 file in res\raw folder. i need to pass the file name with path.
  i need specify file path in  " player = new Player(new FileInputStream("res\raw\mh.mp3"), output);"
  i tried the following also but did not work</p>
  
  <p>player = new Player(new FileInputStream("R.raw.mh"), output);"</p>
  
  <p>it shows error at the following line as IndexOutOfBound Exception at</p>
  
  <p>text.setText("bpm is  "+processor.getBPM());</p>
  
  <p>but in java it works well when send file name as command line argument.</p>