添加broadcastreceiver的练习代码