Android调用 C#WebService完整示例

上传者: liulimin3001 | 上传时间: 2022-11-08 20:42:22 | 文件大小: 450KB | 文件类型: RAR
该示例完整演示了通过android调用C#webservice的全部过程。 其中C#服务端包括webservice服务和通过C#调用webservice的过程源码。 Android客户端显示了手机端如何调用webservice的全过程。 例子虽简单,但是对初学者仍有很高的参考价值。 调试程序时修改相应的访问地址即可。

文件下载

资源详情

[{"title":"( 50 个子文件 450KB ) Android调用 C#WebService完整示例","children":[{"title":"Android调用 C#WebService完整示例","children":[{"title":"Android客户端","children":[{"title":"WebServiceForNet","children":[{"title":".project <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"Android","children":[{"title":"Webservice","children":[{"title":"R$string.class <span style='color:#111;'> 439B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"Main.class <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"Main$ButtonOnClickListener.class <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 429B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"WebServiceForNet.apk <span style='color:#111;'> 81.70KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 10.64KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 143.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"Android","children":[{"title":"Webservice","children":[{"title":"Main.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"jar","children":[{"title":"ksoap2-android-assembly-2.4-jar-with-dependencies.jar <span style='color:#111;'> 137.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 171B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 633B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"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;'> 410B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"Android","children":[{"title":"Webservice","children":[{"title":"R.java <span style='color:#111;'> 794B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"C#服务端","children":[{"title":"webserviceTest","children":[{"title":"Scripts","children":[{"title":"jquery-1.4.1.min.js <span style='color:#111;'> 70.24KB </span>","children":null,"spread":false},{"title":"jquery-1.4.1.js <span style='color:#111;'> 164.84KB </span>","children":null,"spread":false},{"title":"jquery-1.4.1-vsdoc.js <span style='color:#111;'> 237.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"App_WebReferences","children":[{"title":"localhost","children":[{"title":"Service1.disco <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"Service1.discomap <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"Service1.wsdl <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"web.config <span style='color:#111;'> 8.03KB </span>","children":null,"spread":false},{"title":"App_Data","children":null,"spread":false},{"title":"Default.aspx <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"Default.aspx.cs <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"WebService1","children":[{"title":"WebService1.csproj <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"WebService1.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"WebService1.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Web.config <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WebService1.csproj.FileListAbsolute.txt <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"WebService1.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WebService1.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Service1.asmx.cs <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"Service1.asmx <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"App_Data","children":null,"spread":false},{"title":"WebService1.csproj.user <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"WebService1.suo <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"WebService1.sln <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 258B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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