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?
Intent iinent= new Intent(Homeactivity.this,secondactivity.class); startActivity(iinent);