首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一种简单的安卓客户端

一种简单的安卓客户端

  • 资源大小:95.81 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 安卓 客户端 简单

资 源 简 介

DroidSoapclient facilitates the development of Android applications that communicate with Web Services. Used in conjunction with the tool KSOAP2, developer you will not have much more work. Enjoy and contribute. A example: ``` /*Follow the method "soma" in Servico.jws published in AXIS: * public class Servico { public String soma(int valor1, int valor2) { int result = valor1 + valor2; return String.valueOf(result); } }*/ package br.com.android; import br.com.android.webservice.client.SoapClient; import android.app.Activity; import android.app.AlertDialog; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class AppSoma extends Activity { /** Called when the activity is first created. */ EditText ednumero1, ednumero2; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);
VIP VIP
0.183725s