Back to project page MusicPlayer.
The source code is released under:
MIT License
If you think the Android project MusicPlayer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dsvoronin.musicplayer; // w ww . java 2 s . c o m /** * Created by dsvoronin on 25/02/14. */ class PlayingState extends PlayerState { protected PlayingState(MusicPlayerService service) { super(service); } @Override void onActivated() { } @Override void onDeactivated() { } /** * play in paused state > next song */ @Override void play(int id) { service.play(id); } @Override void pause() { service.pause(); } }