I'm trying to make an interactive book, where every page contains 2 images and 2 buttons. One image is animated on user touch (that's working fine) The buttons are "Back" and "Next", that's working fine too, but my problem is I have a sequence of 10 classes name one after another:
Class01 Class02 Class03... (Every class has a different animation)
So in class01, next button is always calling the next activity
public void Next(View v) {
Intent next = new Intent(this, next_page);
startActivity(next);
finish();
and closing the current one, which is Force Closing the app quite regularly. I'm new to android and I think my logic is pretty useless.
How can I implement this sequence?