---

Working with XML and Java on Android

[ Thanks to An Anonymous Reader for
this link. ]

“One of the greatest strengths of the Android platform is that
it leverages the Java programming language. The Android SDK does
not quite offer everything available to your standard Java Runtime
Environment (JRE,) but it supports a very significant fraction of
it. The Java platform has supported many different ways to work
with XML for quite some time, and most of Java’s XML-related APIs
are fully supported on Android. For example, Java’s Simple API for
XML (SAX) and the Document Object Model (DOM) are both available on
Android. Both of these APIs have been part of Java technology for
many years. The newer Streaming API for XML (StAX) is not available
in Android. However, Android provides a functionally equivalent
library. Finally, the Java XML Binding API is also not available in
Android. This API could surely be implemented in Android. “


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis