BroadcastRecevier广播的基本使用

上传者: sunshine_mood | 上传时间: 2021-05-21 10:32:11 | 文件大小: 2.23MB | 文件类型: 7Z
本案例实现了动态、静态、有序和普通方式启动广播,讲述了广播的启动逻辑,介绍了接口在广播的传值过程。

文件下载

资源详情

[{"title":"( 87 个子文件 2.23MB ) BroadcastRecevier广播的基本使用","children":[{"title":"1.png <span style='color:#111;'> 26.34KB </span>","children":null,"spread":false},{"title":"MyTest4","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 1.34MB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"top_bar.9.png <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 30.53KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"appcompat_v7-027ecc6e0feb7220c2dc672db730ca43.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"android-support-v7-appcompat-4f15d63d5da6451fdf06f69bc69d8811.jar <span style='color:#111;'> 147.04KB </span>","children":null,"spread":false},{"title":"android-support-v4-3828451ab6cee7811413e94552937524.jar <span style='color:#111;'> 267.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$layout.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"mytest4","children":[{"title":"MainActivity.class <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"MyBroadcastRecevier$SendData.class <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"MyBroadcastRecevier.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 647.82KB </span>","children":null,"spread":false},{"title":"MyTest4.apk <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 422B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"tz_2.9.png <span style='color:#111;'> 46.89KB </span>","children":null,"spread":false},{"title":"tz_1.9.png <span style='color:#111;'> 45.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"gd_2.9.png <span style='color:#111;'> 42.36KB </span>","children":null,"spread":false},{"title":"zh_2.9.png <span style='color:#111;'> 43.55KB </span>","children":null,"spread":false},{"title":"zh_1.9.png <span style='color:#111;'> 43.92KB </span>","children":null,"spread":false},{"title":"gd_1.9.png <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"top_bar.9.png <span style='color:#111;'> 106B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"bottom4.xml <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"bottom1.xml <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"bottom2.xml <span style='color:#111;'> 484B </span>","children":null,"spread":false}],"spread":true},{"title":"color","children":[{"title":"text_tab_background.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"a.xml <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"b.xml <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"tab_item_view.xml <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"c.xml <span style='color:#111;'> 294B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 40.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"mytest4","children":[{"title":"BuildConfig.java <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 177.59KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"mytest4","children":[{"title":"MyBroadcastRecevier.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 740.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"2.png <span style='color:#111;'> 13.31KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 18.22KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明