本文整理汇总了Java中net.sourceforge.servestream.utils.MusicUtils.playAll方法的典型用法代码示例。如果您正苦于以下问题:Java MusicUtils.playAll方法的具体用法?Java MusicUtils.playAll怎么用?Java MusicUtils.playAll使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.sourceforge.servestream.utils.MusicUtils
的用法示例。
在下文中一共展示了MusicUtils.playAll方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onMusicRetrieverPrepared
import net.sourceforge.servestream.utils.MusicUtils; //导入方法依赖的package包/类
@Override
public void onMusicRetrieverPrepared(String action, UriBean uri, long[] list) {
dismissDialog(LOADING_DIALOG);
if (action.equals(DetermineActionTask.URL_ACTION_UNDETERMINED)) {
showUrlNotOpenedToast();
} else if (action.equals(DetermineActionTask.URL_ACTION_BROWSE)) {
if (mPreferences.getBoolean(PreferenceConstants.AUTOSAVE, true)) {
mStreamdb.touchUri(uri);
}
mListener.browseToUri(uri.getScrubbedUri());
} else if (action.equals(DetermineActionTask.URL_ACTION_PLAY)) {
if (mPreferences.getBoolean(PreferenceConstants.AUTOSAVE, true)) {
mStreamdb.touchUri(uri);
}
MusicUtils.playAll(getActivity(), list, 0);
}
}
示例2: onMusicRetrieverPrepared
import net.sourceforge.servestream.utils.MusicUtils; //导入方法依赖的package包/类
@Override
public void onMusicRetrieverPrepared(String action, UriBean uri, long[] list) {
if (action.equals(DetermineActionTask.URL_ACTION_UNDETERMINED)) {
dismissDialog(LOADING_DIALOG);
showUrlNotOpenedToast();
} else if (action.equals(DetermineActionTask.URL_ACTION_BROWSE)) {
mPreviousDirectory.put(mStepsBack, uri);
mStepsBack++;
mPreviousDirectory.put(mStepsBack, null);
mDirectory[mStepsBack] = uri;
refreshList();
} else if (action.equals(DetermineActionTask.URL_ACTION_PLAY)) {
dismissDialog(LOADING_DIALOG);
MusicUtils.playAll(BrowseFragment.this.getActivity(), list, 0);
}
}
示例3: onMusicRetrieverPrepared
import net.sourceforge.servestream.utils.MusicUtils; //导入方法依赖的package包/类
public void onMusicRetrieverPrepared(String action, UriBean uri, long[] list) {
dismissDialog(LOADING_DIALOG);
if (action.equals(DetermineActionTask.URL_ACTION_UNDETERMINED)) {
showUrlNotOpenedToast();
} else if (action.equals(DetermineActionTask.URL_ACTION_BROWSE)) {
if (mPreferences.getBoolean(PreferenceConstants.AUTOSAVE, true)) {
mStreamdb.touchUri(uri);
}
mListener.browseToUri(uri.getScrubbedUri());
} else if (action.equals(DetermineActionTask.URL_ACTION_PLAY)) {
if (mPreferences.getBoolean(PreferenceConstants.AUTOSAVE, true)) {
mStreamdb.touchUri(uri);
}
MusicUtils.playAll(getActivity(), list, 0);
}
}
示例4: onMusicRetrieverPrepared
import net.sourceforge.servestream.utils.MusicUtils; //导入方法依赖的package包/类
@Override
public void onMusicRetrieverPrepared(String action, UriBean uri, long[] list) {
if (action.equals(DetermineActionTask.URL_ACTION_PLAY)) {
for(long i : list) {
Log.d("onMusicRetrieverPrepared", "fucking list" + i);
}
MusicUtils.playAll(getActivity(), list, 0);
}
}
示例5: onMusicRetrieverPrepared
import net.sourceforge.servestream.utils.MusicUtils; //导入方法依赖的package包/类
public void onMusicRetrieverPrepared(String action, UriBean uri, long[] list) {
if (action.equals(DetermineActionTask.URL_ACTION_UNDETERMINED)) {
dismissDialog(LOADING_DIALOG);
showUrlNotOpenedToast();
} else if (action.equals(DetermineActionTask.URL_ACTION_BROWSE)) {
mPreviousDirectory.put(mStepsBack, uri);
mStepsBack++;
mPreviousDirectory.put(mStepsBack, null);
mDirectory[mStepsBack] = uri;
refreshList();
} else if (action.equals(DetermineActionTask.URL_ACTION_PLAY)) {
dismissDialog(LOADING_DIALOG);
MusicUtils.playAll(BrowseFragment.this.getActivity(), list, 0);
}
}