• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

How to create a sequence of pictures

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi eveyone!
I'm doing an application in which I have to show a sequence of pictures: The sequence is the follow:

1. A red X has to be shown for more or less 400 milliseconds;
2. An image called "Screenshot" has to be shown for more or less 500 milliseconds;
3. An image called "Noise" has to be shown for more or less 50 milliseconds;
4. The "Noise" image disappear to make space for an EditText.



Now, I have to repeat this sequence for a specific number of times. How can I do that? Do I have to use a loop?
Thanks!
 
Damiano Fossa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've updated the code:


But, if I have 5 pictures, it shows the first, the third and the fifth image. Why? Am I doing something wrong the index?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic