Hi Filip,
I tried implementing what u said ,bu its not working..Can u please send me
the MyXMLHandler.java file?

On Thu, Jul 14, 2011 at 6:32 PM, Filip Havlicek <[email protected]>wrote:

> 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 <[email protected]>
>
>> 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 <[email protected]
>> > wrote:
>>
>>> Add || localName.equalsIgnoreCase("image_url") to the other image_url
>>> condition, otherwise works fine for me.
>>>
>>>
>>> 2011/7/14 vani reddy <[email protected]>
>>>
>>>> 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 <[email protected]>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 <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Can't help unless you show the code.
>>>>>>
>>>>>>
>>>>>> 2011/7/14 vani reddy <[email protected]>
>>>>>>
>>>>>>> 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 <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> You probably have some error in your code.
>>>>>>>>
>>>>>>>>   2011/7/14 vani reddy <[email protected]>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------- Forwarded message ----------
>>>>>>>>> From: vani reddy <[email protected]>
>>>>>>>>> Date: Thu, Jul 14, 2011 at 4:14 PM
>>>>>>>>> Subject: Parsing issue
>>>>>>>>> To: [email protected]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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
>>>>>>>>> [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
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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,
>>>>>>> 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
>>>>>>> [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
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>>
>>>>>
>>>>>  --
>>>>> 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,
>>>> 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
>>>> [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
>>>>
>>>
>>>  --
>>> 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,
>> 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 [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
>>
>
>  --
> 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,
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 [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

Reply via email to