android override main activity with another activity code example
Example: intent jump to new activity
//Intent i = new Intent(getApplicationContext(), Second.class);
// startActivity(i);
//Intent i = new Intent(getApplicationContext(), Second.class);
// startActivity(i);