开发者

What is the equivalent parser for TouchXML in Android?

开发者 https://www.devze.com 2023-01-27 09:00 出处:网络
In my iPhone project I was using the TouchXML parser. I want t开发者_Go百科o develop that project in Android. I am new to Android, can anyone suggest a parser I should use. I just need to read XML and

In my iPhone project I was using the TouchXML parser. I want t开发者_Go百科o develop that project in Android. I am new to Android, can anyone suggest a parser I should use. I just need to read XML and have no need of writing.


Android comes with all standard Java XML parsers (except some exotic XPath in <2.2 IIRC). So you can learn standard Java XML parsing techniques and should be good to go.

Also take a look here:

  1. http://developer.android.com/reference/org/xmlpull/v1/package-summary.html
  2. http://developer.android.com/reference/javax/xml/package-summary.html

You need to watch closely which Android version provides which XML parsers & classes. We ended up including a custom .jar file to support certain operations.

0

精彩评论

暂无评论...
验证码 换一张
取 消