首页 移动开发 Android     /    Android实现Wifi数据传输

Android实现Wifi数据传输

上传者: qq_32371277 | 上传时间:2016/3/20 21:07:39 | 文件大小:2.11MB | 文件类型:rar
Android实现Wifi数据传输
两部手机连接wifi后,通过socket进行数据传输说明:测试需求两部安卓手机A,B。
A手机创建WIFI热点作为服务器,B手机连接A手机WIFI热点,作为客户端。
//A手机服务器接收数据步骤:1点击创建Wifi热点2点击"turn_on_receiver"接收数据//B手机客户端发送数据步骤:1点击连接Wifi2点击"turn_on_send"发送数据

文件下载

资源详情

[{"title":"(66个子文件2.11MB)Android实现Wifi数据传输","children":[{"title":"WifiConnection","children":[{"title":".project <span style='color:#111;'>850B</span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'>563B</span>","children":null,"spread":false},{"title":"lint.xml <span style='color:#111;'>53B</span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"wificonnection","children":[{"title":"sendreceive","children":[{"title":"MyTimerCheck.java <span style='color:#111;'>1.36KB</span>","children":null,"spread":false},{"title":"WifiAdmin.java <span style='color:#111;'>13.30KB</span>","children":null,"spread":false},{"title":"Constant.java <span style='color:#111;'>293B</span>","children":null,"spread":false},{"title":"QuickTransferActivity.java <span style='color:#111;'>8.60KB</span>","children":null,"spread":false},{"title":"WifiApAdmin.java <span style='color:#111;'>5.52KB</span>","children":null,"spread":false}],"spread":true},{"title":"LogUtil.java <span style='color:#111;'>4.07KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'>1.53KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.48KB</span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'>334B</span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'>376B</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":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'>698B</span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'>1.42KB</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":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>12.22KB</span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'>381B</span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'>231B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>697B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>220B</span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'>391B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"wificonnection","children":[{"title":"BuildConfig.java <span style='color:#111;'>168B</span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'>2.91KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'>972.06KB</span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'>475B</span>","children":null,"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":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'>40.89KB</span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"wificonnection","children":[{"title":"R$layout.class <span style='color:#111;'>455B</span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'>455B</span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'>485B</span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'>361B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>431B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"sendreceive","children":[{"title":"QuickTransferActivity$3.class <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"Constant.class <span style='color:#111;'>499B</span>","children":null,"spread":false},{"title":"WifiAdmin$1.class <span style='color:#111;'>1.63KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity$2$1.class <span style='color:#111;'>1.95KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity$1.class <span style='color:#111;'>1.27KB</span>","children":null,"spread":false},{"title":"WifiAdmin$2.class <span style='color:#111;'>860B</span>","children":null,"spread":false},{"title":"WifiApAdmin.class <span style='color:#111;'>4.35KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity$2.class <span style='color:#111;'>1.74KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity.class <span style='color:#111;'>4.88KB</span>","children":null,"spread":false},{"title":"WifiApAdmin$1.class <span style='color:#111;'>1.24KB</span>","children":null,"spread":false},{"title":"MyTimerCheck$1.class <span style='color:#111;'>1.35KB</span>","children":null,"spread":false},{"title":"WifiAdmin.class <span style='color:#111;'>10.79KB</span>","children":null,"spread":false},{"title":"MyTimerCheck.class <span style='color:#111;'>1.68KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity$Receiver.class <span style='color:#111;'>2.69KB</span>","children":null,"spread":false},{"title":"QuickTransferActivity$Sender.class <span style='color:#111;'>2.53KB</span>","children":null,"spread":false}],"spread":false},{"title":"R$id.class <span style='color:#111;'>603B</span>","children":null,"spread":false},{"title":"LogUtil.class <span style='color:#111;'>4.18KB</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>753B</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>496B</span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'>412B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>1.53KB</span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-1004bd629acc5478876146fcd9d0db53.jar <span style='color:#111;'>334.73KB</span>","children":null,"spread":false},{"title":"ConnectWifi-00155d2b296a4ef2044c167840f7dad0.jar <span style='color:#111;'>33.91KB</span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'>120B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>5.82KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>3.04KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>17.47KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>9.14KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"WifiConnection.apk <span style='color:#111;'>422.59KB</span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'>1.12MB</span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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