[android-developers] XML or JSON in Android

2011-01-30 Thread Ranveer
Hi All, I am developing an Android application. Following is my scenario: 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. Is there any other way so I can make it more

[android-developers] XML or JSON in Android

2011-01-28 Thread Ranveer
Hi All, I am developing an Android application. Following is my scenario: 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. Is there any other way so I can make it more

Re: [android-developers] XML or JSON in Android

2011-01-28 Thread Kumar Bibek
JSON is lighter, and is simple. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 28, 2011 at 1:17 PM, Ranveer ranveer.s...@gmail.com wrote: Hi All, I am developing an Android application. Following is my scenario: 1. I parsing XML in android which is hosted

Re: [android-developers] XML or JSON in Android

2011-01-28 Thread Miguel Morales
You can also zip the data on the server side and decompress it on the data side. Might save some time. If you use DefaultHttpClient you can use headers (ENCODING_GZIP) so it does it automatically. Also, it seems like your application will be wasting network and battery by checking the server so