Back to project page speedofsound.
The source code is released under:
GNU General Public License
If you think the Android project speedofsound 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 net.codechunk.speedofsound.players; //from w ww.j a va 2 s . c o m import android.content.Context; import android.content.Intent; public class HTCPlayer extends AndroidMusicPlayer { @Override public PlaybackAction getPlaybackAction(Context context, Intent intent) { String action = intent.getAction(); if (action.equals("com.htc.music.playbackcomplete")) return PlaybackAction.STOPPED; if (action.equals("com.htc.music.metachanged")) return PlaybackAction.CHANGED; return null; } }