Android socket上传大文件client + server

上传者: xj_hnust | 上传时间: 2021-05-16 09:42:29 | 文件大小: 1.17MB | 文件类型: RAR
参考网上例子,由于http不支持大文件上传,采用TCP通信方式socket上传,client + server 支持断点续传

文件下载

资源详情

[{"title":"( 58 个子文件 1.17MB ) Android socket上传大文件client + server","children":[{"title":"android_socket_upload(断点)","children":[{"title":"server","children":[{"title":"test","children":[{"title":"StreamTools.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"ServerWindow.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"testClient.java <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"SocketServer.java <span style='color:#111;'> 8.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"client","children":[{"title":"testUpload","children":[{"title":".project <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.16KB </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-1fe0628ab46e16cf72344c3383e4e499.jar <span style='color:#111;'> 184.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"testUpload.apk <span style='color:#111;'> 232.31KB </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-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":false}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 40.71KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"testupload","children":[{"title":"R$string.class <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"StreamTools.class <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"UploadLogService.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"DBOpenHelper.class <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 530B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 551.18KB </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.16KB </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;'> 472.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"testupload","children":[{"title":"DBOpenHelper.java <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"StreamTools.java <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"UploadLogService.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 615B </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":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false},{"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":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </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":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </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;'> 263B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </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":"testupload","children":[{"title":"R.java <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 139B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • jonayyyy :
    代码可以用额 支持一下
    2016-01-10
  • 亏小会 :
    资源不错就是分高
    2014-11-11
  • 袁欣星 :
    资源很好,有用
    2014-08-18
  • Lkmwyeb :
    可惜服务器是用java 写的 = =
    2014-06-12
  • meitianainid :
    还可以,但是没有解决文件太大内存溢出的问题。
    2014-04-21

免责申明

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