Yes, works fine on the device. Try to put those two lines in the beginning of your characters(...) method
String chars = new String(ch, start, length).trim(); if (chars.equals("")) return; 2011/7/14 vani reddy <vani.reddy.bl...@gmail.com> > Hi Filip, > Did you mean to do this, > > if(qName.equalsIgnoreCase("image_url") || > localName.equalsIgnoreCase("image_url")); > { > System.out.println("IMAGE URL :::::: "+currentValue); > } > in the endElement method?? > For me its not working on the device.Did u try running this code on the > device?? > > > On Thu, Jul 14, 2011 at 5:56 PM, Filip Havlicek > <havlicek.fi...@gmail.com>wrote: > >> Add || localName.equalsIgnoreCase("image_url") to the other image_url >> condition, otherwise works fine for me. >> >> >> 2011/7/14 vani reddy <vani.reddy.bl...@gmail.com> >> >>> Hi Arun, >>> Its not the picture its the image_url i.e a string value.. >>> >>> >>> On Thu, Jul 14, 2011 at 4:57 PM, arun kumar <hariarun2...@gmail.com>wrote: >>> >>>> >>>> hello vani ithink that picture got corrupted otherwise change the >>>> picture extension like png to jpg or jpg to png. then it works fine >>>> >>>> On Thu, Jul 14, 2011 at 4:49 PM, Filip Havlicek < >>>> havlicek.fi...@gmail.com> wrote: >>>> >>>>> Can't help unless you show the code. >>>>> >>>>> >>>>> 2011/7/14 vani reddy <vani.reddy.bl...@gmail.com> >>>>> >>>>>> Hi, >>>>>> The same code is working fine on android emulator but its not working >>>>>> on the device.. >>>>>> >>>>>> >>>>>> On Thu, Jul 14, 2011 at 4:23 PM, Filip Havlicek < >>>>>> havlicek.fi...@gmail.com> wrote: >>>>>> >>>>>>> You probably have some error in your code. >>>>>>> >>>>>>> 2011/7/14 vani reddy <vani.reddy.bl...@gmail.com> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ---------- Forwarded message ---------- >>>>>>>> From: vani reddy <vani.reddy.bl...@gmail.com> >>>>>>>> Date: Thu, Jul 14, 2011 at 4:14 PM >>>>>>>> Subject: Parsing issue >>>>>>>> To: android-developers@googlegroups.com >>>>>>>> >>>>>>>> >>>>>>>> Hi friends, >>>>>>>> When i am parsing the xml from the attached file and printing the >>>>>>>> image urls in the log.below is the log: >>>>>>>> The second imageurl is only half printed. >>>>>>>> >>>>>>>> IMAGE URL >>>>>>>> http://magazine.ateemo.com/uploads/issue_images/1/10-1.jpg?1307133081 >>>>>>>> IMAGE URL http://magazine.ateemo. >>>>>>>> IMAGE URL >>>>>>>> http://magazine.ateemo.com/uploads/issue_images/3/16-1.jpg?1307133115 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Why is this like this??Please reply.. >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> Vani Reddy >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> Vani Reddy >>>>>>>> >>>>>>>> -- >>>>>>>> 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, send email to >>>>>>>> android-developers+unsubscr...@googlegroups.com >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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, send email to >>>>>>> android-developers+unsubscr...@googlegroups.com >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Vani Reddy >>>>>> >>>>>> -- >>>>>> 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, send email to >>>>>> android-developers+unsubscr...@googlegroups.com >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/android-developers?hl=en >>>>>> >>>>> >>>>> -- >>>>> 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, send email to >>>>> android-developers+unsubscr...@googlegroups.com >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/android-developers?hl=en >>>>> >>>> >>>> -- >>>> 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, send email to >>>> android-developers+unsubscr...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/group/android-developers?hl=en >>>> >>> >>> >>> >>> -- >>> Regards, >>> Vani Reddy >>> >>> -- >>> 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, send email to >>> android-developers+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> >> >> -- >> 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, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Regards, > Vani Reddy > > -- > 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, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en