How to parse xml file located on server?

Thanks
Kavitha

On Thu, Feb 25, 2010 at 4:06 PM, kavitha <kavith...@gmail.com> wrote:

> Actually I could write file to local cache using InputStreamReader.
>
> I am downloading bytes successfully and could write to a file,,,
>
> But again if i try to open file and read it,,It is throwing
> NullPointerException for file.
>
>
> On Thu, Feb 25, 2010 at 4:00 PM, Upendra Chintala <
> upendra.chint...@gmail.com> wrote:
>
>> A simple search on google would have helped you.
>>
>>
>> http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
>>
>> Upendra
>>
>>
>> On Thu, Feb 25, 2010 at 3:55 PM, kavitha <kavith...@gmail.com> wrote:
>>
>>> Any examples please
>>>
>>>
>>> On Thu, Feb 25, 2010 at 3:53 PM, Upendra Chintala <
>>> upendra.chint...@gmail.com> wrote:
>>>
>>>> You can use HttpURLConnection object to read the file as stream and then
>>>> store it locally.
>>>>
>>>> Thanks,
>>>> Upendra
>>>>
>>>>
>>>> On Thu, Feb 25, 2010 at 3:49 PM, kavitha <kavith...@gmail.com> wrote:
>>>>
>>>>> first download and keep the file
>>>>>
>>>>> then parse it,,,,
>>>>>
>>>>> i need to download bcoz when the application launches second time,,i
>>>>> need to use stored file without re-downloading
>>>>>
>>>>>
>>>>> On Thu, Feb 25, 2010 at 3:47 PM, Sandeep Phansekar <
>>>>> sandeep.phanse...@gmail.com> wrote:
>>>>>
>>>>>> want to just download ? or parse the file ?
>>>>>> --
>>>>>> Regards
>>>>>> Sandeep
>>>>>>
>>>>>> On Thu, Feb 25, 2010 at 3:39 PM, kavitha <kavith...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Please tell how to download an xml file from url connection in
>>>>>>> android?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Kavitha
>>>>>>>
>>>>>>> --
>>>>>>> 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<android-developers%2bunsubscr...@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<android-developers%2bunsubscr...@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<android-developers%2bunsubscr...@googlegroups.com>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Upendra
>>>>
>>>>  --
>>>> 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<android-developers%2bunsubscr...@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<android-developers%2bunsubscr...@googlegroups.com>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> Regards,
>> Upendra
>>
>> --
>> 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<android-developers%2bunsubscr...@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

Reply via email to