[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-31 Thread RAJESH RAJARAM
Hi, But actually ur saying that to use the Pull Parser right? I can't use pull parser because my responds Xml have change by time by time. So, using DOM parser you have any Idea??? That *Document doc = db.parse(inStream); *this the line i'm getting the error. Rajesh Rajaram -- You received

[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-31 Thread Mek Rama
Hello Bhaumik Thaker, You need execute the code in a thread. For example use asynctask and update the UI thread if required. You may need to use Handler on main thread to execute async task so that it works in 4.x version and lower versions. regards On Wednesday, May 16, 2012 3:54:29 PM

[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-31 Thread Mek Rama
Hello Bhaumik Thaker, You need execute the code in a thread. For example use asynctask and update the UI thread if required. You may need to use Handler on main thread to execute async task so that it works in 4.x version and lower versions. regards On Wednesday, May 16, 2012 3:54:29 PM

[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-31 Thread RAJESH RAJARAM
Yes finally got... Here the solution... http://androidbridge.blogspot.in/2012/04/getelementsbytagname-returns-null-in.html Rajesh Rajaram -- 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] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-31 Thread G. Blake Meike
Do you have more information on this problem? I tried to reproduce it and could not do so. The following works as I would expect, parsing correct XML and generating error messages on malformed XML on emulators running ICS (4.0.4) and HC (3.2). G. Blake Meike Marakana The second edition of

Re: [android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-29 Thread Bhaumik Thaker
i have done a simple solution.. I have find the root data/data data1/data1 /root from the xml string and get data from that element(root) to end element(/root) using substring and parse that substring...its working fine for me for all

Re: [android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-28 Thread RAJESH RAJARAM
Hi Bhaumik Thaker, I too suffered by the same error but for me its running upto 3.0... Only 4.0 making the problem. If u got the solution please post it here. i'm searching the solution last 5 days :(* * Rajesh Rajaram -- You received this message because you are subscribed to the

Re: [android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-17 Thread Bhaumik Thaker
Now it will throws an Exception == org.xml.sax.SAXParseException: Unexpected token (position:TEXT SelectResponse{S...@1:1179 in java.io.StringReader@412b2e10) i will try to solve this exception but it will not be solved. If i run this same code on android 2.2 it will works fine.. On

[android-developers] Re: XML parseing working in android 2.2 but not in android 4.0

2012-05-16 Thread Jonathan S
Which errors? On Wednesday, May 16, 2012 6:24:29 AM UTC-4, Bhaumik Thaker wrote: Hello All, i have a problem i have parse the data using DOM parser in android 2.2 but it will not work in higher version of 2.2. I have use the khop to fetch the response from webservice... It will