标签:c ext t get sp ble int new text file name
public void sendPlayStateBrocast()
{
if (mContext !=
null)
{
Intent intent = new
Intent(BROCAST_NAME);
intent.putExtra(MusicPlayState.PLAY_STATE_NAME,
mPlayState);
intent.putExtra(MusicPlayState.PLAY_MUSIC_INDEX,
mCurPlayIndex);
if (mPlayState !=
MusicPlayState.MPS_NOFILE)
{
Bundle
bundle = new Bundle();
MusicData data =
mMusicFileList.get(mCurPlayIndex);
bundle.putParcelable(MusicData.KEY_MUSIC_DATA,
data);
intent.putExtra(MusicData.KEY_MUSIC_DATA,
bundle);
}
mContext.sendBroadcast(intent);
}
}
标签:c ext t get sp ble int new text file name
原文地址:http://www.cnblogs.com/profession/p/3695783.html