首页 移动开发 Android     /    android使用nanohttpd2.3.1搭建httpserver实现文件上传及HTML5播放视频

android使用nanohttpd2.3.1搭建httpserver实现文件上传及HTML5播放视频

上传者: yihuaheren | 上传时间:2020/1/3 9:46:48 | 文件大小:2.35MB | 文件类型:rar
android使用nanohttpd2.3.1搭建httpserver实现文件上传及HTML5播放视频
android使用nanohttpd搭建httpserver实现文件上传及HTML5播放视频,亲测可用。
内含最新nanohttpd-all-2.3.1.jar,直接下载代码引入到eclipse就能用。
HTML5播放使用的时候,需要把工程的movie.mp4拷贝到SD卡根目录下即可。
文件上传路径为ip:port/uploadfiles?filename=aa.txt,最好使用jmeter上传文件测试,度娘一下教程就有,或者本人写个客户端测试。
本软件ID:10047531

文件下载

资源详情

[{"title":"(52个子文件2.35MB)android使用nanohttpd2.3.1搭建httpserver实现文件上传及HTML5播放视频","children":[{"title":"VideoServer","children":[{"title":".project <span style='color:#111;'>814B</span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>579B</span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"jhuster","children":[{"title":"videoserver","children":[{"title":"HttpMultimediaServer.java <span style='color:#111;'>3.79KB</span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'>2.59KB</span>","children":null,"spread":false},{"title":"VideoServer.java <span style='color:#111;'>2.66KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'>324B</span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>362B</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":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'>475B</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":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>12.22KB</span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'>373B</span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'>221B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>680B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>213B</span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'>381B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"movie.mp4 <span style='color:#111;'>237.41KB</span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>177B</span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"jhuster","children":[{"title":"videoserver","children":[{"title":"BuildConfig.java <span style='color:#111;'>165B</span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'>2.60KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>972.06KB</span>","children":null,"spread":false},{"title":"nanohttpd-all.jar <span style='color:#111;'>49.71KB</span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'>475B</span>","children":null,"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":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'>40.70KB</span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"jhuster","children":[{"title":"videoserver","children":[{"title":"R$layout.class <span style='color:#111;'>418B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>446B</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>476B</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>355B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>422B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>355B</span>","children":null,"spread":false},{"title":"VideoServer.class <span style='color:#111;'>3.62KB</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>444B</span>","children":null,"spread":false},{"title":"HttpMultimediaServer.class <span style='color:#111;'>6.30KB</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$menu.class <span style='color:#111;'>403B</span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'>3.95KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"nanohttpd-all-1e6c046a0837e3b8d3ef472b90757390.jar <span style='color:#111;'>27.12KB</span>","children":null,"spread":false},{"title":"android-support-v4-24ea4451034e8ab43b09f1fbf352e726.jar <span style='color:#111;'>334.82KB</span>","children":null,"spread":false},{"title":"nanohttpd-webserver-2.1.1-jar-with-dependencies-752154453dd0363ded4e27691c5296ed.jar <span style='color:#111;'>26.35KB</span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'>120B</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}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>3.04KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>17.47KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>9.14KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'>1.07MB</span>","children":null,"spread":false},{"title":"VideoServer.apk <span style='color:#111;'>407.15KB</span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • caoyuanlang097:
    很不错的资源,谢谢楼主2019-03-20
  • 演绎我的爱:
    就那样吧。。。2018-09-14
  • wdfaitianshi620:
    感觉还可以,先试试再说2018-08-14
  • 少林士:
    看样子还不错,待会儿试试2018-06-21
  • SoGreater:
    参考一下,试试2017-12-11

免责申明

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