每当我从设备(通过蓝牙文件连接)收到消息时,我都会在BroadcastReceiver中接收消息:
private BroadcastReceiver mMessageReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.hasExtra("Test"))
//
}
}
到目前为止还好-但该Intent包含所有收到的消息。如何删除最近收到的消息?