![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android 基本组件
laukaka
这个作者很懒,什么都没留下…
展开
-
android组件——BroadCastReceiver
http://yangguangfu.iteye.com/blog/1063732 BroadCastReceiver简介(末尾有源码) BroadCastReceiver源码位于:framework/base/core/java/android.content.BroadcastReceiver.java 广播接收者(BroadcastReceiver)用于接收广播Intent,广播I转载 2012-05-22 19:14:21 · 551 阅读 · 0 评论 -
android组件——BroadCastReceiver(简例)
BroadCastReceiver有两种注册方式,静态注册、动态注册。 动态注册: IntentFilter filter = new IntentFilter(); filter.addAction("com.lau.action1"); filter.addAction("com.lau.action2"); registerReceiver(broadcastReceiver, fi原创 2012-05-22 19:01:49 · 516 阅读 · 0 评论