[英]difference in XML feeds something is crashing my android app
我正在为我的 android 应用程序使用测试 xml 提要,当我尝试自己的 xml 提要时,我的应用程序崩溃了。
测试饲料:
http://p-xr.com/xml/
我的饲料:
http://www.patriotsar.com/quotes.xml
我注意到当我(在浏览器中)查看测试提要时,没有 XML 格式或缺少。 但是当我查看测试提要时,它看起来像 html。
我正在使用以下方法获取 XML:
HttpPost httpPost = new HttpPost("http://www.patriotsar.com/quotes.xml");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.