Evan Ruff wrote:
> Further clouding the matter is the different
> Android SDKs out there that seem to have different levels of support
> for each.

No, they have stayed fairly consistent since Android 1.0 last fall. You
have three XML parsing options (DOM, SAX, and XmlPullParser) but no XML
encoding options. JSON (org.json.*) lets you generate and parse.

However, neither work directly with POJOs, any more than they do outside
of Android. In either case, you need to serialize/deserialize your POJOs
to/from XML or JSON constructs.

You, of course, are not limited to these. For example, I've used
Thrift's serialize/deserialize code, even if I skipped their RPC layer
in favor of simpler HTTP REST-ish operations.

You have not inquired about HTTP, but there is the standard
HttpUrlConnection, along with Apache's HTTPClient.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to