• 大小: 2.41M
    文件类型: .zip
    金币: 2
    下载: 2 次
    发布日期: 2020-12-23
  • 语言: Java
  • 标签: Android  Socket  tcp  客户端  

资源简介


基于TCP~socket,Android客户端与PC通信,客户端源码。已经测试,可用。附带apk,和网络调试助手,方便测试。只需提供服务器的IP和端口号,即可通信。
客户端:一次连接,可发送多次数据。
重点是客户端时时接收服务器端发送来的数据。采用 Handler和Thead结合。

项目中包含了 网络调试助手V3.8.1.exe  demoClientTcpIp.apk以及项目源码

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.example.democlienttcpip;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-09-28 14:56  TCP-IP\
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\
     文件         475  2014-09-24 19:17  TCP-IP\demoClientTcpIp\.classpath
     文件         851  2014-09-24 19:17  TCP-IP\demoClientTcpIp\.project
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\.settings\
     文件         177  2014-09-24 19:17  TCP-IP\demoClientTcpIp\.settings\org.eclipse.jdt.core.prefs
     文件        1952  2014-09-28 14:55  TCP-IP\demoClientTcpIp\AndroidManifest.xml
     目录           0  2014-09-28 14:57  TCP-IP\demoClientTcpIp\assets\
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\bin\
     文件        1952  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\AndroidManifest.xml
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\bin\classes\
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\bin\classes\com\
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\bin\classes\com\example\
     目录           0  2014-09-28 14:56  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\
     文件         363  2014-09-28 11:25  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\BuildConfig.class
     文件        1141  2014-09-28 13:09  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\CheckBoxListener$MyTask.class
     文件        3522  2014-09-28 13:09  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\CheckBoxListener.class
     文件        1346  2014-09-28 14:54  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\MainActivity$1.class
     文件        1475  2014-09-28 14:54  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\MainActivity$MyHandler.class
     文件        2606  2014-09-28 14:54  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\MainActivity$MyReceiverRunnable.class
     文件        7783  2014-09-28 14:54  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\MainActivity.class
     文件         367  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$attr.class
     文件         488  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$dimen.class
     文件         434  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$drawable.class
     文件         808  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$id.class
     文件         430  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$layout.class
     文件         415  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$menu.class
     文件         499  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$string.class
     文件         458  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R$style.class
     文件         763  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes\com\example\democlienttcpip\R.class
     文件     1080628  2014-09-28 14:55  TCP-IP\demoClientTcpIp\bin\classes.dex
............此处省略56个文件信息

评论

共有 条评论