摘要:
1. 创建Receiver,两种方式,动态和静态: (1)静态注册:首先自定义个Receiver,Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicclassMyReceiverextendsBroadcastReceiver{@OverridepublicvoidonReceive(Contextcontext,Intentintent){//TODOAuto-generatedmethodstubToast.makeText(c 阅读全文