Hi, Use AsyncTask for your scenario. For downloading image use doInBackground() in AsyncTask.
Check, http://developer.android.com/reference/android/os/AsyncTask.html Thanks On Nov 30, 4:24 am, Noooooooob <[email protected]> wrote: > This is a basic question, but frustrating me. > > I have an imageview that I want to populate with a gif loaded from the > internet. > > However, I don't want the UI thread to be tied up waiting for the gif > to load. > > If I create a separate thread and call the setBitMapImage method on > the View, I get an exception that I am not calling from the owning > thread (which, presumably, is the UI thread). > > So... what do I do? -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

