explain your requirements please... from what i can get from your subject, what you could do is have an async task download images and update an imageView. Call that imageView from a thread that sleeps for 5 seconds in a while loop... something rughly like this (it has a Lot of errors, wrote it just to give you an idea, hope it helps)
public class ImageSetter extends Activity{ public void onCreate(){ imageView = (ImageView) findViewById(R.id.myImageView); while(true){ new MyAsyncDownloader(url).execute(); Thread.sleep(5000); } } private class MyAsyncDownloader extends ASyncTask<Void,Void,Void>{ private Bitmap bitmap; private String url; public MyASyncDownloader(String url){ this.url = url; } doInBackground(){ bitmap = downloadImage(url); } onPostExecute(){ // set bitmap as background of imageView } } } 2012/2/4 Salih Selametoglu <barbooni...@gmail.com> > hello my friends, > > i wanna create image every five secends and destroy it after 3 seconds. > > How can i do it? can you help me? > > -- > Salih SELAMETOĞLU > Teknopalas RFID Yazılım Çözümleri / Yazılım Uzman Yardımcısı > İstanbul Üni. Bil. Müh. 4. Sınıf > http://www.linkgizle.com > http://selametoglu.blogspot.com/ > http://slideme.org/application/light-show (first application) > > -- > 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