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.cards; /*w ww. j av a2s . c o m*/ import android.app.Activity; import android.os.Bundle; import com.glasstunes.R; import com.glasstunes.controller.MusicController; import com.glasstunes.screenslide.BasicCardFragment; public class SkipPreviousCard extends BasicCardFragment { public static SkipPreviousCard newInstance() { SkipPreviousCard frag = new SkipPreviousCard(); Bundle args = BasicCardFragment.generateArgs( R.drawable.ic_musicplayer_previous, R.string.av_previous); frag.setArguments(args); return frag; } @Override public void onSelect() { super.onSelect(); MusicController.getInstance().previous(getActivity()); getActivity().setResult(Activity.RESULT_OK); getActivity().finish(); } }