XML is very heavy...
use JSON or binary text to store something like config files ^^
--
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,
Please note also that c2dm is proposed as a notification of new data
available on the server (or at least, it is what I understood :-) ). There
is a size limit of the data that can be bundled in the message.
The c2d message should only trigger your app to start the fetching (and I
wouldn't
I'm going to contribute very unorthodox two cents on this.
The original poster wrote that his app does this:
1. I parsing XML in android which is hosted on server (same like RSS
feed).
2. It takes around 10 second depend on network speed.
3. XML refresh on server in every 15 minutes.
I find JSON faster and much easier to use. Easier to produce the data
as well :-)
Stephan
On 28 Jan., 20:20, Kumar Bibek coomar@gmail.com wrote:
JSON is lighter, and is simple. :)
Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
On Fri, Jan 28, 2011 at 1:17 PM,
C2DM sounds like the right way to do this. I am interesting to know if the
use of C2DM is completely free from the server to the google servers? That
is pretty nice if google provides those servers for free to all C2DM
developers.
On Sun, Jan 30, 2011 at 7:37 AM, Stephan Wiesner
I have used JSON as the transport encoding in an enterprise app, and it has
been easy to use and effective at cutting down communication size from XML.
As a side note, something you may want to consider is using C2DM, as polling
every 15 minutes will destroy battery life, suck up bandwidth, and
6 matches
Mail list logo