2012年11月2日
摘要: WebService是一种基于SOAP协议的远程调用标准。通过WebService可以将不同操作系统平台,不同语言,不同技术整合到一起。在AndroidSDK中并没有提供调用WebService的库,因此,需要使用第三方SDK来调WebService。本例使用了比较常用的KSOAP2,可以从如下地址下载Android版的KSOAP2 :http://code.google.com/ksoap2—android/downloads/listpackage com.ztt.spm.net;import org.ksoap2.SoapEnvelope;import org.ksoap2.seria. 阅读全文
posted @ 2012-11-02 17:59 诡计的不老歌 阅读(2101) 评论(0) 推荐(0) 编辑
摘要: android应用程序,由一到多个Activity组成.每个Activity没有很紧密的联系,因为我们可以在自己的程序中调用其它Activity,特别是调用自己的代码之外生成的Activity,比如android提供的发短信或者打电话的Activity. Intent call = new Intent(Intent.ACTION_CALL,Uri.parse("tel:"+phonenumber); startActivity(call); Intent sms = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto 阅读全文
posted @ 2012-11-02 17:57 诡计的不老歌 阅读(1409) 评论(0) 推荐(0) 编辑