Tutorial step by step with free source code: how to make a slideshow (display pictures one after another), with ViewFlipper starting only on your click on screen, in Android Studio version 1.5.1.
Create New Project with Application name: ViewFlipper on Click; Minimum SDK: API 10 – Android 2.3.3 (Gingerbread).
Add 5 pictures from your computer, in project folder app->res->drawable: picture1.jpg, picture2.jpg, picture3.jpg, picture4.jpg, picture5.jpg.
In app->res->layout->activity_main.xml add 5 ImageView inside of ViewFlipper and complete the code:
Run your app in Emulator and see how the imagesbegin to changeafter another, but only afteryou have clickedon the screen.Watch the Video Tutorial:
Download free ViewFlipper.apkapplication from hereand install it on your device to see how works.
For furtherquestionsleave a message.