Android通过POST和GET向服务器发送数据

上传者: lht0211 | 上传时间: 2021-04-23 20:38:32 | 文件大小: 445KB | 文件类型: ZIP
android通过POST和GET向服务器发送数据.包括使用普通HTTP协议发送和使用android内置的HttpClient进行发送。

文件下载

资源详情

[{"title":"( 56 个子文件 445KB ) Android通过POST和GET向服务器发送数据","children":[{"title":"android通过POST和GET向服务器发送数据","children":[{"title":"模拟服务器端","children":[{"title":"webservice","children":[{"title":".project <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"cn","children":[{"title":"kafei","children":[{"title":"servlet","children":[{"title":"ListServlet.java <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"ManageServlet.java <span style='color:#111;'> 911B </span>","children":null,"spread":false}],"spread":true},{"title":"filter","children":[{"title":"EncodingFilter.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"EncodingHttpServletRequest.java <span style='color:#111;'> 822B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"NewsService.java <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"NewsServiceImpl.java <span style='color:#111;'> 500B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pojo","children":[{"title":"News.java <span style='color:#111;'> 669B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"cn","children":[{"title":"kafei","children":[{"title":"servlet","children":[{"title":"ManageServlet.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ListServlet.class <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"filter","children":[{"title":"EncodingHttpServletRequest.class <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"EncodingFilter.class <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"impl","children":[{"title":"NewsServiceImpl.class <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"NewsService.class <span style='color:#111;'> 226B </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"News.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"WebContent","children":[{"title":"WEB-INF","children":[{"title":"page","children":[{"title":"news.jsp <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"newsjson.jsp <span style='color:#111;'> 94B </span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"jstl.jar <span style='color:#111;'> 20.20KB </span>","children":null,"spread":false},{"title":"standard.jar <span style='color:#111;'> 384.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1001B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"android客户端","children":[{"title":"newsmanage","children":[{"title":".project <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"cn","children":[{"title":"kafei","children":[{"title":"manage","children":[{"title":"R$string.class <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"NewsmanageActivity.class <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 438B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"NewsService.class <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"newsmanage.apk <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 10.78KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 7.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 798B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"cn","children":[{"title":"kafei","children":[{"title":"manage","children":[{"title":"NewsmanageActivity.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"NewsService.java <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 412B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"cn","children":[{"title":"kafei","children":[{"title":"manage","children":[{"title":"R.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • wzjtsxtt :
    不错的案例, 学习了!
    2020-08-11
  • 喝水治百病 :
    不错的资源!学习了
    2015-07-20
  • YoYo_12 :
    代码可以参考,可以用来学习
    2015-04-13
  • czq1018 :
    用来学习还是不错了
    2015-01-02
  • 我住隔壁我姓王a :
    用来学习还是不错了
    2014-11-25
  • Kobe-Bean-Bryant :
    可以用,谢谢分享
    2014-11-22
  • infoxydfile :
    很好的资源,参考着可以直接用
    2014-10-19
  • 小鬼头1111 :
    代码可以参考,但是真要搭建这个运行环境不容易
    2014-10-15
  • 没有点击率 :
    用来学习还是不错了
    2014-09-29
  • 二黑狗子 :
    不错,借用借用一下
    2014-09-24

免责申明

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