[android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread naveen kumar
i am getting large response of https server. i am not able to store complete response in string variable, there fore i am witting the file by using fileoutputstrem, it's takes more time for write on file and parse them. Please fix this issue in android also. thanks, Naveen Kumar -- You

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread Kumar Bibek
Parse the stream using XMLPullParser if it's an XML. If not, then, there is not other way. Saving to string first for such a large response is not good. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jun 22, 2011 at 7:35 PM, naveen kumar

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread NaveenShrivastva
On Wed, Jun 22, 2011 at 7:37 PM, Kumar Bibek coomar@gmail.com wrote: Parse the stream using XMLPullParser if it's an XML. If not, then, there is not other way. Saving to string first for such a large response is not good. *Thanks and Regards, Kumar Bibek* *

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread Kumar Bibek
Are you parsing stream or string? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jun 22, 2011 at 7:45 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Wed, Jun 22, 2011 at 7:37 PM, Kumar Bibek coomar@gmail.com wrote: Parse

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread NaveenShrivastva
On Wed, Jun 22, 2011 at 7:48 PM, Kumar Bibek coomar@gmail.com wrote: Are you parsing stream or string? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jun 22, 2011 at 7:45 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote:

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread Kumar Bibek
IF the data is big, it would of course take time. You could do some debugging, to figure out which part of your code is taking so much time. That would help you in figuring out the actual problem. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On

Re: [android-developers] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread TreKing
On Wed, Jun 22, 2011 at 9:27 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: But taking more time approx 10minutes. You're reading a huge chunk of data, writing it to a file, then turning around and reading the data back a second time. Why would this be fast? i want reduce time