[英]Java xml parser compatible with android
I am working on getting some of the code within this project to run as a Java Application instead of an Android app: https://code.google.com/p/pandoroid/ 我正在努力使该项目中的某些代码作为Java应用程序而不是Android应用程序运行: https : //code.google.com/p/pandoroid/
I am working on a Pandora client and would like to use the api developed within the project, however it seems to rely on some android dependencies when it comes to the xml parser. 我正在使用Pandora客户端,并且想使用该项目中开发的api,但是在涉及到XML解析器时,它似乎依赖于一些android依赖项。 can anyone recommend a library that would be compatible with minimum code editing? 谁能推荐一个与最小代码编辑兼容的库?
errors revolve around: 错误围绕:
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import org.xmlpull.v1.XmlSerializer;
(I actually solved these by googling and finding the libraries) (实际上,我通过谷歌搜索和查找库解决了这些问题)
and more importantly 更重要的是
import android.util.xml;
Thanks in advance! 提前致谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.