How to start an Activity on button click?
Please try as below Intent myIntent1 = new Intent(CurrentActivity.this, NextActivity.class); myIntent1.putExtra(“key”, value); //Optional parameters CurrentActivity.this.startActivity(myIntent1); Extras are retrieved on the other side via: @Override protected void onCreate(Bundle savedInstanceState1) { Intent intent = getIntent(); String...
Recent Comments