How to open two different activities with single button?
<p>I have two register activity of corporate join and fresher join, but I make single login activity.</p>

<p>My question is that when I log in from corporate register activity, the corporate profile activity will open, but when we log in from fresher join activity, the fresher profile activity will open.</p>

<p>But the login page is common for both join activity.</p>