Why does the music not play in the app?

view full story

http://stackoverflow.com – I am running into this problem, where the music just is not playing. The app works as it should, but i just dont hear any of the music. I am testing with a real phone. But i also tried with the emulator, it doesnt work there either. Does anyone know what may be wrong? Here is the code that I used. public void start1(final View view) { setContentView(R.layout.timer); if(path1.equals("default")) { path1="R.raw.iwilltouchthesky"; } mp.reset(); try { mp.setDataSource(path1); } catch (IllegalArgumentException e) { // TODO Auto-genera (HowTos)