首页 移动开发 Android     /    封装一个类搞定90%安卓客户端与效率器端交互

封装一个类搞定90%安卓客户端与效率器端交互

上传者: lk_blog | 上传时间:2023/4/14 18:50:14 | 文件大小:586KB | 文件类型:rar
封装一个类搞定90%安卓客户端与效率器端交互
本实例封装了一个处置安卓客户端与效率器端交互的多少个方式,对于中文乱码下场本实例也找到了处置方案.本例能够处置的场景如下:1.与效率器端交互json数据.2.Get方式与效率器端交互数据.3.Post方式与效率器端交互数据.4.HttpClient方式与效率器端交互数据.5.上传文件到效率器端.6.从效率器端下载文件.7.从效率器端读取文本文件.http://blog.csdn.net/lk_blog 本软件ID:4404383

文件下载

资源详情

[{"title":"(47个子文件586KB)封装一个类搞定90%安卓客户端与服务器端交互","children":[{"title":"AppServer","children":[{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>330B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"tgb","children":[{"title":"lk","children":[{"title":"demo","children":[{"title":"appserver","children":[{"title":"SynTxtDataServlet.java <span style='color:#111;'>991B</span>","children":null,"spread":false},{"title":"SynDataServlet.java <span style='color:#111;'>1.77KB</span>","children":null,"spread":false},{"title":"UploadFileServlet.java <span style='color:#111;'>3.06KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'>36B</span>","children":null,"spread":false}],"spread":true},{"title":"file.jpg <span style='color:#111;'>3.41KB</span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"tgb","children":[{"title":"lk","children":[{"title":"demo","children":[{"title":"appserver","children":[{"title":"UploadFileServlet.class <span style='color:#111;'>3.77KB</span>","children":null,"spread":false},{"title":"SynDataServlet.class <span style='color:#111;'>2.32KB</span>","children":null,"spread":false},{"title":"SynTxtDataServlet.class <span style='color:#111;'>1.78KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"commons-io-2.3.jar <span style='color:#111;'>178.37KB</span>","children":null,"spread":false},{"title":"commons-fileupload-1.2.2.jar <span style='color:#111;'>58.19KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"txtFile.txt <span style='color:#111;'>592B</span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'>834B</span>","children":null,"spread":false}],"spread":true},{"title":".mymetadata <span style='color:#111;'>300B</span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'>526B</span>","children":null,"spread":false},{"title":".myeclipse","children":null,"spread":false}],"spread":true},{"title":"AppClient","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'>165.86KB</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":"classes","children":[{"title":"com","children":[{"title":"tgb","children":[{"title":"lk","children":[{"title":"demo","children":[{"title":"model","children":[{"title":"Student.class <span style='color:#111;'>939B</span>","children":null,"spread":false}],"spread":true},{"title":"appclient","children":[{"title":"R$layout.class <span style='color:#111;'>415B</span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'>647B</span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'>428B</span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'>361B</span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'>580B</span>","children":null,"spread":false},{"title":"AppClientActivity.class <span style='color:#111;'>1.22KB</span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'>448B</span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"NetTool.class <span style='color:#111;'>10.99KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'>11.34KB</span>","children":null,"spread":false},{"title":"AppClient.apk <span style='color:#111;'>85.22KB</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;'>1.82KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"tgb","children":[{"title":"lk","children":[{"title":"demo","children":[{"title":"appclient","children":[{"title":"R.java <span style='color:#111;'>1.12KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"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":"tgb","children":[{"title":"lk","children":[{"title":"demo","children":[{"title":"model","children":[{"title":"Student.java <span style='color:#111;'>377B</span>","children":null,"spread":false}],"spread":true},{"title":"appclient","children":[{"title":"AppClientActivity.java <span style='color:#111;'>4.14KB</span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"NetTool.java <span style='color:#111;'>11.10KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'>845B</span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'>421B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"gson-2.2.1.jar <span style='color:#111;'>185.17KB</span>","children":null,"spread":false}],"spread":true},{"title":"project.properties <span style='color:#111;'>360B</span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'>899B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • a841974008:
    比较实用,值得学习。2019-09-11
  • anysilent:
    资源不错,就是在vs版本不一样,编译要研究下2018-08-18
  • tanyouliang:
    还没使用呢2017-10-09
  • 寂寞烧猪:
    做一回伸手党,运行报错,研究一下2017-03-09
  • android菜菜:
    真的很牛叉2016-10-11

免责申明

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