android 获取SDCARD 图片及视频并获取其缩略图

上传者: lzg08_08 | 上传时间: 2022-09-21 22:01:28 | 文件大小: 905KB | 文件类型: RAR
1:获取sdcard 图片并以listview显示,并显示其缩略图 2:获取sdcard 视频并以listview显示,并显示其缩略图 3:在显示其缩略图时通过asynctask 来显示,防止阻塞主ui 4: 获取的缩略图保存在缓存中,下次显示时直接从缓存中获取

文件下载

资源详情

[{"title":"( 89 个子文件 905KB ) android 获取SDCARD 图片及视频并获取其缩略图","children":[{"title":"PictureVideoThumbnail","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 425.98KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"picture_frame.png <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"picture_list_item_bg.png <span style='color:#111;'> 398B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.22KB </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-c8fb6975e2db9ea6be6e0461eb992dcf.jar <span style='color:#111;'> 132.00KB </span>","children":null,"spread":false},{"title":"annotations-bf65d065d2bf11dc7706959d18f5bc41.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"youpeng","children":[{"title":"tools","children":[{"title":"CacheStore$PersistentCacheStore$1.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"CacheStore$PersistentCacheStore.class <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"CacheStore.class <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"CacheStore$InMemoryCacheStore.class <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"adapter","children":[{"title":"VideoListAdapter.class <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"VideoListAdapter$Holder.class <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"PictureFileListAdapter.class <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"PictureFileListAdapter$Holder.class <span style='color:#111;'> 667B </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"VideoData.class <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"FetchVideo.class <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"PictureGridView$1.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"VideoThumbnail$1.class <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"VideoThumbnail.class <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"PictureGridView.class <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"VideoData$VideoInfo.class <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"VideoCommFunction.class <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"PictureCommFunction.class <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"PictureData$PictureInfo.class <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"PictureData.class <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"PictureFileListData.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"FetchPicture.class <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"VideoFileListData.class <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"picturevideothumbnail","children":[{"title":"BuildConfig.class <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"VideoActivity.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"App.class <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"ThumbnailActivity.class <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"PictureActivity.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 476B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 28.67KB </span>","children":null,"spread":false},{"title":"PictureVideoThumbnail.apk <span style='color:#111;'> 174.24KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"thumbnail.xml <span style='color:#111;'> 219B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"picture_frame.png <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 8.02KB </span>","children":null,"spread":false},{"title":"picture_list_item_bg.png <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"picvidlayout.xml <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"thumbnail.xml <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"video_file_list_item.xml <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"picture_file_list_item.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;'> 54.44KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"youpeng","children":[{"title":"picturevideothumbnail","children":[{"title":"BuildConfig.java <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"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":"youpeng","children":[{"title":"tools","children":[{"title":"CacheStore.java <span style='color:#111;'> 9.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"adapter","children":[{"title":"PictureFileListAdapter.java <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"VideoListAdapter.java <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"VideoCommFunction.java <span style='color:#111;'> 960B </span>","children":null,"spread":false},{"title":"FetchPicture.java <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"VideoThumbnail.java <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"PictureGridView.java <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"PictureData.java <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"VideoFileListData.java <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"PictureCommFunction.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"FetchVideo.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"VideoData.java <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"PictureFileListData.java <span style='color:#111;'> 721B </span>","children":null,"spread":false}],"spread":true},{"title":"picturevideothumbnail","children":[{"title":"ThumbnailActivity.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"VideoActivity.java <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"App.java <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"PictureActivity.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 341.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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