int
arr[]={R.drawable.images1,R.drawable.images2,R.drawable.images3,R.drawable.images4};

Thread thread=new Thread(){
                        public void run()
                        {
                        try {
                                for(int a=0;a<arr.length;a++)
                                {
 
imageView.setImageResource(arr[a]);
                                        System.out.println("value of a
= "+ a);
                                        sleep(10);
                                }
                        }

i want to show the images one after another on ImageView, but unable
to run successfully, it shows only either first image or last image, i
increased the size of sleep() too, plz if u hv some idea about this
then reply me back, its urgent.

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