非阻塞socket实现android手机与PC的文件传输

上传者: u012321815 | 上传时间: 2019-12-21 18:55:49 | 文件大小: 893KB | 文件类型: 7z
android手机端发送一个“filename”字符串到PC,PC验证字符后返回要传输文件的文件名,然后手机端再把接收到的文件名发送给PC端,进行校验,如果PC端校验成功,那么PC端就开始传输这个文件给手机端,手机端就接收这个文件。

文件下载

资源详情

[{"title":"( 59 个子文件 893KB ) 非阻塞socket实现android手机与PC的文件传输","children":[{"title":"FileTest(android)","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 444.26KB </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":"crunch","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":"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;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-5c945e9bd1d6715f9c22b16369027b91.jar <span style='color:#111;'> 148.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"filetest","children":[{"title":"MainActivity.class <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"MainActivity$1$1.class <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 437B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 40.18KB </span>","children":null,"spread":false},{"title":"FileTest.apk <span style='color:#111;'> 193.18KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 261B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 389B </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;'> 223B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 275B </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;'> 201B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false}],"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":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"filetest","children":[{"title":"BuildConfig.java <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.59KB </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":"filetest","children":[{"title":"MainActivity.java <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 844B </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.10KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 383.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"FileTest(PC)","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"googlecode","children":[{"title":"garbagecan","children":[{"title":"test","children":[{"title":"socket","children":[{"title":"nio","children":[{"title":"client","children":[{"title":"MyClient.class <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"MyClient$1.class <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MyServer.class <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"googlecode","children":[{"title":"garbagecan","children":[{"title":"test","children":[{"title":"socket","children":[{"title":"nio","children":[{"title":"client","children":[{"title":"MyClient.java <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MyServer.java <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • ygrzdwl :
    感谢分享!!
    2018-12-21
  • ybb204224 :
    可用,安装通过了。
    2018-08-07
  • xeinstein :
    有价值的资源,不错。
    2017-04-27
  • idsids123 :
    有帮助,赞你个
    2016-12-19
  • 嘩囇谢幕 :
    很好,有参考价值
    2016-10-06

免责申明

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