Back to project page GlassTunes.
The source code is released under:
Apache License
If you think the Android project GlassTunes 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.glasstunes.controller; /*w w w. j a va2 s .c om*/ import android.content.Context; import android.content.Intent; public abstract class MusicController { private static final class SingletonHolder { public static MusicController singleton = new LocalMusicController(); } public static final MusicController getInstance() { return SingletonHolder.singleton; } public abstract void play(Context context); public abstract void pause(Context context); public abstract void next(Context context); public abstract void previous(Context context); public abstract void play(Context context, Intent intent); }