访问web接口时,把获得的对象转换为STRING时出现异常,不知道怎么回事SoapSerializationEnvelope envelope;
//CharSequence str;
String str;......Object Response = envelope.getResponse();
SoapObject result = (SoapObject) envelope.bodyIn;
// String str = result.toString();
Object o = result.getProperty(0);
str= o.toString();
解决方案 »
- 利用android API扩展语音识别和说话人识别的问题,请教下高手,急!
- 本人开发一个SQLite/Content Provider开源库,请大家多多支持。
- android怎么获取状态栏的高度?
- android--ImageView(context)的疑问?
- 各位android的开发者是如何看待j2me的?
- ListFragment中onListItemClick没有响应
- 如何利用WIFI实现ANDROID与PC之间通信
- Android getLastKnowLocation null
- android OTG的问题
- 如何下载android SDK?
- android image crop 非intent 的方式求教
- 求助:现有网站怎么来创建安卓应用程序
改成SoapPrimitive o = result.getProperty(0);
就可以了