I am new to Java and more than new to Android. After reading and trying some lessons, I was thinking of making an application for mp3 players, but I was already stuck. I assume that my runtime error is in the following method and, more specifically, in the if condition.
public void pausePlay(){ if(player.isPlaying()){ demoPause(); } else { demoPlay(); } }
Maybe I can solve my problem, but my debugger is not working. Or I do not know how to use the debugger. The following links are the print screen of my debugging, DDMS and LogCat . Also on github I posted my repository.
In eclipse, try the following steps to debug your code:
1. , , , ( , , , F6)
2. ddms- > device- > , , .
3. , , , eclipse, "", . eclipse.