[android-developers] Re: Cost effectiveness of JSON in Android
I don't quite understand what you're asking. By "direct connection"
do you mean on the phone or over the web?
JSON is a valid (and pretty good) way to represent data regardless of
where it is or how it's being transmitted -- much more efficient to
generate and parse than XML, better integration with Java and C++, and
more "humane" for human reading/editing.
If your intent is to replace a direct DB-query-over-the-web setup with
one that's a bit more "arms length", you still need a way to represent
the data transmitted.
On Dec 20, 2:25 pm, Leon Moreyn-Android Development
<lmor...@earthcam.com> wrote:
> I am working on replacing JSON and direct connection to database. I
> know using direct connection to database is extremely costly in
> android since I need to call on much the java library to so. And the
> only replace for such costly processing would be to put the burden
> onto something else like a online website handling incoming data and
> sending outgoing results. I already have a though on how to implement
> this. But as for a replace of the JSON Objects I am not sure what
> options are available to me. Is there any thoughts on a substitution
> for JSON?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home