Android: Make a Button Switch Activities
This is a short tutorial on how to give a button the functionality to switch from one activity to another when it is pressed in Android. For this tutorial, we assume you have already created the button and that you are coding in Java. The example below was tested in Eclipse, many factors such as alternative environments and Android OS levels may effect the success of implementation.
Here’s a code snippet:(https://gist.github.com/SIRHAMY/7551444)
Text after link.