简体   繁体   中英

.Net XML reader equivalent in Android?

Hi im working on a WCF service that will return messages in xml to mobile phones, I have used Xml reader in the past to go through nodes and append content to new classes on windows phones. Is there an equivalent in Java android that will preform the same tasks as Xml reader? (with relevance to my above statement)

Take a look at http://developer.android.com/reference/javax/xml/parsers/package-summary.html

Also, may I suggest that you take a look a JSon, which in many cases is more lightweight than XML and hence prefered for mobile devices; in JSON you can use, for example, use GSON as a parser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM