android.intent.action.view vs android.intent.action.MAIN code example Example: intent android Intent intent = new Intent(MainActivity.this,Activity.class);