[英]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.