Android端与服务端TCP通讯

上传者: tangren03 | 上传时间: 2019-12-21 21:13:44 | 文件大小: 58KB | 文件类型: zip
利用TCP/IP协议,使用Socket在Android端与服务端进行简单的输入通讯

文件下载

资源详情

[{"title":"( 31 个子文件 58KB ) Android端与服务端TCP通讯","children":[{"title":"SocketAndrod","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SocketAndrod.apk <span style='color:#111;'> 14.20KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"sockettest","children":[{"title":"SocketAndrodActivity$1.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 369B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"SocketAndrodActivity.class <span style='color:#111;'> 977B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 414B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"sockettest","children":[{"title":"R.java <span style='color:#111;'> 709B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"sockettest","children":[{"title":"SocketAndrodActivity.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 815B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 796B </span>","children":null,"spread":false}],"spread":true},{"title":"SocketServer","children":[{"title":"bin","children":[{"title":"SocketServer.class <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 617B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"SocketServer.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • Lisun_0723 :
    可以 ,例子不错
    2020-07-09
  • lxwQQ3 :
    太简单了,连接成功或失败都没有做监听,消息接收也没有
    2020-06-05
  • X340018363 :
    比较好的例子,可以。
    2019-09-25
  • kouji :
    可以,不错的资料。
    2018-12-08
  • 起个名称怎么这么难 :
    不错 挺好的 谢谢
    2018-09-24

免责申明

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