调用webservice例子 查询手机号归属地 soap协议的传xml
文件大小: 75k
源码售价: 10 个金币 积分规则     积分充值
资源说明:public void onClick(View v) { String mobile = mobileText.getText().toString(); InputStream inStream = this.getClass().getClassLoader().getResourceAsStream("mobilesoap.xml"); try { addressView.setText(MobileInfoService.getMobileAddress(inStream, mobile)); } catch (Exception e) { Log.e(TAG, e.toString()); Toast.makeText(MainActivity.this, "查询失败", 1).show(); } }
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。