Android Switching Between Activities – Example

timthumb

You may also like...

  • Hbissle

    Hi,
    I’ve tried the tut but it references Activity1.class / Activity2.class in your java files and my code has an error because I don’t have them in this project can you please advise where to get them. Or how (and in what folder) to create them?

    Thank you.

    HR

    • http://128.199.224.11/ Raj Amal

      You must create the JAVA classes in “src” folder.

  • A Toggler WannaBe

    The above code doesn’t “switch between activities”. It just creates instance after instance of the activities. I’m trying to switch between activities.

  • carterson2

    Raj, Maybe if you included a zip file, people could try easier. Thanks for posting!