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 a va 2 s . 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 SkipNextCard extends BasicCardFragment { public static SkipNextCard newInstance() { SkipNextCard frag = new SkipNextCard(); Bundle args = BasicCardFragment.generateArgs( R.drawable.ic_musicplayer_next, R.string.av_next); frag.setArguments(args); return frag; } @Override public void onSelect() { super.onSelect(); MusicController.getInstance().next(getActivity()); getActivity().setResult(Activity.RESULT_OK); getActivity().finish(); } }