android测试例子 TCP长连接

上传者: kevin_lfan | 上传时间: 2021-05-06 14:53:52 | 文件大小: 86KB | 文件类型: ZIP
tcp
android 客户端 后台启动服务 保持 TCP 长连接例子。

文件下载

资源详情

[{"title":"( 45 个子文件 86KB ) android测试例子 TCP长连接","children":[{"title":"ServiceSample","children":[{"title":".project <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"proguard.cfg <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"tjuci","children":[{"title":"edu","children":[{"title":"service","children":[{"title":"BootBroadcastReceiver.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"MyService.java <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"activity","children":[{"title":"TCPLongSocketCallback.java <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"TcpLongSocket.java <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"ServiceSampleActivity.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"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":"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;'> 609B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 192B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"tjuci","children":[{"title":"edu","children":[{"title":"dl","children":[{"title":"BuildConfig.java <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 791B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 11.47KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"tjuci","children":[{"title":"edu","children":[{"title":"service","children":[{"title":"MyService$1.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"MyService.class <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"MyService$OnCreenBroadcastReceiver.class <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"BootBroadcastReceiver.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"dl","children":[{"title":"R$layout.class <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 409B </span>","children":null,"spread":false}],"spread":false},{"title":"activity","children":[{"title":"TCPLongSocketCallback.class <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"ServiceSampleActivity.class <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"TcpLongSocket$SendThread.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"TcpLongSocket.class <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"TcpLongSocket$RecThrad.class <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"TcpLongSocket$ConnectThread.class <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"ServiceSampleActivity$2.class <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"ServiceSampleActivity$1.class <span style='color:#111;'> 1011B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"ServiceSample.apk <span style='color:#111;'> 19.98KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 13.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • u010625400 :
    感谢飞享,支持
    2018-10-31
  • 洁洁的最爱 :
    学习中 不错
    2018-08-21
  • well_do :
    支持一下!
    2018-02-24
  • android高磊 :
    非常好,学习到了,感谢分享
    2018-02-03
  • tc310 :
    有一定的参考价值,多谢分享
    2018-01-06
  • Jason_orz :
    有用,不过写的太冗长了。可以精简一点。
    2017-03-22
  • idsids123 :
    很好,可以用
    2016-12-30
  • superpaipai :
    代码很好,可以用
    2016-11-07

免责申明

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