I am developing an Android application where additional content is downloaded at user request. This includes images, sounds and classes. What I need is to load those resources and classes at runtime and use them. Is there a way I can do this?
Edit: I need to do this for Android 2.2 or higher.
Take a look at AsyncTask and Loaders API. This will provide you the facilities to download images, resources… in a background thread.
http://developer.android.com/reference/android/os/AsyncTask.html
http://developer.android.com/guide/components/loaders.html