Maybe you can find this useful:

http://stackoverflow.com/questions/3505930/make-in-http-request-with-android

<http://stackoverflow.com/questions/3505930/make-in-http-request-with-android>In
the AsyncTask, you can also implement a constructor so you can pass the
context or whatever you need :)

2011/6/9 Duskox <dus...@gmail.com>

> Thanks for all the answers, at the moment it works but yes I will look
> into the subject of rewriting my code so it is more in line with OO
> concept.
>
> @Streets of Boston: What I am doing is filling a database from an XML
> source. So I don't have any resources that I need to use. Just what
> XML file gives me I store in a database. I am building a offline
> street map viewer using openstreetmap and so I load the map tiles, and
> some markers on the map when there is connectivity to internet so
> later when there is no internet connection I have everything stored on
> my phone.
>
> --
> 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

Reply via email to