登录
首页 » Java » 基于UDP的手机与电脑互相通信实例

基于UDP的手机与电脑互相通信实例

于 2020-06-25 发布 文件大小:3550KB
0 178
下载积分: 1 下载次数: 0

代码说明:

  本例为java代码,在android系统实现手机与电脑通过udp方式通讯(This example is java code, in Android system to achieve mobile phone and computer through UDP communication)

文件列表:

TestClient, 0 , 2015-11-05
TestClient\.classpath, 475 , 2015-11-04
TestClient\.project, 846 , 2015-11-04
TestClient\AndroidManifest.xml, 1125 , 2015-11-04
TestClient\assets, 0 , 2015-11-05
TestClient\bin, 0 , 2015-11-05
TestClient\bin\AndroidManifest.xml, 1125 , 2015-11-04
TestClient\bin\R.txt, 60838 , 2015-11-05
TestClient\bin\TestClient.apk, 1072184 , 2015-11-04
TestClient\bin\classes, 0 , 2015-11-05
TestClient\bin\classes\android, 0 , 2015-11-05
TestClient\bin\classes\android\support, 0 , 2015-11-05
TestClient\bin\classes\android\support\v7, 0 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat, 0 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$anim.class, 813 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$attr.class, 8734 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$bool.class, 820 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$color.class, 3770 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$dimen.class, 4283 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$drawable.class, 3659 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$id.class, 3666 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$integer.class, 657 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$layout.class, 2313 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$string.class, 1430 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$style.class, 18523 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R$styleable.class, 18340 , 2015-11-05
TestClient\bin\classes\android\support\v7\appcompat\R.class, 1015 , 2015-11-05
TestClient\bin\classes\com, 0 , 2015-11-05
TestClient\bin\classes\com\example, 0 , 2015-11-05
TestClient\bin\classes\com\example\testclient, 0 , 2015-11-05
TestClient\bin\classes\com\example\testclient\BuildConfig.class, 353 , 2015-11-05
TestClient\bin\classes\com\example\testclient\MainActivity$1.class, 1126 , 2015-11-05
TestClient\bin\classes\com\example\testclient\MainActivity$2.class, 832 , 2015-11-05
TestClient\bin\classes\com\example\testclient\MainActivity.class, 3246 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$anim.class, 795 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$attr.class, 8716 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$bool.class, 802 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$color.class, 3752 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$dimen.class, 4363 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$drawable.class, 3676 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$id.class, 3687 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$integer.class, 639 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$layout.class, 2332 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$menu.class, 400 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$string.class, 1518 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$style.class, 18573 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R$styleable.class, 18746 , 2015-11-05
TestClient\bin\classes\com\example\testclient\R.class, 981 , 2015-11-05
TestClient\bin\classes.dex, 2360872 , 2015-11-04
TestClient\bin\dexedLibs, 0 , 2015-11-05
TestClient\bin\dexedLibs\android-support-v4-25129f226977e02c8f69461ad0e9bb84.jar, 404585 , 2015-11-04
TestClient\bin\dexedLibs\android-support-v7-appcompat-1c11640a00d14c444faa3e65b7e93784.jar, 233916 , 2015-11-04
TestClient\bin\dexedLibs\appcompat_v7-35f56c30ba3d94193195c2ea373593b6.jar, 166 , 2015-11-04
TestClient\bin\jarlist.cache, 402 , 2015-11-05
TestClient\bin\res, 0 , 2015-11-05
TestClient\bin\res\crunch, 0 , 2015-11-05
TestClient\bin\res\crunch\drawable-hdpi, 0 , 2015-11-05
TestClient\bin\res\crunch\drawable-hdpi\ic_launcher.png, 5964 , 2015-11-04
TestClient\bin\res\crunch\drawable-mdpi, 0 , 2015-11-05
TestClient\bin\res\crunch\drawable-mdpi\ic_launcher.png, 3112 , 2015-11-04
TestClient\bin\res\crunch\drawable-xhdpi, 0 , 2015-11-05
TestClient\bin\res\crunch\drawable-xhdpi\ic_launcher.png, 9355 , 2015-11-04
TestClient\bin\res\crunch\drawable-xxhdpi, 0 , 2015-11-05
TestClient\bin\res\crunch\drawable-xxhdpi\ic_launcher.png, 17889 , 2015-11-04
TestClient\bin\resources.ap_, 408597 , 2015-11-04
TestClient\gen, 0 , 2015-11-05
TestClient\gen\android, 0 , 2015-11-05
TestClient\gen\android\support, 0 , 2015-11-05
TestClient\gen\android\support\v7, 0 , 2015-11-05
TestClient\gen\android\support\v7\appcompat, 0 , 2015-11-05
TestClient\gen\android\support\v7\appcompat\R.java, 81056 , 2015-11-05
TestClient\gen\com, 0 , 2015-11-05
TestClient\gen\com\example, 0 , 2015-11-05
TestClient\gen\com\example\testclient, 0 , 2015-11-05
TestClient\gen\com\example\testclient\BuildConfig.java, 164 , 2015-11-04
TestClient\gen\com\example\testclient\R.java, 417200 , 2015-11-05
TestClient\ic_launcher-web.png, 51394 , 2015-11-04
TestClient\libs, 0 , 2015-11-05
TestClient\libs\android-support-v4.jar, 1184450 , 2015-11-04
TestClient\proguard-project.txt, 781 , 2015-11-04
TestClient\project.properties, 607 , 2015-11-04
TestClient\res, 0 , 2015-11-05
TestClient\res\drawable-hdpi, 0 , 2015-11-05
TestClient\res\drawable-hdpi\ic_launcher.png, 7658 , 2015-11-04
TestClient\res\drawable-ldpi, 0 , 2015-11-05
TestClient\res\drawable-mdpi, 0 , 2015-11-05
TestClient\res\drawable-mdpi\ic_launcher.png, 3777 , 2015-11-04
TestClient\res\drawable-xhdpi, 0 , 2015-11-05
TestClient\res\drawable-xhdpi\ic_launcher.png, 12516 , 2015-11-04
TestClient\res\drawable-xxhdpi, 0 , 2015-11-05
TestClient\res\drawable-xxhdpi\ic_launcher.png, 24777 , 2015-11-04
TestClient\res\layout, 0 , 2015-11-05
TestClient\res\layout\activity_main.xml, 688 , 2015-11-04
TestClient\res\menu, 0 , 2015-11-05
TestClient\res\menu\main.xml, 425 , 2015-11-04
TestClient\res\values, 0 , 2015-11-05
TestClient\res\values\dimens.xml, 220 , 2015-11-04
TestClient\res\values\strings.xml, 227 , 2015-11-04
TestClient\res\values\styles.xml, 699 , 2015-11-04
TestClient\res\values-v11, 0 , 2015-11-05

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • js选择地区、选择行业、选择职位特效
    js选择地区、选择行业、选择职位特效,模仿51JOB
    2022-05-26 10:02:20下载
    积分:1
  • java 中的 Hopcroft 卡普算法的实现
    Hopcroft — — 卡普算法是作为一种算法输入二部图,并生成作为输出最大基数匹配 — — 一套尽可能多尽可能边缘没有两个边缘份额的财产终结点。它运行在 O (|E|sqrt {|V |})在最坏的情况,在那里 E 一套在图中,边和 V 设置关系图的顶点数的时间。在稠密图时间绑定变成 O (|荧光 ^ {2.5}),和它运行在接近线性时间的随机图论。该算法被发现由约翰 Hopcroft 和理查德 · 卡普 (1973 年)。与以前的方法,用于匹配匈牙利算法和埃德蒙兹 (1965 年) 的工作,Hopcroft — — 卡普算法一再增加部分通过寻找增加路径匹配的大小。然而,而不是寻找只是单一的增广路径,每个迭代,该算法发现最短增广路径最大集。因此需要只有 O(sqrt{n}) 迭代。同样的原则也用于开发更为复杂的算法,对于非二部图匹配随着运行时间作为 Hopcroft — — 卡普算法相同的渐近。
    2022-03-19 16:54:02下载
    积分:1
  • 扫雷应用程序
         设计扫雷游戏时,主要编写了7个源文件:MineGame.java, MineArea.java, BlockView.java, LayMine.java, ShowRecord.java, Record.java.    MineGame.java:主要负责创建扫雷游戏主窗口;    MineArea.java:表示扫雷区域;    Block.java:雷区“方块”的封装;    BlockView.jav:为Block对象提供视图;    LayMines.java: 使用随机算法指定哪些是雷,哪些不是雷;    Record.java: 扫雷成功时,用于保护用户的成绩到文件;    ShowRecord.java: 当用户查看扫雷最好成绩时,用于提供读取文件数据的界面
    2022-04-28 08:35:37下载
    积分:1
  • 利用Baidu Api实现基站、WiFi和GPS定位
    通过调用Baidu的API接口实现定位,定位方式包括基站定位、WiFi定位和GPS定位三种方式。GPS定位精度最高,其次是Wifi,基站定位精度最差。例子还有很大的改进空间,希望对你的应用有所启发!
    2022-01-28 17:03:35下载
    积分:1
  • android 猜名字 有奖例子 完整源码
    一个简单的android 实例,用RadioButton 以及RadioGroup实现                              
    2013-07-22下载
    积分:1
  • java代码生成器
    java代码生成器,freemarker模板制作, maven项目, 导入eclipse即可使用。模板可自己定制,简单实用
    2022-03-12 14:13:48下载
    积分:1
  • pid智能小车
    【实例简介】 利用pid调节pwm输出,使轮速稳定
    2021-11-21 00:58:42下载
    积分:1
  • 微信基础接口实现源码
    资源描述 微信基础接口实现源码 public class CrazyDreamService { public static String getCrazyDream(String str){ String url="http://www.gpsso.com/WebService/Dream/Dream.asmx/SearchDreamInfo"; Map params=new HashMap(); params.put("Dream", str); /* 0 接口查询成功 【钓鱼】梦见钓鱼,说明你生活不错,因为钓鱼的一个等待的过程,所以梦中钓鱼,也说明了你在寻找。 年轻人梦见钓鱼,你在寻找另一半儿。 商人梦见钓鱼,你在寻找机会,寻找合作者。 女性梦见钓鱼,可能会是胎梦。 如果钓鱼时半天没钓到,或者是咬了鱼饵又跑掉了,说明你对事情有着担心,但也不要介意,许多事情都不是百分百有把握的,努力争取,钓鱼是一个过程,其它也是。 */ try { InputStream is=HttpUtil.postUrl(url, params); SAXReader saxReader = new SAXReader(); Document document = saxReader.read(is); Element array = document.getRootElement(); Element dream=array.element("DREAM"); String dt=dream.getText();
    2023-04-21 02:05:03下载
    积分:1
  • 模拟银行的Java程序
    简单明了的Java程序,有20多个类构成。实现了简易的模拟银行,适用于大学教学,基本覆盖了所有的教学大纲。 简单明了的Java程序,有20多个类构成。实现了简易的模拟银行,适用于大学教学,基本覆盖了所有的教学大纲。
    2022-02-16 05:50:35下载
    积分:1
  • android listview 示例 附源码
    listview 基本用法
    2013-02-28下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载