In an Android application, how do you start a new activity (GUI) when a button in another activity is clicked, and how do you pass data between these two activities?
You can try this code:
Intent myIntent = new Intent(); FirstActivity.this.SecondActivity(myIntent);