Android开发使用SurfaceView和Mediaplayer播放网络视频(功能齐全)

上传者: lpcrazyboy | 上传时间: 2019-12-21 18:51:34 | 文件大小: 1.9MB | 文件类型: rar
支持视频格式:实测支持的有mp3、mp4、rmvb、avi、3gp、flv……。 带有功能:播放、暂停、视频拖动,播放时长显示、全屏、恢复全屏、双击暂停/播放功能、保存播放记录继续播放等等。 相应的播客网址:https://blog.csdn.net/lpCrazyBoy/article/details/79842906

文件下载

资源详情

[{"title":"( 70 个子文件 1.9MB ) Android开发使用SurfaceView和Mediaplayer播放网络视频(功能齐全)","children":[{"title":"SurfaceViewAndMediaplayerDemo","children":[{"title":".project <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"SurfaceViewAndMediaplayerDemo.apk <span style='color:#111;'> 385.48KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-0b6b298aa0e27334b1a5fe159f906836.jar <span style='color:#111;'> 267.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"videoplayer_minisize.png <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"videoplayer_clickplay.png <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"videoimage_normal.png <span style='color:#111;'> 50.69KB </span>","children":null,"spread":false},{"title":"videoplayer_maxsize.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"videoplayer_play.png <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"videoplayer_pause.png <span style='color:#111;'> 1.88KB </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},{"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}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 107.92KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"surfaceviewandmediaplayerdemo","children":[{"title":"R$string.class <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"MainActivity$MyThread.class <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"OnDoubleClickListener$DoubleClickCallback.class <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"MainVideoActivity$3.class <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"OnDoubleClickListener.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"MainActivity$MyCallback.class <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"MainVideoActivity$1.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 974B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"MainVideoActivity.class <span style='color:#111;'> 10.54KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"MainVideoActivity$2.class <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 878B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 814.28KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </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},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"surfaceviewandmediaplayerdemo","children":[{"title":"OnDoubleClickListener.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"MainVideoActivity.java <span style='color:#111;'> 13.59KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"project.properties <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"activity_mainvideo.xml <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"videoplayer_minisize.png <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"videoplayer_clickplay.png <span style='color:#111;'> 9.31KB </span>","children":null,"spread":false},{"title":"videoimage_normal.png <span style='color:#111;'> 60.42KB </span>","children":null,"spread":false},{"title":"videoplayer_maxsize.png <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"videoplayer_play.png <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"videoplayer_pause.png <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 300B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 80B </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},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 343B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"surfaceviewandmediaplayerdemo","children":[{"title":"R.java <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • u013332374 :
    没任何借鉴价值,垃圾~
    2020-12-21
  • 半袋小馒头 :
    你是个人才
    2019-12-17
  • weixin_43993022 :
    注释乱码是什么情况
    2019-10-08
  • 黑白念珠 :
    先试试吧,分就是太多了
    2019-09-20
  • nknk233 :
    不错,借鉴了
    2019-04-25

免责申明

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