problem loading and parsing xml from resources

后端 未结 1 1158
傲寒
傲寒 2021-01-24 12:12

I´m have written a parser wich parses a xml file from a from a HttpURLConnection. This works fine.

Problem: I need to rewrite this so that the xml file is loaded from l

相关标签:
1条回答
  • 2021-01-24 12:45

    Found the answer.. When the file was i the res/xml folder, the inputstream showed a lot of invalid characters. When i put it in the res/raw folder it worked fine.

    0 讨论(0)
提交回复
热议问题