首页 移动开发 Android     /    在状态栏中显示进度条的下载更新

在状态栏中显示进度条的下载更新

上传者: guo3g | 上传时间:2024/9/18 16:08:16 | 文件大小:1.34MB | 文件类型:rar
在状态栏中显示进度条的下载更新
在Android中,当从网络获取图片或文件时,可以实现在状态栏中显示进度条的下载进度,并与当前Activity中的进度条同步更新,绝对好用,是经过测试通过的!

文件下载

资源详情

[{"title":"(55个子文件1.34MB)在状态栏中显示进度条的下载更新","children":[{"title":"ProgressBar","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'>554.88KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>5.82KB</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},{"title":"jarlist.cache <span style='color:#111;'>119B</span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-ac44974316b333c730843c06d9c54c75.jar <span style='color:#111;'>184.80KB</span>","children":null,"spread":false},{"title":"annotations-d05ed3c923c2ee6e84971e8d39de1135.jar <span style='color:#111;'>943B</span>","children":null,"spread":false},{"title":"annotations-e519232f0621ccfe6bf93df29372cfa7.jar <span style='color:#111;'>943B</span>","children":null,"spread":false},{"title":"android-support-v4-a67653956aa1d78168af6654c2c89d6f.jar <span style='color:#111;'>184.80KB</span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"progressbar","children":[{"title":"MainActivity.class <span style='color:#111;'>4.17KB</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>355B</span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'>2.29KB</span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'>454B</span>","children":null,"spread":false},{"title":"Const.class <span style='color:#111;'>389B</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>577B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>422B</span>","children":null,"spread":false},{"title":"DownloadHelper.class <span style='color:#111;'>3.28KB</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>476B</span>","children":null,"spread":false},{"title":"FileUtils.class <span style='color:#111;'>3.31KB</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>355B</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>403B</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>723B</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>487B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>446B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"ProgressBar.apk <span style='color:#111;'>232.76KB</span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'>40.72KB</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>1.09KB</span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>225B</span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</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-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;'>228B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>697B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>220B</span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'>277B</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":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'>203B</span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"notification.xml <span style='color:#111;'>640B</span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'>1.04KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"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":"com","children":[{"title":"example","children":[{"title":"progressbar","children":[{"title":"BuildConfig.java <span style='color:#111;'>165B</span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'>2.34KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>177B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"progressbar","children":[{"title":"FileUtils.java <span style='color:#111;'>2.67KB</span>","children":null,"spread":false},{"title":"Const.java <span style='color:#111;'>100B</span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'>3.38KB</span>","children":null,"spread":false},{"title":"DownloadHelper.java <span style='color:#111;'>2.64KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'>847B</span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'>475B</span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>563B</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>1.09KB</span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>472.91KB</span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • mxhweiwei:
    学习了,但是会提醒ANR警报2016-04-26
  • zgy23488:
    还好,可以参考参考2015-06-13
  • kraft_lv:
    代码可以运行,对初学者有帮助。2014-07-30
  • xiujie321:
    谢谢分享我从中得到了启示!2014-06-26
  • bdpy9864:
    很详细,不错,可以用2014-06-25

免责申明

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