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 [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

