资源说明: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();
}
}
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。