On Fri, Jul 1, 2011 at 2:05 PM, Robin Talwar <[email protected]>wrote:
> use arrayList of some getter/setter class > create start element and end element methods in your parser class which > extends default handler > > On Fri, Jul 1, 2011 at 1:55 PM, NaveenShrivastva < > [email protected]> wrote: > >> >> >> On Fri, Jul 1, 2011 at 12:54 PM, naveen kumar < >> [email protected]> wrote: >> >>> Hi All Android developer, >>> >>> >>> Till now i am not getting perfect solution for >>> >>> === >>> >>> i am getting large server response in XML format.i am not able to save >>> that all response in String for parser. >>> >>> getting Outofmemory exception, so i am taking line line by line >>> response that works . >>> >>> >>> but i want to handle bulk of response fastly , now it's take 10 >>> minutes. >>> >>> Please help me how to handle bulk of XML-response from server. >>> >>> very urgent need for me.. >>> >>> >>> Thanks, >>> >>> -- >>> 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 >> >> >> try { >> >> >> inStream = new DataInputStream ( conn.getInputStream() ); >> >> >> String str; >> >> while (( str = inStream.readLine()) != null) >> >> >> { >> Log.e("Debug","Server Response "+str); >> >> >> } >> inStream.close(); >> >> } >> >> catch (IOException ioex){ >> Log.e("Debug", "error: " + ioex.getMessage(), ioex); >> >> >> } >> >> >> This code prints line by line response but not printing bulk of response >> help me >> >> >> -- >> 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 >> > > > > -- > Regards > Abhishek Talwar > 9953395712 > > -- > 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 > My need is not able to full fill by getter setter because any case tag will be change then? i am asking how to handle large bulk of response if u have not idea then please not reply first read the question. Bulk of XML of response i want use pull parser for parse i want to assign string data to pull parser how to handle that string data XML response .OKKKKK There is not parser issue first issue is that one how to store bulk of data response in java. if knowledge then reply please i dont want use this site for time pass. Plz reply perfect solution otherwise i am trying... -- 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

